|
CFx SDK Documentation 2026 SP0
|
#include <IfcElementAssemblyAutoImpl.h>
Public Member Functions | |
| IfcAssemblyPlaceEnum | getAssemblyPlace () const |
| void | setAssemblyPlace (IfcAssemblyPlaceEnum AssemblyPlace) |
| IfcElementAssemblyTypeEnum | getPredefinedType () const |
| void | setPredefinedType (IfcElementAssemblyTypeEnum PredefinedType) |
| IfcElementAssembly () | |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
| virtual bool | isKindOf (OdIfc::OdIfcEntityType entityType) const override |
| virtual OdIfc::OdIfcEntityType | type () const override |
| virtual OdRxValue | getAttr (const OdIfc::OdIfcAttribute attrDef) const override |
| virtual void | unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override |
| virtual bool | testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override |
| virtual bool | putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override |
Public Member Functions inherited from OdIfc4x2::IfcElement | |
| const OdAnsiString & | getTag () const |
| void | setTag (const OdAnsiString &Tag) |
| void | getInvFillsVoids (OdDAIObjectIds &FillsVoids) const |
| void | getInvConnectedTo (OdDAIObjectIds &ConnectedTo) const |
| void | getInvIsInterferedByElements (OdDAIObjectIds &IsInterferedByElements) const |
| void | getInvInterferesElements (OdDAIObjectIds &InterferesElements) const |
| void | getInvHasProjections (OdDAIObjectIds &HasProjections) const |
| void | getInvReferencedInStructures (OdDAIObjectIds &ReferencedInStructures) const |
| void | getInvHasOpenings (OdDAIObjectIds &HasOpenings) const |
| void | getInvIsConnectionRealization (OdDAIObjectIds &IsConnectionRealization) const |
| void | getInvProvidesBoundaries (OdDAIObjectIds &ProvidesBoundaries) const |
| void | getInvConnectedFrom (OdDAIObjectIds &ConnectedFrom) const |
| void | getInvContainedInStructure (OdDAIObjectIds &ContainedInStructure) const |
| void | getInvHasCoverings (OdDAIObjectIds &HasCoverings) const |
| IfcElement () | |
Public Member Functions inherited from OdIfc4x2::IfcProduct | |
| const OdDAIObjectId & | getObjectPlacement () const |
| void | setObjectPlacement (const OdDAIObjectId &ObjectPlacement) |
| const OdDAIObjectId & | getRepresentation () const |
| void | setRepresentation (const OdDAIObjectId &Representation) |
| void | getInvReferencedBy (OdDAIObjectIds &ReferencedBy) const |
| void | getInvPositionedRelativeTo (OdDAIObjectIds &PositionedRelativeTo) const |
| virtual void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc4x2::IfcObject | |
| const OdAnsiString & | getObjectType () const |
| void | setObjectType (const OdAnsiString &ObjectType) |
| void | getInvIsDeclaredBy (OdDAIObjectIds &IsDeclaredBy) const |
| void | getInvDeclares (OdDAIObjectIds &Declares) const |
| void | getInvIsTypedBy (OdDAIObjectIds &IsTypedBy) const |
| void | getInvIsDefinedBy (OdDAIObjectIds &IsDefinedBy) const |
| IfcObject () | |
Public Member Functions inherited from OdIfc4x2::IfcObjectDefinition | |
| void | getInvHasAssignments (OdDAIObjectIds &HasAssignments) const |
| void | getInvNests (OdDAIObjectIds &Nests) const |
| void | getInvIsNestedBy (OdDAIObjectIds &IsNestedBy) const |
| void | getInvHasContext (OdDAIObjectIds &HasContext) const |
| void | getInvIsDecomposedBy (OdDAIObjectIds &IsDecomposedBy) const |
| void | getInvDecomposes (OdDAIObjectIds &Decomposes) const |
| void | getInvHasAssociations (OdDAIObjectIds &HasAssociations) const |
Public Member Functions inherited from OdIfc4x2::IfcRoot | |
| OdDAI::CompressedGUID | getGlobalId () const |
| void | setGlobalId (OdDAI::CompressedGUID GlobalId) |
| const OdDAIObjectId & | getOwnerHistory () const |
| void | setOwnerHistory (const OdDAIObjectId &OwnerHistory) |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| IfcRoot () | |
Public Member Functions inherited from OdIfc4x2::OdIfc4x2Instance | |
| void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc::OdIfcInstance | |
| ODRX_DECLARE_MEMBERS (OdIfcInstance) | |
| OdIfcInstance () | |
| ~OdIfcInstance () | |
| bool | isInstanceOf (OdIfcEntityType entityType) const |
| IfcOpResult | resolved () |
| void | resolve (IfcOpResult resolved, void *resPtr) |
| void | unresolve () |
| virtual void | setGsNode (OdGsCache *pGsNode) |
| virtual OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdDAI::Enum | m_AssemblyPlace |
| OdDAI::Enum | m_PredefinedType |
Protected Attributes inherited from OdIfc4x2::IfcElement | |
| OdAnsiString | m_Tag |
Protected Attributes inherited from OdIfc4x2::IfcProduct | |
| OdDAIObjectId | m_ObjectPlacement |
| OdDAIObjectId | m_Representation |
Protected Attributes inherited from OdIfc4x2::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc4x2::IfcRoot | |
| OdDAI::CompressedGUID | m_GlobalId |
| OdDAIObjectId | m_OwnerHistory |
| OdAnsiString | m_Name |
| OdAnsiString | m_Description |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
The IfcElementAssembly represents complex element assemblies aggregated from several elements, such as discrete elements, building elements, or other elements. The geometry of an IfcElementAssembly is generally formed from its components, in which case it does not need to have an explicit geometric representation. In some cases it can be useful to also expose an own explicit representation of the aggregate.
Aggregation - The IfcElementAssembly represents an aggregate, i.e. it should have other elements of IfcElement subtypes as contained (sub)parts.
The IfcElementAssembly is an aggregate i.e. being composed by other elements and acting as an assembly using the objectified relationship IfcRelAggregates, referring to it by its inverse attribute SELF\IfcObjectDefinition.IsDecomposedBy. Components of an assembly are described by instances of subtypes of IfcElement. In this case, the contained subtypes of IfcElement is not additionally contained in the project spatial hierarchy, i.e. the inverse attribute SELF\IfcElement.ContainedInStructure of those IfcElement's should be NIL.
The image below illustrates spatial containment and element aggregation relationships:
<IMAGE ifcelementassembly-containment>
Description IfcBuildingStorey Default spatial container IfcBuilding Spatial container for element assemblies not assignable to a building storey IfcSite Spatial container for element assemblies that are placed on site (outside of building)
The IfcElementAssembly should have a relationship for its containment in the hierarchical spatial structure of the project. Only if the IfcElementAssembly is itself a part of another assembly this relationship should be omitted.
\changes
IFC4 changes: Attribute PredefinedType is optional.
Definition at line 80 of file Ifc4x2/IfcElementAssemblyAutoImpl.h.
| OdIfc4x2::IfcElementAssembly::IfcElementAssembly | ( | ) |
Default constructor for the IfcElementAssembly class.
| IfcAssemblyPlaceEnum OdIfc4x2::IfcElementAssembly::getAssemblyPlace | ( | ) | const |
Returns the value of AssemblyPlace attribute. This attribute represents a designation of where the assembly is intended to take place defined by an enumeration value.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x2::IfcElement.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x2::IfcElement.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x2::IfcElement.
| IfcElementAssemblyTypeEnum OdIfc4x2::IfcElementAssembly::getPredefinedType | ( | ) | const |
Returns the value of PredefinedType attribute. This attribute represents a list of types to further identify the object. Some property sets can be specifically applicable to one of these types.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x2::IfcElement.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x2::IfcElement.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x2::IfcElement.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcElement.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcElement.
| void OdIfc4x2::IfcElementAssembly::setAssemblyPlace | ( | IfcAssemblyPlaceEnum | AssemblyPlace | ) |
Sets the value of AssemblyPlace attribute. This attribute represents a designation of where the assembly is intended to take place defined by an enumeration value.
| AssemblyPlace | [in] Assembly place to set. |
| void OdIfc4x2::IfcElementAssembly::setPredefinedType | ( | IfcElementAssemblyTypeEnum | PredefinedType | ) |
Sets the value of PredefinedType attribute. This attribute represents a list of types to further identify the object. Some property sets can be specifically applicable to one of these types.
| PredefinedType | [in] Predefined type to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x2::IfcElement.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x2::IfcElement.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x2::IfcElement.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x2::IfcElement.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcElement.
|
protected |
Definition at line 240 of file Ifc4x2/IfcElementAssemblyAutoImpl.h.
|
protected |
Definition at line 241 of file Ifc4x2/IfcElementAssemblyAutoImpl.h.