# DataExchange
TKIGES
IGESData

# IGESData_IGESReaderData Class Reference

specific FileReaderData for IGES
contains header as GlobalSection, and for each Entity, its
directory part as DirPart, list of Parameters as ParamSet
Each Item has a DirPart, plus classically a ParamSet and the
correspondant recognized Entity (inherited from FileReaderData)
Parameters are accessed through specific objects, ParamReaders

`#include <IGESData_IGESReaderData.hxx>`

Inheritance diagram for IGESData_IGESReaderData:

[legend]

## Public Member Functions

Standard_EXPORT | IGESData_IGESReaderData (const Standard_Integer nbe, const Standard_Integer nbp)
| creates IGESReaderData correctly dimensionned (for arrays) <nbe> count of entities, that is, half nb of directory lines <nbp> : count of parameters
Standard_EXPORT void | AddStartLine (const Standard_CString aval)
| adds a start line to start section
Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString | StartSection () const
| Returns the Start Section in once .
Standard_EXPORT void | AddGlobal (const Interface_ParamType atype, const Standard_CString aval)
| adds a parameter to global section's parameter list
Standard_EXPORT void | SetGlobalSection ()
| reads header (as GlobalSection) content from the ParamSet after it has been filled by successive calls to AddGlobal
Standard_EXPORT const IGESData_GlobalSection & | GlobalSection () const
| returns header as GlobalSection

Standard_EXPORT void

SetDirPart (const Standard_Integer num, const Standard_Integer i1, const Standard_Integer i2, const Standard_Integer i3, const Standard_Integer i4, const Standard_Integer i5, const Standard_Integer i6, const Standard_Integer i7, const Standard_Integer i8, const Standard_Integer i9, const Standard_Integer i10, const Standard_Integer i11, const Standard_Integer i12, const Standard_Integer i13, const Standard_Integer i14, const Standard_Integer i15, const Standard_Integer i16, const Standard_Integer i17, const Standard_CString res1, const Standard_CString res2, const Standard_CString label, const Standard_CString subs)

| fills a DirPart, designated by its rank (that is, (N+1)/2 if N is its first number in section D)
Standard_EXPORT const IGESData_DirPart & | DirPart (const Standard_Integer num) const
| returns DirPart identified by record no (half Dsect number)

Standard_EXPORT void

DirValues (const Standard_Integer num, Standard_Integer &i1, Standard_Integer &i2, Standard_Integer &i3, Standard_Integer &i4, Standard_Integer &i5, Standard_Integer &i6, Standard_Integer &i7, Standard_Integer &i8, Standard_Integer &i9, Standard_Integer &i10, Standard_Integer &i11, Standard_Integer &i12, Standard_Integer &i13, Standard_Integer &i14, Standard_Integer &i15, Standard_Integer &i16, Standard_Integer &i17, Standard_CString &res1, Standard_CString &res2, Standard_CString &label, Standard_CString &subs) const

| returns values recorded in directory part n0 <num>
Standard_EXPORT IGESData_IGESType | DirType (const Standard_Integer num) const
| returns "type" and "form" info from a directory part
virtual Standard_EXPORT Standard_Integer | NbEntities () const
| Returns count of recorded Entities (i.e. size of Directory) .
Standard_EXPORT Standard_Integer | FindNextRecord (const Standard_Integer num) const
| determines next suitable record from num; that is num+1 except for last one which gives 0
Standard_EXPORT void | SetEntityNumbers ()
| determines reference numbers in EntityNumber fields (called by SetEntities from IGESReaderTool) works on "Integer" type Parameters, because IGES does not distinguish Integer and Entity Refs : every Integer which is odd and less than twice NbRecords can be an Entity Ref ... (Ref Number is then (N+1)/2 if N is the Integer Value)
Standard_EXPORT Handle_Interface_Check | GlobalCheck () const
| Returns the recorded Global Check .
Standard_EXPORT void | SetDefaultLineWeight (const Standard_Real defw)
| allows to set a default line weight, will be later applied at load time, on Entities which have no specified line weight
Standard_EXPORT Standard_Real | DefaultLineWeight () const
| Returns the recorded Default Line Weight, if there is (else, returns 0) .
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Private Attributes

Standard_Integer | thecnum
IGESData_IGESType | thectyp
Handle_TColStd_HSequenceOfHAsciiString | thestar
Handle_Interface_ParamSet | theparh
IGESData_GlobalSection | thehead
IGESData_Array1OfDirPart | thedirs
IGESData_ReadStage | thestep
Standard_Real | thedefw
Handle_Interface_Check | thechk

## Constructor & Destructor Documentation

Standard_EXPORT IGESData_IGESReaderData::IGESData_IGESReaderData | ( | const Standard_Integer | nbe,
|  | const Standard_Integer | nbp
| ) |

## Member Function Documentation

Standard_EXPORT void IGESData_IGESReaderData::AddGlobal | ( | const Interface_ParamType | atype,
|  | const Standard_CString | aval
| ) |

Standard_EXPORT void IGESData_IGESReaderData::AddStartLine | ( | const Standard_CString | aval | ) |

Standard_EXPORT Standard_Real IGESData_IGESReaderData::DefaultLineWeight | ( |  | ) | const

Standard_EXPORT const IGESData_DirPart& IGESData_IGESReaderData::DirPart | ( | const Standard_Integer | num | ) | const

Standard_EXPORT IGESData_IGESType IGESData_IGESReaderData::DirType | ( | const Standard_Integer | num | ) | const

Standard_EXPORT void IGESData_IGESReaderData::DirValues | ( | const Standard_Integer | num,
|  | Standard_Integer & | i1,
|  | Standard_Integer & | i2,
|  | Standard_Integer & | i3,
|  | Standard_Integer & | i4,
|  | Standard_Integer & | i5,
|  | Standard_Integer & | i6,
|  | Standard_Integer & | i7,
|  | Standard_Integer & | i8,
|  | Standard_Integer & | i9,
|  | Standard_Integer & | i10,
|  | Standard_Integer & | i11,
|  | Standard_Integer & | i12,
|  | Standard_Integer & | i13,
|  | Standard_Integer & | i14,
|  | Standard_Integer & | i15,
|  | Standard_Integer & | i16,
|  | Standard_Integer & | i17,
|  | Standard_CString & | res1,
|  | Standard_CString & | res2,
|  | Standard_CString & | label,
|  | Standard_CString & | subs
| ) | const

Standard_EXPORT Standard_Integer IGESData_IGESReaderData::FindNextRecord | ( | const Standard_Integer | num | ) | const`[virtual]`

| Implements Interface_FileReaderData.

Standard_EXPORT Handle_Interface_Check IGESData_IGESReaderData::GlobalCheck | ( |  | ) | const

Standard_EXPORT const IGESData_GlobalSection& IGESData_IGESReaderData::GlobalSection | ( |  | ) | const

Standard_EXPORT const IGESData_IGESReaderData::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from Interface_FileReaderData.

virtual Standard_EXPORT Standard_Integer IGESData_IGESReaderData::NbEntities | ( |  | ) | const`[virtual]`

| Reimplemented from Interface_FileReaderData.

Standard_EXPORT void IGESData_IGESReaderData::SetDefaultLineWeight | ( | const Standard_Real | defw | ) |

Standard_EXPORT void IGESData_IGESReaderData::SetDirPart | ( | const Standard_Integer | num,
|  | const Standard_Integer | i1,
|  | const Standard_Integer | i2,
|  | const Standard_Integer | i3,
|  | const Standard_Integer | i4,
|  | const Standard_Integer | i5,
|  | const Standard_Integer | i6,
|  | const Standard_Integer | i7,
|  | const Standard_Integer | i8,
|  | const Standard_Integer | i9,
|  | const Standard_Integer | i10,
|  | const Standard_Integer | i11,
|  | const Standard_Integer | i12,
|  | const Standard_Integer | i13,
|  | const Standard_Integer | i14,
|  | const Standard_Integer | i15,
|  | const Standard_Integer | i16,
|  | const Standard_Integer | i17,
|  | const Standard_CString | res1,
|  | const Standard_CString | res2,
|  | const Standard_CString | label,
|  | const Standard_CString | subs
| ) |

Standard_EXPORT void IGESData_IGESReaderData::SetEntityNumbers | ( |  | ) |

Standard_EXPORT void IGESData_IGESReaderData::SetGlobalSection | ( |  | ) |

Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString IGESData_IGESReaderData::StartSection | ( |  | ) | const

## Field Documentation

Handle_Interface_Check IGESData_IGESReaderData::thechk`[private]`

Standard_Integer IGESData_IGESReaderData::thecnum`[private]`

IGESData_IGESType IGESData_IGESReaderData::thectyp`[private]`

Standard_Real IGESData_IGESReaderData::thedefw`[private]`

IGESData_Array1OfDirPart IGESData_IGESReaderData::thedirs`[private]`

IGESData_GlobalSection IGESData_IGESReaderData::thehead`[private]`

Handle_Interface_ParamSet IGESData_IGESReaderData::theparh`[private]`

Handle_TColStd_HSequenceOfHAsciiString IGESData_IGESReaderData::thestar`[private]`

IGESData_ReadStage IGESData_IGESReaderData::thestep`[private]`

The documentation for this class was generated from the following file:

- IGESData_IGESReaderData.hxx