Open CASCADE Technology 7.8.2.dev
IGESData_DefSwitch Class Reference

description of a directory component which can be either undefined (let Void), defined as a Reference to an entity, or as a Rank, integer value addressing a builtin table The entity reference is not included here, only reference status is kept (because entity type must be adapted) More...

#include <IGESData_DefSwitch.hxx>

Public Member Functions

 IGESData_DefSwitch ()
 creates a DefSwitch as Void
 
void SetVoid ()
 sets DefSwitch to "Void" status (in file : Integer = 0)
 
void SetReference ()
 sets DefSwitch to "Reference" Status (in file : Integer < 0)
 
void SetRank (const Standard_Integer val)
 sets DefSwitch to "Rank" with a Value (in file : Integer > 0)
 
IGESData_DefType DefType () const
 returns DefType status (Void,Reference,Rank)
 
Standard_Integer Value () const
 returns Value as Integer (sensefull for a Rank)
 

Detailed Description

description of a directory component which can be either undefined (let Void), defined as a Reference to an entity, or as a Rank, integer value addressing a builtin table The entity reference is not included here, only reference status is kept (because entity type must be adapted)

Constructor & Destructor Documentation

◆ IGESData_DefSwitch()

IGESData_DefSwitch::IGESData_DefSwitch ( )

creates a DefSwitch as Void

Member Function Documentation

◆ DefType()

IGESData_DefType IGESData_DefSwitch::DefType ( ) const

returns DefType status (Void,Reference,Rank)

◆ SetRank()

void IGESData_DefSwitch::SetRank ( const Standard_Integer val)

sets DefSwitch to "Rank" with a Value (in file : Integer > 0)

◆ SetReference()

void IGESData_DefSwitch::SetReference ( )

sets DefSwitch to "Reference" Status (in file : Integer < 0)

◆ SetVoid()

void IGESData_DefSwitch::SetVoid ( )

sets DefSwitch to "Void" status (in file : Integer = 0)

◆ Value()

Standard_Integer IGESData_DefSwitch::Value ( ) const

returns Value as Integer (sensefull for a Rank)


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