MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd402.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD402_H__)
6 #define __MGIGESPD402_H__
7 
8 #include <vector>
9 #include "mgiges/IgesPD.h"
10 
12 class MGIgesPD402: public MGIgesPD{
13 public:
14  // Constructors.
15 
18 
21 
23  void append_DE(int de){m_members.push_back(de);};
24 
26  void read_in(
27  char pDelimeter,
28  std::istringstream& pdstream
29  );
30 
38  const MGIgesGSec& gsec,
39  MGPvector<std::string>& plines
40  )const;
41 
42 public:
43 //Member data.
44 
45  std::vector<int> m_members;
46 };
47 
48 #endif // __MGIGESPD402_H__
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
MGIgesPD402 is the class for Iges parameter data type 402(Group associativity).
Definition: igespd402.h:12
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
std::vector< int > m_members
vector of directory entries of the group member.
Definition: igespd402.h:45
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
~MGIgesPD402()
Destructor;.
Definition: igespd402.h:20
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
Defines Vector of newed object pointers.
Definition: Pvector.h:27
MGIgesPD402(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD402.
void append_DE(int de)
append a member.
Definition: igespd402.h:23