Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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)

#include <IGESData_DefSwitch.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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)

Standard_Integer _CSFDB_GetIGESData_DefSwitchtheval () const
void _CSFDB_SetIGESData_DefSwitchtheval (const Standard_Integer p)

Constructor & Destructor Documentation


Member Function Documentation


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