Open CASCADE Technology 7.8.0
Public Member Functions
StepData_UndefinedEntity Class Reference

Undefined entity specific to Step Interface, in which StepType is defined at each instance, or is a SubList of another one Uses an UndefinedContent, that from Interface is suitable. Also an Entity defined by STEP can be "Complex Type" (see ANDOR clause in Express). More...

#include <StepData_UndefinedEntity.hxx>

Inheritance diagram for StepData_UndefinedEntity:
Inheritance graph
[legend]

Public Member Functions

 StepData_UndefinedEntity ()
 creates an Unknown entity
 
 StepData_UndefinedEntity (const Standard_Boolean issub)
 Creates a SubList of an Unknown entity : it is an Unknown Entity with no Type, but flagged as "SUB" if issub is True.
 
Handle< Interface_UndefinedContentUndefinedContent () const
 Returns the UndefinedContent which brings the Parameters.
 
Standard_Boolean IsSub () const
 Returns True if an Unndefined Entity is SubPart of another one.
 
Handle< StepData_UndefinedEntitySuper () const
 Returns the "super-entity" of a sub-part.
 
Standard_Boolean IsComplex () const
 Returns True if <me> defines a Multiple Type Entity (see ANDOR)
 
Handle< StepData_UndefinedEntityNext () const
 For a Multiple Type Entity, returns the Next "Component" For more than two Types, iterative definition (Next->Next...) Returns a Null Handle for the end of the List.
 
Standard_CString StepType () const
 gives entity type, read from file For a Complex Type Entity, gives the first Type read, each "Next" gives its "partial" type was C++ : return const
 
void ReadRecord (const Handle< StepData_StepReaderData > &SR, const Standard_Integer num, Handle< Interface_Check > &ach)
 reads data from StepReaderData (i.e. from file), by filling StepType and parameters stored in the UndefinedContent
 
void WriteParams (StepData_StepWriter &SW) const
 write data to StepWriter, taken from UndefinedContent
 
void GetFromAnother (const Handle< StepData_UndefinedEntity > &other, Interface_CopyTool &TC)
 reads another UndefinedEntity from StepData
 
void FillShared (Interface_EntityIterator &list) const
 Fills the list of shared entities.
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor.
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing.
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter.
 
virtual ~Standard_Transient ()
 Destructor must be virtual.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
 
Standard_Integer GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object.
 
Standard_Integer DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object.
 
- Static Public Member Functions inherited from Standard_Transient
static constexpr const charget_type_name ()
 Returns a type descriptor about this object.
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class.
 

Detailed Description

Undefined entity specific to Step Interface, in which StepType is defined at each instance, or is a SubList of another one Uses an UndefinedContent, that from Interface is suitable. Also an Entity defined by STEP can be "Complex Type" (see ANDOR clause in Express).

Constructor & Destructor Documentation

◆ StepData_UndefinedEntity() [1/2]

StepData_UndefinedEntity::StepData_UndefinedEntity ( )

creates an Unknown entity

◆ StepData_UndefinedEntity() [2/2]

StepData_UndefinedEntity::StepData_UndefinedEntity ( const Standard_Boolean  issub)

Creates a SubList of an Unknown entity : it is an Unknown Entity with no Type, but flagged as "SUB" if issub is True.

Member Function Documentation

◆ FillShared()

void StepData_UndefinedEntity::FillShared ( Interface_EntityIterator list) const

Fills the list of shared entities.

◆ GetFromAnother()

void StepData_UndefinedEntity::GetFromAnother ( const Handle< StepData_UndefinedEntity > &  other,
Interface_CopyTool TC 
)

reads another UndefinedEntity from StepData

◆ IsComplex()

Standard_Boolean StepData_UndefinedEntity::IsComplex ( ) const

Returns True if <me> defines a Multiple Type Entity (see ANDOR)

◆ IsSub()

Standard_Boolean StepData_UndefinedEntity::IsSub ( ) const

Returns True if an Unndefined Entity is SubPart of another one.

◆ Next()

Handle< StepData_UndefinedEntity > StepData_UndefinedEntity::Next ( ) const

For a Multiple Type Entity, returns the Next "Component" For more than two Types, iterative definition (Next->Next...) Returns a Null Handle for the end of the List.

◆ ReadRecord()

void StepData_UndefinedEntity::ReadRecord ( const Handle< StepData_StepReaderData > &  SR,
const Standard_Integer  num,
Handle< Interface_Check > &  ach 
)

reads data from StepReaderData (i.e. from file), by filling StepType and parameters stored in the UndefinedContent

◆ StepType()

Standard_CString StepData_UndefinedEntity::StepType ( ) const

gives entity type, read from file For a Complex Type Entity, gives the first Type read, each "Next" gives its "partial" type was C++ : return const

◆ Super()

Handle< StepData_UndefinedEntity > StepData_UndefinedEntity::Super ( ) const

Returns the "super-entity" of a sub-part.

◆ UndefinedContent()

Handle< Interface_UndefinedContent > StepData_UndefinedEntity::UndefinedContent ( ) const

Returns the UndefinedContent which brings the Parameters.

◆ WriteParams()

void StepData_UndefinedEntity::WriteParams ( StepData_StepWriter SW) const

write data to StepWriter, taken from UndefinedContent


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