![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Provides a way to obtain a clear Dump of an IGESEntity (distinct from normalized output). It works with tools attached to Entities, as for normalized Reade and Write. More...
#include <IGESData_IGESDumper.hxx>
Public Member Functions | |
| IGESData_IGESDumper (const occ::handle< IGESData_IGESModel > &model, const occ::handle< IGESData_Protocol > &protocol) | |
| Returns an IGESDumper ready to work. The IGESModel provides the numbering of Entities: as for any InterfaceModel, it gives each Entity a number; but for IGESEntities, the "Number of Directory Entry" according to the definition of IGES Files, is also useful. | |
| void | PrintDNum (const occ::handle< IGESData_IGESEntity > &ent, Standard_OStream &S) const |
| Prints onto an output, the "Number of Directory Entry" which corresponds to an IGESEntity in the IGESModel, under the form "D#nnn" (a Null Handle gives D#0) | |
| void | PrintShort (const occ::handle< IGESData_IGESEntity > &ent, Standard_OStream &S) const |
| Prints onto an output, the "Number of Directory Entry" (see PrintDNum) plus IGES Type and Form Numbers, which gives "D#nnn Type nnn Form nnn". | |
| void | Dump (const occ::handle< IGESData_IGESEntity > &ent, Standard_OStream &S, const int own, const int attached=-1) const |
| void | OwnDump (const occ::handle< IGESData_IGESEntity > &ent, Standard_OStream &S, const int own) const |
| Specific Dump for each IGES Entity, call by Dump (just above) <own> is the parameter <own> from Dump. | |
Provides a way to obtain a clear Dump of an IGESEntity (distinct from normalized output). It works with tools attached to Entities, as for normalized Reade and Write.
For each Entity, displaying data is split in own data (specific to each type) and other attached data, which are defined for all IGES Types (either from "Directory Entry" or from Lists of Associativities and Properties)
| IGESData_IGESDumper::IGESData_IGESDumper | ( | const occ::handle< IGESData_IGESModel > & | model, |
| const occ::handle< IGESData_Protocol > & | protocol ) |
Returns an IGESDumper ready to work. The IGESModel provides the numbering of Entities: as for any InterfaceModel, it gives each Entity a number; but for IGESEntities, the "Number of Directory Entry" according to the definition of IGES Files, is also useful.
| void IGESData_IGESDumper::Dump | ( | const occ::handle< IGESData_IGESEntity > & | ent, |
| Standard_OStream & | S, | ||
| const int | own, | ||
| const int | attached = -1 ) const |
| void IGESData_IGESDumper::OwnDump | ( | const occ::handle< IGESData_IGESEntity > & | ent, |
| Standard_OStream & | S, | ||
| const int | own ) const |
Specific Dump for each IGES Entity, call by Dump (just above) <own> is the parameter <own> from Dump.
| void IGESData_IGESDumper::PrintDNum | ( | const occ::handle< IGESData_IGESEntity > & | ent, |
| Standard_OStream & | S ) const |
Prints onto an output, the "Number of Directory Entry" which corresponds to an IGESEntity in the IGESModel, under the form "D#nnn" (a Null Handle gives D#0)
| void IGESData_IGESDumper::PrintShort | ( | const occ::handle< IGESData_IGESEntity > & | ent, |
| Standard_OStream & | S ) const |
Prints onto an output, the "Number of Directory Entry" (see PrintDNum) plus IGES Type and Form Numbers, which gives "D#nnn Type nnn Form nnn".