|
CFx SDK Documentation 2026 SP0
|
#include <IfcResourceAutoImpl.h>
Public Member Functions | |
| void | getInvResourceOf (OdDAIObjectIds &ResourceOf) const |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () 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 OdIfc2x2_final::IfcObject | |
| const OdAnsiString & | getObjectType () const |
| void | setObjectType (const OdAnsiString &ObjectType) |
| void | getInvIsDefinedBy (OdDAIObjectIds &IsDefinedBy) const |
| void | getInvHasAssociations (OdDAIObjectIds &HasAssociations) const |
| void | getInvHasAssignments (OdDAIObjectIds &HasAssignments) const |
| void | getInvDecomposes (OdDAIObjectIds &Decomposes) const |
| void | getInvIsDecomposedBy (OdDAIObjectIds &IsDecomposedBy) const |
| IfcObject () | |
Public Member Functions inherited from OdIfc2x2_final::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 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 | IfcRelAssignsToResource |
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 OdIfc2x2_final::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc2x2_final::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 |
IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship).
There are two basic intended uses of IfcResource. First, if the attributes of the thing are not needed for the purpose of the use of IfcResource, or the types of things are not explicitly modeled in IFC yet, then the linkage between the resource and the thing doesn't have to be instantiated in the system. That is, the attributes of IfcResource (or its subtypes) alone are sufficient to represent the use of the thing as a resource for the purpose of the project.
If the attributes of the thing are needed for the use of IfcResource objects, and they are modeled explicitly as objects, then the IfcResource instances can be linked to the instances of the type of the things being referenced. Things that might be used as resources and that are already modeled in the IFC include physical products, people and organizations, and materials. The relationship object IfcRelAssignsToResource is provided for this approach. The inherited attribute ObjectType is used as a textual code that identifies the resource type.
Definition at line 61 of file Ifc2x2_Final/IfcResourceAutoImpl.h.
|
overrideprotectedvirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcSubContractResource.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionEquipmentResource, OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionProductResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcCrewResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
| void OdIfc2x2_final::IfcResource::getInvResourceOf | ( | OdDAIObjectIds & | ResourceOf | ) | const |
Returns the value of ResourceOf attribute. This attribute represents set of relationships to other objects, e.g. products, processes, controls, resources or actors, for which this resource object is a resource.
| ResourceOf | [out] Receives the value of ResourceOf attribute. |
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionEquipmentResource, OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionProductResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcCrewResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
|
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 OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcSubContractResource.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionEquipmentResource, OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionProductResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcCrewResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc2x2_final::IfcObject.
Reimplemented in OdIfc2x2_final::IfcConstructionMaterialResource, OdIfc2x2_final::IfcConstructionResource, OdIfc2x2_final::IfcLaborResource, and OdIfc2x2_final::IfcSubContractResource.
|
friend |
Definition at line 177 of file Ifc2x2_Final/IfcResourceAutoImpl.h.