Open CASCADE Technology 6.6.0
Public Member Functions
IGESBasic_SingleParent Class Reference

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>

Inheritance diagram for IGESBasic_SingleParent:
Inheritance graph
[legend]

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()


Constructor & Destructor Documentation

IGESBasic_SingleParent::IGESBasic_SingleParent ( )

Member Function Documentation

Handle_IGESData_IGESEntity IGESBasic_SingleParent::Child ( const Standard_Integer  Index) const [virtual]
void IGESBasic_SingleParent::Init ( const Standard_Integer  nbParentEntities,
const Handle< IGESData_IGESEntity > &  aParentEntity,
const Handle< IGESData_HArray1OfIGESEntity > &  allChildren 
)
  • nbParentEntities : Indicates number of Parents, always = 1
  • aParentEntity : Used to hold the Parent Entity
  • allChildren : Used to hold the children
Standard_Integer IGESBasic_SingleParent::NbChildren ( ) const [virtual]
Standard_Integer IGESBasic_SingleParent::NbParentEntities ( ) const
Handle_IGESData_IGESEntity IGESBasic_SingleParent::SingleParent ( ) const [virtual]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines