Open CASCADE Technology
6.5.4
|
A Plex (for Complex) Entity is defined as a list of Simple
Members ("external mapping")
The types of these members must be in alphabetic order
#include <StepData_Plex.hxx>
Public Member Functions | |
StepData_Plex (const Handle< StepData_ECDescr > &descr) | |
Creates a Plex (empty). The complete creation is made by the ECDescr itself, by calling Add | |
void | Add (const Handle< StepData_Simple > &member) |
Adds a member to <me> | |
Handle_StepData_ECDescr | ECDescr () const |
Returns the Description as for a Plex | |
Standard_Boolean | IsComplex () const |
Returns False | |
Standard_Boolean | Matches (const Standard_CString steptype) const |
Tells if a step type is matched by <me> For a Simple Entity : own type or super type For a Complex Entity : one of the members | |
Handle_StepData_Simple | As (const Standard_CString steptype) const |
Returns a Simple Entity which matches with a Type in <me> : For a Simple Entity : me if it matches, else a null handle For a Complex Entity : the member which matches, else null | |
Standard_Boolean | HasField (const Standard_CString name) const |
Tells if a Field brings a given name | |
const StepData_Field & | Field (const Standard_CString name) const |
Returns a Field from its name; read-only | |
StepData_Field & | CField (const Standard_CString name) |
Returns a Field from its name; read or write | |
Standard_Integer | NbMembers () const |
Returns the count of simple members | |
Handle_StepData_Simple | Member (const Standard_Integer num) const |
Returns a simple member from its rank | |
Handle_TColStd_HSequenceOfAsciiString | TypeList () const |
Returns the actual list of members types | |
void | Check (Handle< Interface_Check > &ach) const |
Fills a Check by using its Description | |
void | Shared (Interface_EntityIterator &list) const |
Fills an EntityIterator with entities shared by <me> |
StepData_Plex::StepData_Plex | ( | const Handle< StepData_ECDescr > & | descr | ) |
void StepData_Plex::Add | ( | const Handle< StepData_Simple > & | member | ) |
Handle_StepData_Simple StepData_Plex::As | ( | const Standard_CString | steptype | ) | const [virtual] |
Implements StepData_Described.
StepData_Field& StepData_Plex::CField | ( | const Standard_CString | name | ) | [virtual] |
Implements StepData_Described.
void StepData_Plex::Check | ( | Handle< Interface_Check > & | ach | ) | const [virtual] |
Implements StepData_Described.
Handle_StepData_ECDescr StepData_Plex::ECDescr | ( | ) | const |
const StepData_Field& StepData_Plex::Field | ( | const Standard_CString | name | ) | const [virtual] |
Implements StepData_Described.
Standard_Boolean StepData_Plex::HasField | ( | const Standard_CString | name | ) | const [virtual] |
Implements StepData_Described.
Standard_Boolean StepData_Plex::IsComplex | ( | ) | const [virtual] |
Implements StepData_Described.
Standard_Boolean StepData_Plex::Matches | ( | const Standard_CString | steptype | ) | const [virtual] |
Implements StepData_Described.
Handle_StepData_Simple StepData_Plex::Member | ( | const Standard_Integer | num | ) | const |
Standard_Integer StepData_Plex::NbMembers | ( | ) | const |
void StepData_Plex::Shared | ( | Interface_EntityIterator & | list | ) | const [virtual] |
Implements StepData_Described.
Handle_TColStd_HSequenceOfAsciiString StepData_Plex::TypeList | ( | ) | const |