Open CASCADE Technology  7.5.0
Public Member Functions
IGESData_DefSwitch Class Reference

description of a directory componant which can be either undefined (let Void), defined as a Reference to an entity, or as a Rank, integer value adressing 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 More...
 
void SetVoid ()
 sets DefSwitch to "Void" status (in file : Integer = 0) More...
 
void SetReference ()
 sets DefSwitch to "Reference" Status (in file : Integer < 0) More...
 
void SetRank (const Standard_Integer val)
 sets DefSwitch to "Rank" with a Value (in file : Integer > 0) More...
 
IGESData_DefType DefType () const
 returns DefType status (Void,Reference,Rank) More...
 
Standard_Integer Value () const
 returns Value as Integer (sensefull for a Rank) More...
 

Detailed Description

description of a directory componant which can be either undefined (let Void), defined as a Reference to an entity, or as a Rank, integer value adressing 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: