5 #if !defined( __IGESOFSTREAM_H__)
6 #define __IGESOFSTREAM_H__
10 #include "mg/Pvector.h"
11 #include "mgIges/IgesFstream.h"
12 #include "mgIges/IgesDEStatusNumber.h"
57 bool is_open(){
return m_ofstream.is_open();};
61 void open(
const TCHAR* filename,
const MGBox* bx=0);
73 const std::string& EntityLabel,
81 bool good()
const{
return m_ofstream.good();};
95 void write_out_start_section();
96 void write_out_terminate_section();
101 void write_out_DE_PD_lines();
106 void write_out_PD_plines();
109 std::ofstream&
ofstrm(){
return m_ofstream;};
113 std::ofstream m_ofstream;
127 int write_out_PD_pline(
int DEpointer);
132 #endif // __IGESOFSTREAM_H__
bool good() const
Definition: IgesOfstream.h:81
void append_param_line(MGIgesParamLine *pline)
Definition: IgesOfstream.h:86
std::ofstream & get_ofstream()
Member functions.
Definition: IgesOfstream.h:54
std::ostream & operator<<(std::ostream &ostrm, const MGisect &is)
Debug Function.
Definition: isect.h:95
Is an abstract class which represents a whole geometry and a topology.
Definition: Object.h:42
Defines a Box of any space dimendion.
Definition: Box.h:34
MGGel is an abstract class which represents a group element.
Definition: Gel.h:53
MGIgesParamLine describes a line of Parameter Data of an IGES file.
Definition: IgesParamLine.h:15
Is an abstract class which provides interfaces of MGGel that has MGAppearance.
Definition: AttribedGel.h:32
bool is_open()
Test if output stream is open.
Definition: IgesOfstream.h:57
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
virtual void initialize(const TCHAR *filename=0)
Initialize all the member data to the state of no_value_holding.
MGIgesFstream is a super class for MGIfstream and MGOfstream.
Definition: Igesfstream.h:24
MGOgesIfstream write out to *.iges file, transforming MGCL objects to IGES objects.
Definition: IgesOfstream.h:26
MGGroup is a class which constains MGGel elements.
Definition: Group.h:35
int get_line_number_of_PD() const
get the output line number of Parameter Data Section.
Definition: IgesOfstream.h:92
std::ofstream & ofstrm()
Obtain output file stream reference.
Definition: IgesOfstream.h:109
int get_next_param_line_count() const
Get the next parameter data section record counter.
Definition: IgesOfstream.h:89