/********************************************************************/ /* Copyright (c) 2017 System fugen G.K. and Yuzi Mizuno */ /* All rights reserved. */ /********************************************************************/ #if !defined( __MGIGES504EdgeListMap_H__) #define __MGIGES504EdgeListMap_H__ #include #include #include "mg/Pvector.h" #include "topo/Edge.h" #include "mgIges/igesPD504.h" class MGIgesIfstream; ///Is the class to store MGEdge*(newed objects) generated for MGIges504 EDGE list. class MGIges504EdgeListMap{ public: ///key is MGIgesPD504* and the data is the array index i of m_EdgesVector. ///m_EdgesVector[i] is MGIgesPD504's data, MGPvector. typedef std::map PD504toEdgesMap; /// Constructors. /// Constructs an object of class MGIges504EdgeListMap. MGIges504EdgeListMap(MGIgesIfstream* ifs=0):m_ifstream(ifs){;}; ///Obtain MGEdge* of the the DE of the EDGE List Entry(MGIgesPD504) and ///the indgex edge. MGEdge* get_egde( int DEid, /// > m_EdgesVector; }; #endif // __MGIGES504EdgeListMap_H__