OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

# DataExchange
TKIGES
IGESData

# IGESData_GlobalSection Class Reference

Description of a global section (corresponds to file header)
used as well in IGESModel, IGESReader and IGESWriter
Warning : From IGES-5.1, a parameter is added : LastChangeDate (concerns
transferred set of data, not the file itself)
Of course, it can be absent if read from earlier versions
(a default is then to be set to current date)
From 5.3, one more : ApplicationProtocol (optional)
.

`#include <IGESData_GlobalSection.hxx>`

## Public Member Functions
void * | operator new (size_t, void *anAddress)
void * | operator new (size_t size)
void | operator delete (void *anAddress)
Standard_EXPORT | IGESData_GlobalSection ()
| Creates an empty GlobalSection, ready to be filled, Warning : No default value is provided .
Standard_EXPORT void | Init (const Handle(Interface_ParamSet)&params, Handle(Interface_Check)&ach)
| Fills GlobalSection from a ParamSet (i.e. taken from file) undefined parameters do not change default values when defined Fills Check about Corrections or Fails .
Standard_EXPORT void | CopyRefs ()
| Copies data referenced by Handle (that is, Strings) usefull to "isolate" a GlobalSection after copy by "=" (from a Model to another Model for instance) .
Standard_EXPORT Handle_Interface_ParamSet | Params () const
| Returns all contained data in the form of a ParamSet Remark : Strings are given under Hollerith form .
Standard_EXPORT Handle_TCollection_HAsciiString | TranslatedFromHollerith (const Handle(TCollection_HAsciiString)&astr) const
| Returns a string withpout its Hollerith marks (nnnH ahead). Remark : all strings stored in GlobalSection are expurged from Hollerith informations (without nnnH) If <astr> is not Hollerith form, it is simply copied .
Standard_EXPORT Standard_Character | Separator () const
| Returns the parameter delimiter character. .
Standard_EXPORT Standard_Character | EndMark () const
| Returns the record delimiter character. .
Standard_EXPORT Handle_TCollection_HAsciiString | SendName () const
| Returns the name of the sending system. .
Standard_EXPORT Handle_TCollection_HAsciiString | FileName () const
| Returns the name of the IGES file. .
Standard_EXPORT Handle_TCollection_HAsciiString | SystemId () const
| Returns the Native System ID of the system that created the IGES file. .
Standard_EXPORT Handle_TCollection_HAsciiString | InterfaceVersion () const
| Returns the name of the pre-processor used to write the IGES file. .
Standard_EXPORT Standard_Integer | IntegerBits () const
| Returns the number of binary bits for integer representations. .
Standard_EXPORT Standard_Integer | MaxPower10Single () const
| Returns the maximum power of a decimal representation of a single-precision floating point number in the sending system. .
Standard_EXPORT Standard_Integer | MaxDigitsSingle () const
Standard_EXPORT Standard_Integer | MaxPower10Double () const
| Returns the maximum power of a decimal representation of a double-precision floating point number in the sending system. .
Standard_EXPORT Standard_Integer | MaxDigitsDouble () const
Standard_EXPORT Handle_TCollection_HAsciiString | ReceiveName () const
| Returns the name of the receiving system. .
Standard_EXPORT Standard_Real | Scale () const
| Returns the scale used in the IGES file. .
Standard_EXPORT Standard_Integer | UnitFlag () const
| Returns the unit flag that was used to write the IGES file. .
Standard_EXPORT Handle_TCollection_HAsciiString | UnitName () const
| Returns the name of the unit the IGES file was written in. .
Standard_EXPORT Standard_Integer | LineWeightGrad () const
| Returns the maximum number of line weight gradations. .
Standard_EXPORT Standard_Real | MaxLineWeight () const
| Returns the of maximum line weight width in IGES file units. .
Standard_EXPORT Handle_TCollection_HAsciiString | Date () const
| Returns the IGES file creation date. .
Standard_EXPORT Standard_Real | Resolution () const
| Returns the resolution used in the IGES file. .
Standard_EXPORT Standard_Real | MaxCoord () const
| Returns the approximate maximum coordinate value found in the model. .
Standard_EXPORT Standard_Boolean | HasMaxCoord () const
| Returns True if the approximate maximum coordinate value found in the model is greater than 0. .
Standard_EXPORT Handle_TCollection_HAsciiString | AuthorName () const
| Returns the name of the IGES file author. .
Standard_EXPORT Handle_TCollection_HAsciiString | CompanyName () const
| Returns the name of the company where the IGES file was written. .
Standard_EXPORT Standard_Integer | IGESVersion () const
| Returns the IGES version that the IGES file was written in. .
Standard_EXPORT Standard_Integer | DraftingStandard () const
Standard_EXPORT Handle_TCollection_HAsciiString | LastChangeDate () const
| Returns the date and time when the model was created or last modified (for IGES 5.1 and later). .
Standard_EXPORT Standard_Boolean | HasLastChangeDate () const
| Returns True if the date and time when the model was created or last modified are specified, i.e. not defaulted to NULL. .
Standard_EXPORT void | SetLastChangeDate ()
Standard_EXPORT Handle_TCollection_HAsciiString | ApplicationProtocol () const
Standard_EXPORT Standard_Boolean | HasApplicationProtocol () const
Standard_EXPORT Standard_Real | UnitValue () const
| Returns the unit value (in meters) that the IGES file was written in. .
Standard_EXPORT void | SetSeparator (const Standard_Character val)
Standard_EXPORT void | SetEndMark (const Standard_Character val)
Standard_EXPORT void | SetSendName (const Handle(TCollection_HAsciiString)&val)
Standard_EXPORT void | SetFileName (const Handle(TCollection_HAsciiString)&val)
Standard_EXPORT void | SetSystemId (const Handle(TCollection_HAsciiString)&val)
Standard_EXPORT void | SetInterfaceVersion (const Handle(TCollection_HAsciiString)&val)
Standard_EXPORT void | SetIntegerBits (const Standard_Integer val)
Standard_EXPORT void | SetMaxPower10Single (const Standard_Integer val)
Standard_EXPORT void | SetMaxDigitsSingle (const Standard_Integer val)
Standard_EXPORT void | SetMaxPower10Double (const Standard_Integer val)
Standard_EXPORT void | SetMaxDigitsDouble (const Standard_Integer val)
Standard_EXPORT void | SetReceiveName (const Handle(TCollection_HAsciiString)&val)
Standard_EXPORT void | SetScale (const Standard_Real val)
Standard_EXPORT void | SetUnitFlag (const Standard_Integer val)
Standard_EXPORT void | SetUnitName (const Handle(TCollection_HAsciiString)&val)
Standard_EXPORT void | SetLineWeightGrad (const Standard_Integer val)
Standard_EXPORT void | SetMaxLineWeight (const Standard_Real val)
Standard_EXPORT void | SetDate (const Handle(TCollection_HAsciiString)&val)
Standard_EXPORT void | SetResolution (const Standard_Real val)
Standard_EXPORT void | SetMaxCoord (const Standard_Real val=0.0)
Standard_EXPORT void | MaxMaxCoord (const Standard_Real val=0.0)
Standard_EXPORT void | MaxMaxCoords (const gp_XYZ &xyz)
Standard_EXPORT void | SetAuthorName (const Handle(TCollection_HAsciiString)&val)
Standard_EXPORT void | SetCompanyName (const Handle(TCollection_HAsciiString)&val)
Standard_EXPORT void | SetIGESVersion (const Standard_Integer val)
Standard_EXPORT void | SetDraftingStandard (const Standard_Integer val)
Standard_EXPORT void | SetLastChangeDate (const Handle(TCollection_HAsciiString)&val)
Standard_EXPORT void | SetApplicationProtocol (const Handle(TCollection_HAsciiString)&val)
## Static Public Member Functions
static Standard_EXPORT Handle_TCollection_HAsciiString | NewDateString (const Standard_Integer year, const Standard_Integer month, const Standard_Integer day, const Standard_Integer hour, const Standard_Integer minut, const Standard_Integer second, const Standard_Integer mode=-1)
| Returns a string built from year, month, day, hour, minute and second values. The form of the resulting string is defined as follows: · -1: YYMMDD.HHNNSS, · 0: YYYYMMDD.HHNNSS, · 1: YYYY-MM-DD:HH-NN-SS, where: - YYYY or YY is 4 or 2 digit year, - HH is hour (00-23), - MM is month (01-12), - NN is minute (00-59) - DD is day (01-31), - SS is second (00-59). .
static Standard_EXPORT Handle_TCollection_HAsciiString | NewDateString (const Handle(TCollection_HAsciiString)&date, const Standard_Integer mode=1)
| Converts the string given in the form YYMMDD.HHNNSS or YYYYMMDD.HHNNSS to either YYMMDD.HHNNSS, YYYYMMDD.HHNNSS or YYYY-MM-DD:HH-NN-SS. .
## Private Attributes
Standard_Character | theSeparator
Standard_Character | theEndMark
Handle_TCollection_HAsciiString | theSendName
Handle_TCollection_HAsciiString | theFileName
Handle_TCollection_HAsciiString | theSystemId
Handle_TCollection_HAsciiString | theInterfaceVersion
Standard_Integer | theIntegerBits
Standard_Integer | theMaxPower10Single
Standard_Integer | theMaxDigitsSingle
Standard_Integer | theMaxPower10Double
Standard_Integer | theMaxDigitsDouble
Handle_TCollection_HAsciiString | theReceiveName
Standard_Real | theScale
Standard_Integer | theUnitFlag
Handle_TCollection_HAsciiString | theUnitName
Standard_Integer | theLineWeightGrad
Standard_Real | theMaxLineWeight
Handle_TCollection_HAsciiString | theDate
Standard_Real | theResolution
Standard_Real | theMaxCoord
Standard_Boolean | hasMaxCoord
Handle_TCollection_HAsciiString | theAuthorName
Handle_TCollection_HAsciiString | theCompanyName
Standard_Integer | theIGESVersion
Standard_Integer | theDraftingStandard
Handle_TCollection_HAsciiString | theLastChangeDate
Handle_TCollection_HAsciiString | theAppliProtocol

## Constructor & Destructor Documentation

Standard_EXPORT IGESData_GlobalSection::IGESData_GlobalSection | ( |  | ) |

## Member Function Documentation

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::ApplicationProtocol | ( |  | ) | const

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::AuthorName | ( |  | ) | const

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::CompanyName | ( |  | ) | const

Standard_EXPORT void IGESData_GlobalSection::CopyRefs | ( |  | ) |

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::Date | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESData_GlobalSection::DraftingStandard | ( |  | ) | const

Standard_EXPORT Standard_Character IGESData_GlobalSection::EndMark | ( |  | ) | const

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::FileName | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESData_GlobalSection::HasApplicationProtocol | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESData_GlobalSection::HasLastChangeDate | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESData_GlobalSection::HasMaxCoord | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESData_GlobalSection::IGESVersion | ( |  | ) | const

Standard_EXPORT void IGESData_GlobalSection::Init | ( | const Handle(Interface_ParamSet)& | params,
|  | Handle(Interface_Check)& | ach
| ) |

Standard_EXPORT Standard_Integer IGESData_GlobalSection::IntegerBits | ( |  | ) | const

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::InterfaceVersion | ( |  | ) | const

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::LastChangeDate | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESData_GlobalSection::LineWeightGrad | ( |  | ) | const

Standard_EXPORT Standard_Real IGESData_GlobalSection::MaxCoord | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESData_GlobalSection::MaxDigitsDouble | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESData_GlobalSection::MaxDigitsSingle | ( |  | ) | const

Standard_EXPORT Standard_Real IGESData_GlobalSection::MaxLineWeight | ( |  | ) | const

Standard_EXPORT void IGESData_GlobalSection::MaxMaxCoord | ( | const Standard_Real | val = `0.0` | ) |

Standard_EXPORT void IGESData_GlobalSection::MaxMaxCoords | ( | const gp_XYZ & | xyz | ) |

Standard_EXPORT Standard_Integer IGESData_GlobalSection::MaxPower10Double | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESData_GlobalSection::MaxPower10Single | ( |  | ) | const

static Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::NewDateString | ( | const Handle(TCollection_HAsciiString)& | date,
|  | const Standard_Integer | mode = `1`
| ) | `[static]`

static Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::NewDateString | ( | const Standard_Integer | year,
|  | const Standard_Integer | month,
|  | const Standard_Integer | day,
|  | const Standard_Integer | hour,
|  | const Standard_Integer | minut,
|  | const Standard_Integer | second,
|  | const Standard_Integer | mode = `-1`
| ) | `[static]`

void IGESData_GlobalSection::operator delete | ( | void * | anAddress | ) | `[inline]`

void* IGESData_GlobalSection::operator new | ( | size_t | size | ) | `[inline]`

void* IGESData_GlobalSection::operator new | ( | size_t | ,
|  | void * | anAddress
| ) | `[inline]`

Standard_EXPORT Handle_Interface_ParamSet IGESData_GlobalSection::Params | ( |  | ) | const

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::ReceiveName | ( |  | ) | const

Standard_EXPORT Standard_Real IGESData_GlobalSection::Resolution | ( |  | ) | const

Standard_EXPORT Standard_Real IGESData_GlobalSection::Scale | ( |  | ) | const

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::SendName | ( |  | ) | const

Standard_EXPORT Standard_Character IGESData_GlobalSection::Separator | ( |  | ) | const

Standard_EXPORT void IGESData_GlobalSection::SetApplicationProtocol | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetAuthorName | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetCompanyName | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetDate | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetDraftingStandard | ( | const Standard_Integer | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetEndMark | ( | const Standard_Character | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetFileName | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetIGESVersion | ( | const Standard_Integer | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetIntegerBits | ( | const Standard_Integer | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetInterfaceVersion | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetLastChangeDate | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetLastChangeDate | ( |  | ) |

Standard_EXPORT void IGESData_GlobalSection::SetLineWeightGrad | ( | const Standard_Integer | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetMaxCoord | ( | const Standard_Real | val = `0.0` | ) |

Standard_EXPORT void IGESData_GlobalSection::SetMaxDigitsDouble | ( | const Standard_Integer | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetMaxDigitsSingle | ( | const Standard_Integer | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetMaxLineWeight | ( | const Standard_Real | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetMaxPower10Double | ( | const Standard_Integer | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetMaxPower10Single | ( | const Standard_Integer | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetReceiveName | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetResolution | ( | const Standard_Real | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetScale | ( | const Standard_Real | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetSendName | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetSeparator | ( | const Standard_Character | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetSystemId | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetUnitFlag | ( | const Standard_Integer | val | ) |

Standard_EXPORT void IGESData_GlobalSection::SetUnitName | ( | const Handle(TCollection_HAsciiString)& | val | ) |

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::SystemId | ( |  | ) | const

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::TranslatedFromHollerith | ( | const Handle(TCollection_HAsciiString)& | astr | ) | const

Standard_EXPORT Standard_Integer IGESData_GlobalSection::UnitFlag | ( |  | ) | const

Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GlobalSection::UnitName | ( |  | ) | const

Standard_EXPORT Standard_Real IGESData_GlobalSection::UnitValue | ( |  | ) | const

## Field Documentation

Standard_Boolean IGESData_GlobalSection::hasMaxCoord`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theAppliProtocol`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theAuthorName`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theCompanyName`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theDate`[private]`

Standard_Integer IGESData_GlobalSection::theDraftingStandard`[private]`

Standard_Character IGESData_GlobalSection::theEndMark`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theFileName`[private]`

Standard_Integer IGESData_GlobalSection::theIGESVersion`[private]`

Standard_Integer IGESData_GlobalSection::theIntegerBits`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theInterfaceVersion`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theLastChangeDate`[private]`

Standard_Integer IGESData_GlobalSection::theLineWeightGrad`[private]`

Standard_Real IGESData_GlobalSection::theMaxCoord`[private]`

Standard_Integer IGESData_GlobalSection::theMaxDigitsDouble`[private]`

Standard_Integer IGESData_GlobalSection::theMaxDigitsSingle`[private]`

Standard_Real IGESData_GlobalSection::theMaxLineWeight`[private]`

Standard_Integer IGESData_GlobalSection::theMaxPower10Double`[private]`

Standard_Integer IGESData_GlobalSection::theMaxPower10Single`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theReceiveName`[private]`

Standard_Real IGESData_GlobalSection::theResolution`[private]`

Standard_Real IGESData_GlobalSection::theScale`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theSendName`[private]`

Standard_Character IGESData_GlobalSection::theSeparator`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theSystemId`[private]`

Standard_Integer IGESData_GlobalSection::theUnitFlag`[private]`

Handle_TCollection_HAsciiString IGESData_GlobalSection::theUnitName`[private]`

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

- IGESData_GlobalSection.hxx