Open CASCADE Technology 6.6.0
|
defines SingleParent, Type <402> Form <9>
in package IGESBasic
It defines a logical structure of one independent
(parent) entity and one or more subordinate (children)
entities
#include <IGESBasic_SingleParent.hxx>
Public Member Functions | |
IGESBasic_SingleParent () | |
void | Init (const Standard_Integer nbParentEntities, const Handle< IGESData_IGESEntity > &aParentEntity, const Handle< IGESData_HArray1OfIGESEntity > &allChildren) |
This method is used to set the fields of the class SingleParent | |
Standard_Integer | NbParentEntities () const |
returns the number of Parent Entities, which should be 1 | |
Handle_IGESData_IGESEntity | SingleParent () const |
Returns the Parent Entity (inherited method) | |
Standard_Integer | NbChildren () const |
returns the number of children of the Parent | |
Handle_IGESData_IGESEntity | Child (const Standard_Integer Index) const |
returns the specific child as indicated by Index raises exception if Index <= 0 or Index > NbChildren() |
IGESBasic_SingleParent::IGESBasic_SingleParent | ( | ) |
Handle_IGESData_IGESEntity IGESBasic_SingleParent::Child | ( | const Standard_Integer | Index | ) | const [virtual] |
Implements IGESData_SingleParentEntity.
void IGESBasic_SingleParent::Init | ( | const Standard_Integer | nbParentEntities, |
const Handle< IGESData_IGESEntity > & | aParentEntity, | ||
const Handle< IGESData_HArray1OfIGESEntity > & | allChildren | ||
) |
Standard_Integer IGESBasic_SingleParent::NbChildren | ( | ) | const [virtual] |
Implements IGESData_SingleParentEntity.
Standard_Integer IGESBasic_SingleParent::NbParentEntities | ( | ) | const |
Handle_IGESData_IGESEntity IGESBasic_SingleParent::SingleParent | ( | ) | const [virtual] |
Implements IGESData_SingleParentEntity.