|
CFx SDK Documentation 2026 SP0
|
#include <IfcPortAutoImpl.h>
Public Member Functions | |
| void | getInvContainedIn (OdDAIObjectIds &ContainedIn) const |
| void | getInvConnectedFrom (OdDAIObjectIds &ConnectedFrom) const |
| void | getInvConnectedTo (OdDAIObjectIds &ConnectedTo) const |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual bool | comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const 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 OdIfc4::IfcProduct | |
| const OdDAIObjectId & | getObjectPlacement () const |
| void | setObjectPlacement (const OdDAIObjectId &ObjectPlacement) |
| const OdDAIObjectId & | getRepresentation () const |
| void | setRepresentation (const OdDAIObjectId &Representation) |
| void | getInvReferencedBy (OdDAIObjectIds &ReferencedBy) const |
| virtual void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc4::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 OdIfc4::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 OdIfc4::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 OdIfc4::OdIfc4Instance | |
| 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 Member Functions | |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
Friends | |
| class | IfcRelConnectsPortToElement |
| class | IfcRelConnectsPorts |
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) |
Protected Attributes inherited from OdIfc4::IfcProduct | |
| OdDAIObjectId | m_ObjectPlacement |
| OdDAIObjectId | m_Representation |
Protected Attributes inherited from OdIfc4::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc4::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 |
A port provides the means for an element to connect to other elements.
An IfcPort is associated with an IfcElement, it belongs to through the objectified relationship IfcRelNests if such port is fixed, or IfcRelConnectsPortToElement if such port is dynamically attached. Exactly two ports, belonging to two different elements, are connected with each other through the objectified relationship IfcRelConnectsPorts.
An instance of IfcElement can have one or more points at which it connects to other instances of IfcElement. An instance of IfcPort is located at a point where a connection can occur. The location of the port is determined in the context of the local coordinate system of the element to which it belongs.
The local placement for IfcPort is defined in its supertype IfcProduct. It is defined by the IfcLocalPlacement, which defines the local coordinate system that is referenced by all geometric representations. The PlacementRelTo relationship of IfcLocalPlacement points to the local placement of the master IfcElement or IfcElementType (relevant subtypes), which is related to the IfcPort by the relationship object IfcRelNests for fixed ports, or IfcRelConnectsPortToElement for dynamic ports.
\changes
IFC4 changes: Type of the inverse attribute ContainedIn changed from "IfcRelConnectsPortToElement FOR RelatingPort" to "SET OF [0:1] IfcRelConnectsPortToElement FOR RelatingPort".
Definition at line 57 of file Ifc4/IfcPortAutoImpl.h.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
overrideprotectedvirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4::IfcProduct.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
| void OdIfc4::IfcPort::getInvConnectedFrom | ( | OdDAIObjectIds & | ConnectedFrom | ) | const |
Returns the value of ConnectedFrom attribute. This attribute represents reference to a port that is connected by the objectified relationship.
| ConnectedFrom | [out] Receives the value of ConnectedFrom attribute. |
| void OdIfc4::IfcPort::getInvConnectedTo | ( | OdDAIObjectIds & | ConnectedTo | ) | const |
Returns the value of ConnectedTo attribute. This attribute represents reference to the port connection relationship. The relationship then refers to the other port to which this port is connected.
| ConnectedTo | [out] Receives the value of ConnectedTo attribute. |
| void OdIfc4::IfcPort::getInvContainedIn | ( | OdDAIObjectIds & | ContainedIn | ) | const |
Returns the value of ContainedIn attribute. This attribute represents reference to the element to port connection relationship. The relationship then refers to the element in which this port is contained.
| ContainedIn | [out] Receives the value of ContainedIn attribute. |
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
overrideprotectedvirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4::IfcProduct.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4::IfcProduct.
Reimplemented in OdIfc4::IfcDistributionPort.
|
friend |
Definition at line 211 of file Ifc4/IfcPortAutoImpl.h.
|
friend |
Definition at line 210 of file Ifc4/IfcPortAutoImpl.h.