Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
StepElement_ElementAspect Class Reference

Representation of STEP SELECT type ElementAspect. More...

#include <StepElement_ElementAspect.hxx>

Inheritance diagram for StepElement_ElementAspect:
Inheritance graph
[legend]

Public Member Functions

 StepElement_ElementAspect ()
 Empty constructor.
 
int CaseNum (const occ::handle< Standard_Transient > &ent) const override
 Recognizes a kind of ElementAspect select type return 0.
 
int CaseMem (const occ::handle< StepData_SelectMember > &ent) const override
 Recognizes a items of select member ElementAspectMember 1 -> ElementVolume 2 -> Volume3dFace 3 -> Volume2dFace 4 -> Volume3dEdge 5 -> Volume2dEdge 6 -> Surface3dFace 7 -> Surface2dFace 8 -> Surface3dEdge 9 -> Surface2dEdge 10 -> CurveEdge 0 else.
 
occ::handle< StepData_SelectMemberNewMember () const override
 Returns a new select member the type ElementAspectMember.
 
void SetElementVolume (const StepElement_ElementVolume aVal)
 Set Value for ElementVolume.
 
StepElement_ElementVolume ElementVolume () const
 Returns Value as ElementVolume (or Null if another type)
 
void SetVolume3dFace (const int aVal)
 Set Value for Volume3dFace.
 
int Volume3dFace () const
 Returns Value as Volume3dFace (or Null if another type)
 
void SetVolume2dFace (const int aVal)
 Set Value for Volume2dFace.
 
int Volume2dFace () const
 Returns Value as Volume2dFace (or Null if another type)
 
void SetVolume3dEdge (const int aVal)
 Set Value for Volume3dEdge.
 
int Volume3dEdge () const
 Returns Value as Volume3dEdge (or Null if another type)
 
void SetVolume2dEdge (const int aVal)
 Set Value for Volume2dEdge.
 
int Volume2dEdge () const
 Returns Value as Volume2dEdge (or Null if another type)
 
void SetSurface3dFace (const int aVal)
 Set Value for Surface3dFace.
 
int Surface3dFace () const
 Returns Value as Surface3dFace (or Null if another type)
 
void SetSurface2dFace (const int aVal)
 Set Value for Surface2dFace.
 
int Surface2dFace () const
 Returns Value as Surface2dFace (or Null if another type)
 
void SetSurface3dEdge (const int aVal)
 Set Value for Surface3dEdge.
 
int Surface3dEdge () const
 Returns Value as Surface3dEdge (or Null if another type)
 
void SetSurface2dEdge (const int aVal)
 Set Value for Surface2dEdge.
 
int Surface2dEdge () const
 Returns Value as Surface2dEdge (or Null if another type)
 
void SetCurveEdge (const StepElement_CurveEdge aVal)
 Set Value for CurveEdge.
 
StepElement_CurveEdge CurveEdge () const
 Returns Value as CurveEdge (or Null if another type)
 
- Public Member Functions inherited from StepData_SelectType
bool Matches (const occ::handle< Standard_Transient > &ent) const
 Returns True if the Type of an Entity complies with the definition list of the SelectType. Also checks for a SelectMember Default Implementation looks for CaseNum or CaseMem positive.
 
void SetValue (const occ::handle< Standard_Transient > &ent)
 Stores an Entity. This allows to define a specific SelectType class with one read method per member Type, which returns the Value casted with the good Type.
 
void Nullify ()
 Nullifies the Stored Entity.
 
const occ::handle< Standard_Transient > & Value () const
 Returns the Stored Entity. Can be used to define specific read methods (see above)
 
bool IsNull () const
 Returns True if there is no Stored Entity (i.e. it is Null)
 
occ::handle< Standard_TypeType () const
 Returns the Effective (Dynamic) Type of the Stored Entity If it is Null, returns TYPE(Transient)
 
int CaseNumber () const
 Recognizes the Type of the stored Entity, or zero if it is Null or SelectMember. Calls the first method CaseNum on Value.
 
virtual occ::handle< StepData_PDescrDescription () const
 Returns the Description which corresponds to <me> Null if no specific description to give. This description is used to control reading an check validity. Default returns a Null Handle, i.e. undefined description It can suffice if CaseNum and CaseMem give enough control.
 
int CaseMember () const
 Returns the Type of the stored SelectMember, or zero if it is Null or Entity. Calls the method CaseMem on Value.
 
occ::handle< StepData_SelectMemberMember () const
 Returns Value as a SelectMember. Null if not a SelectMember.
 
const charSelectName () const
 Returns the type name of SelectMember. If no SelectMember or with no type name, returns an empty string To change it, pass through the SelectMember itself.
 
int Int () const
 This internal method gives access to a value implemented by an Integer (to read it)
 
void SetInt (const int val)
 This internal method gives access to a value implemented by an Integer (to set it) : a SelectMember MUST ALREADY BE THERE !
 
int Integer () const
 Gets the value as an Integer.
 
void SetInteger (const int val, const char *const name="")
 Sets a new Integer value, with an optional type name Warning : If a SelectMember is already set, works on it : value and name must then be accepted by this SelectMember.
 
bool Boolean () const
 
void SetBoolean (const bool val, const char *const name="")
 
StepData_Logical Logical () const
 
void SetLogical (const StepData_Logical val, const char *const name="")
 
double Real () const
 
void SetReal (const double val, const char *const name="")
 
virtual ~StepData_SelectType ()
 

Detailed Description

Representation of STEP SELECT type ElementAspect.

Constructor & Destructor Documentation

◆ StepElement_ElementAspect()

StepElement_ElementAspect::StepElement_ElementAspect ( )

Empty constructor.

Member Function Documentation

◆ CaseMem()

int StepElement_ElementAspect::CaseMem ( const occ::handle< StepData_SelectMember > & ent) const
overridevirtual

Recognizes a items of select member ElementAspectMember 1 -> ElementVolume 2 -> Volume3dFace 3 -> Volume2dFace 4 -> Volume3dEdge 5 -> Volume2dEdge 6 -> Surface3dFace 7 -> Surface2dFace 8 -> Surface3dEdge 9 -> Surface2dEdge 10 -> CurveEdge 0 else.

Reimplemented from StepData_SelectType.

◆ CaseNum()

int StepElement_ElementAspect::CaseNum ( const occ::handle< Standard_Transient > & ent) const
overridevirtual

Recognizes a kind of ElementAspect select type return 0.

Implements StepData_SelectType.

◆ CurveEdge()

StepElement_CurveEdge StepElement_ElementAspect::CurveEdge ( ) const

Returns Value as CurveEdge (or Null if another type)

◆ ElementVolume()

StepElement_ElementVolume StepElement_ElementAspect::ElementVolume ( ) const

Returns Value as ElementVolume (or Null if another type)

◆ NewMember()

occ::handle< StepData_SelectMember > StepElement_ElementAspect::NewMember ( ) const
overridevirtual

Returns a new select member the type ElementAspectMember.

Reimplemented from StepData_SelectType.

◆ SetCurveEdge()

void StepElement_ElementAspect::SetCurveEdge ( const StepElement_CurveEdge aVal)

Set Value for CurveEdge.

◆ SetElementVolume()

void StepElement_ElementAspect::SetElementVolume ( const StepElement_ElementVolume aVal)

Set Value for ElementVolume.

◆ SetSurface2dEdge()

void StepElement_ElementAspect::SetSurface2dEdge ( const int aVal)

Set Value for Surface2dEdge.

◆ SetSurface2dFace()

void StepElement_ElementAspect::SetSurface2dFace ( const int aVal)

Set Value for Surface2dFace.

◆ SetSurface3dEdge()

void StepElement_ElementAspect::SetSurface3dEdge ( const int aVal)

Set Value for Surface3dEdge.

◆ SetSurface3dFace()

void StepElement_ElementAspect::SetSurface3dFace ( const int aVal)

Set Value for Surface3dFace.

◆ SetVolume2dEdge()

void StepElement_ElementAspect::SetVolume2dEdge ( const int aVal)

Set Value for Volume2dEdge.

◆ SetVolume2dFace()

void StepElement_ElementAspect::SetVolume2dFace ( const int aVal)

Set Value for Volume2dFace.

◆ SetVolume3dEdge()

void StepElement_ElementAspect::SetVolume3dEdge ( const int aVal)

Set Value for Volume3dEdge.

◆ SetVolume3dFace()

void StepElement_ElementAspect::SetVolume3dFace ( const int aVal)

Set Value for Volume3dFace.

◆ Surface2dEdge()

int StepElement_ElementAspect::Surface2dEdge ( ) const

Returns Value as Surface2dEdge (or Null if another type)

◆ Surface2dFace()

int StepElement_ElementAspect::Surface2dFace ( ) const

Returns Value as Surface2dFace (or Null if another type)

◆ Surface3dEdge()

int StepElement_ElementAspect::Surface3dEdge ( ) const

Returns Value as Surface3dEdge (or Null if another type)

◆ Surface3dFace()

int StepElement_ElementAspect::Surface3dFace ( ) const

Returns Value as Surface3dFace (or Null if another type)

◆ Volume2dEdge()

int StepElement_ElementAspect::Volume2dEdge ( ) const

Returns Value as Volume2dEdge (or Null if another type)

◆ Volume2dFace()

int StepElement_ElementAspect::Volume2dFace ( ) const

Returns Value as Volume2dFace (or Null if another type)

◆ Volume3dEdge()

int StepElement_ElementAspect::Volume3dEdge ( ) const

Returns Value as Volume3dEdge (or Null if another type)

◆ Volume3dFace()

int StepElement_ElementAspect::Volume3dFace ( ) const

Returns Value as Volume3dFace (or Null if another type)


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