Hide menu
Loading...
Searching...
No Matches
cadex::ModelData_BIMCompositeElement Class Reference

Composite Element represents the complex BIM Element, consisting of several other BIM Elements. Potentially it can contain other Composite Elements representing hierarchichal structure. More...

Inheritance diagram for cadex::ModelData_BIMCompositeElement:
cadex::ModelData_BIMElement cadex::ModelData_BIMBaseObject cadex::Base_PublicObject

Classes

class  ElementIterator
 Iterator over elements contained. More...
 

Public Member Functions

 ModelData_BIMCompositeElement ()
 Constructor.
 
void Add (const ModelData_BIMElement &theElement)
 Adds an element to this composite element.
 
size_t NumberOfElements () const
 Returns the number of elements contained.
 
void Accept (ModelData_BIMVisitor &theVisitor) const
 Accepts a visitor.
 
 ModelData_BIMCompositeElement (internal::ModelData_BIMCompositeElementImpl *theImpl)
 Constructor.
 
- Public Member Functions inherited from cadex::ModelData_BIMElement
 ModelData_BIMElement ()
 Constructor.
 
 ModelData_BIMElement (internal::ModelData_BIMElementImpl *theImpl)
 Constructor.
 
- Public Member Functions inherited from cadex::ModelData_BIMBaseObject
 ModelData_BIMBaseObject ()
 Constructor.
 
ModelData_BIMPropertyLibrary Properties () const
 Returns the object for managing element properties.
 
void Accept (ModelData_BIMVisitor &theVisitor) const
 Accepts a visitor.
 
const Base_UTF16StringName () const
 Returns an element name.
 
void SetName (const Base_UTF16String &theName)
 Sets an element name.
 
void SetUuid (const Base_Uuid &theUuid)
 Sets an element UUID.
 
Base_Uuid Uuid () const
 Returns an element UUID.
 
template<typename T >
bool IsOfType () const
 
- Public Member Functions inherited from cadex::Base_PublicObject
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull () const
 Returns true if the object is nullified.
 
 operator bool () const
 Casts the object to the bool type.
 
internal::Base_HandledObject * Impl () const
 Return a handle to backend (reserved for internal use).
 

Static Public Member Functions

static bool CompareType (const ModelData_BIMBaseObject &theElement)
 Returns whether the specified element is a composite element instance.
 
- Static Public Member Functions inherited from cadex::ModelData_BIMElement
static bool CompareType (const ModelData_BIMBaseObject &theElement)
 Returns whether the specified element is a single element instance.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::ModelData_BIMBaseObject
 ModelData_BIMBaseObject (internal::ModelData_BIMBaseObjectImpl *theImpl)
 Constructor.
 
- Protected Member Functions inherited from cadex::Base_PublicObject
 Base_PublicObject (const internal::Base_HandledObject *theObject)
 Constructor (reserved for internal use).
 
template<typename T >
T * GetOrCreateImpl ()
 Reserved for internal use.
 

Detailed Description

Composite Element represents the complex BIM Element, consisting of several other BIM Elements. Potentially it can contain other Composite Elements representing hierarchichal structure.

Examples
bim/exploring/Program.cs, and bim/exploring/main.cxx.

Constructor & Destructor Documentation

◆ ModelData_BIMCompositeElement()

cadex::ModelData_BIMCompositeElement::ModelData_BIMCompositeElement ( )

Constructor.

Creates the composite element.