MGCL V10
V10
MGCL V10
総合概要
モジュール
名前空間
クラス
全て
クラス
名前空間
関数
変数
型定義
列挙型
列挙値
フレンド
グループ
ページ
igesPD.h
1
/********************************************************************/
2
/* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3
/* All rights reserved. */
4
/********************************************************************/
5
#if !defined( __MGIGESPD_H__)
6
#define __MGIGESPD_H__
7
8
#include "mgiges/Iges.h"
9
10
// forward declerations
11
class
MGIgesDirectoryEntry
;
12
class
MGIgesParamLine
;
13
15
17
class
MGIgesPD
{
18
friend
MGIgesDirectoryEntry
;
19
21
public
:
23
MGIgesPD
();
24
26
MGIgesPD
(
int
type_number
,
MGIgesDirectoryEntry
*
DEpointer
=0);
27
29
virtual
~MGIgesPD
();
30
32
virtual
void
read_in
(
33
char
pDelimeter,
34
std::istringstream& pdstream
35
)=0;
36
37
void
setDE
(
MGIgesDirectoryEntry
* DE){m_DEpointer=DE;};
38
int
type_number
()
const
{
return
m_type_number;};
39
const
MGIgesDirectoryEntry
*
DEpointer
()
const
{
return
m_DEpointer;};
40
MGIgesDirectoryEntry
*
DEpointer
(){
return
m_DEpointer;};
41
48
virtual
void
write_out_into_string
(
49
const
MGIgesGSec
& gsec,
50
MGPvector<std::string>
& plines
51
)
const
=0;
52
53
private
:
54
//Member data. These are set as public.
55
56
int
m_type_number;
57
MGIgesDirectoryEntry
* m_DEpointer;
58
};
59
60
#endif // __MGIGESPD_H__
MGIgesPD::DEpointer
const MGIgesDirectoryEntry * DEpointer() const
Definition:
igesPD.h:39
MGIgesDirectoryEntry
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition:
IgesDirectoryEntry.h:20
MGIgesPD::type_number
int type_number() const
Definition:
igesPD.h:38
MGIgesPD::DEpointer
MGIgesDirectoryEntry * DEpointer()
Definition:
igesPD.h:40
MGIgesParamLine
MGIgesParamLine describes a line of Parameter Data of an IGES file.
Definition:
IgesParamLine.h:15
MGIgesPD::~MGIgesPD
virtual ~MGIgesPD()
Destructor;.
MGIgesPD
MGIgesPD is the parent class of all the Parameter data section type.
Definition:
igesPD.h:17
MGIgesPD::setDE
void setDE(MGIgesDirectoryEntry *DE)
Definition:
igesPD.h:37
MGIgesPD::write_out_into_string
virtual void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const =0
MGIgesGSec
MGIgesGSec describes a Global Section of a IGES file.
Definition:
IgesGSec.h:18
MGIgesPD::read_in
virtual void read_in(char pDelimeter, std::istringstream &pdstream)=0
Read in parameter data from string stream data.
MGIgesPD::MGIgesPD
MGIgesPD()
Constructors.
MGPvector
Defines Vector of newed object pointers.
Definition:
Pvector.h:27
mgIges
igesPD.h
2015年11月18日(水) 16時19分18秒作成 - MGCL V10 / 構成:
1.8.8