|
CFx SDK Documentation 2026 SP0
|
#include <IfcContextAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getObjectType () const |
| void | setObjectType (const OdAnsiString &ObjectType) |
| const OdAnsiString & | getLongName () const |
| void | setLongName (const OdAnsiString &LongName) |
| const OdAnsiString & | getPhase () const |
| void | setPhase (const OdAnsiString &Phase) |
| void | getRepresentationContexts (OdDAIObjectIds &RepresentationContexts) const |
| OdDAI::SetOfOdDAIObjectId & | representationContexts () |
| const OdDAIObjectId & | getUnitsInContext () const |
| void | setUnitsInContext (const OdDAIObjectId &UnitsInContext) |
| void | getInvIsDefinedBy (OdDAIObjectIds &IsDefinedBy) const |
| void | getInvDeclares (OdDAIObjectIds &Declares) const |
| IfcContext () | |
| 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 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 | 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 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 Attributes | |
| OdAnsiString | m_ObjectType |
| OdAnsiString | m_LongName |
| OdAnsiString | m_Phase |
| OdDAI::SetOfOdDAIObjectId | m_RepresentationContexts |
| OdDAIObjectId | m_UnitsInContext |
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 |
Friends | |
| class | IfcRelDefinesByProperties |
| class | IfcRelDeclares |
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 Member Functions inherited from OdIfc4::IfcObjectDefinition | |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it can include one or several IfcProjectLibrary's as subtype of IfcContext to register the included libraries for the project. A library of products that is referenced is declared within the IfcProjectLibrary as the context of that library.
A context is declared by the IfcRelDeclares object that refers to the corresponding objects within the context. More specific relationships are introduced at the level of subtypes.
Definition at line 47 of file Ifc4/IfcContextAutoImpl.h.
| OdIfc4::IfcContext::IfcContext | ( | ) |
Default constructor for the IfcContext class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc4::IfcObjectDefinition.
Reimplemented in OdIfc4::IfcProject, and OdIfc4::IfcProjectLibrary.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4::IfcRoot.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4::IfcObjectDefinition.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4::IfcObjectDefinition.
Reimplemented in OdIfc4::IfcProject, and OdIfc4::IfcProjectLibrary.
| void OdIfc4::IfcContext::getInvDeclares | ( | OdDAIObjectIds & | Declares | ) | const |
Returns the value of Declares attribute. This attribute represents reference to the IfcRelDeclares relationship that assigns the uppermost entities of includes hierarchies to this context instance.
| Declares | [out] Receives the value of Declares attribute. |
| void OdIfc4::IfcContext::getInvIsDefinedBy | ( | OdDAIObjectIds & | IsDefinedBy | ) | const |
Returns the value of IsDefinedBy attribute. This attribute represents a set of relationships to property set definitions that are attached to this context. Those statically or dynamically defined properties contain alphanumeric information content that further defines the context.
| IsDefinedBy | [out] Receives the value of IsDefinedBy attribute. |
| const OdAnsiString & OdIfc4::IfcContext::getLongName | ( | ) | const |
Returns the value of LongName attribute. This attribute represents long name for the context as used for reference purposes.
| const OdAnsiString & OdIfc4::IfcContext::getObjectType | ( | ) | const |
Returns the value of ObjectType attribute. This attribute represents the object type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes.
| const OdAnsiString & OdIfc4::IfcContext::getPhase | ( | ) | const |
Returns the value of Phase attribute. This attribute represents current project phase, or life-cycle phase of this project. Applicable values have to be agreed upon by view definitions or implementer agreements.
| void OdIfc4::IfcContext::getRepresentationContexts | ( | OdDAIObjectIds & | RepresentationContexts | ) | const |
Returns the value of RepresentationContexts attribute. This attribute represents context of the representations used within the context. When the context is a project and it includes shape representations for its components, one or several geometric representation contexts need to be included that define e.g. the world coordinate system, the coordinate space dimensions, and/or the precision factor.
| RepresentationContexts | [out] Receives representation contexts. |
| const OdDAIObjectId & OdIfc4::IfcContext::getUnitsInContext | ( | ) | const |
Returns the value of UnitsInContext attribute. This attribute represents units globally assigned to measure types used within the context.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4::IfcObjectDefinition.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4::IfcObjectDefinition.
Reimplemented in OdIfc4::IfcProject, and OdIfc4::IfcProjectLibrary.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4::IfcObjectDefinition.
|
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 OdIfc4::IfcRoot.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4::IfcObjectDefinition.
| OdDAI::SetOfOdDAIObjectId & OdIfc4::IfcContext::representationContexts | ( | ) |
Returns the value of RepresentationContexts attribute. This attribute represents context of the representations used within the context. When the context is a project and it includes shape representations for its components, one or several geometric representation contexts need to be included that define e.g. the world coordinate system, the coordinate space dimensions, and/or the precision factor.
| void OdIfc4::IfcContext::setLongName | ( | const OdAnsiString & | LongName | ) |
Sets the value of LongName attribute. This attribute represents long name for the context as used for reference purposes.
| LongName | [in] Long name to set. |
| void OdIfc4::IfcContext::setObjectType | ( | const OdAnsiString & | ObjectType | ) |
Sets the value of ObjectType attribute. This attribute represents the object type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes.
| ObjectType | [in] Object type to set. |
| void OdIfc4::IfcContext::setPhase | ( | const OdAnsiString & | Phase | ) |
Sets the value of Phase attribute. This attribute represents current project phase, or life-cycle phase of this project. Applicable values have to be agreed upon by view definitions or implementer agreements.
| Phase | [in] Phase to set. |
| void OdIfc4::IfcContext::setUnitsInContext | ( | const OdDAIObjectId & | UnitsInContext | ) |
Sets the value of UnitsInContext attribute. This attribute represents units globally assigned to measure types used within the context.
| UnitsInContext | [in] Units in context to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4::IfcObjectDefinition.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4::IfcObjectDefinition.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4::IfcObjectDefinition.
Reimplemented in OdIfc4::IfcProject, and OdIfc4::IfcProjectLibrary.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4::IfcObjectDefinition.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4::IfcObjectDefinition.
|
friend |
Definition at line 320 of file Ifc4/IfcContextAutoImpl.h.
|
friend |
Definition at line 319 of file Ifc4/IfcContextAutoImpl.h.
|
protected |
Definition at line 312 of file Ifc4/IfcContextAutoImpl.h.
|
protected |
Definition at line 311 of file Ifc4/IfcContextAutoImpl.h.
|
protected |
Definition at line 313 of file Ifc4/IfcContextAutoImpl.h.
|
protected |
Definition at line 314 of file Ifc4/IfcContextAutoImpl.h.
|
protected |
Definition at line 316 of file Ifc4/IfcContextAutoImpl.h.