Open CASCADE Technology
6.5.4
|
Implements a select type unit (NamedUnit or DerivedUnit)
#include <StepBasic_Unit.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | StepBasic_Unit () |
Creates empty object | |
Standard_Integer | CaseNum (const Handle< Standard_Transient > &ent) const |
Recognizes a type of Unit Entity 1 -> NamedUnit 2 -> DerivedUnit | |
Handle_StepBasic_NamedUnit | NamedUnit () const |
returns Value as a NamedUnit (Null if another type) | |
Handle_StepBasic_DerivedUnit | DerivedUnit () const |
returns Value as a DerivedUnit (Null if another type) |
Standard_Integer StepBasic_Unit::CaseNum | ( | const Handle< Standard_Transient > & | ent | ) | const [virtual] |
Implements StepData_SelectType.
Handle_StepBasic_DerivedUnit StepBasic_Unit::DerivedUnit | ( | ) | const |
Handle_StepBasic_NamedUnit StepBasic_Unit::NamedUnit | ( | ) | const |