|
CFx SDK Documentation 2026 SP0
|
#include <IfcResourceAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getIdentification () const |
| void | setIdentification (const OdAnsiString &Identification) |
| const OdAnsiString & | getLongDescription () const |
| void | setLongDescription (const OdAnsiString &LongDescription) |
| void | getInvResourceOf (OdDAIObjectIds &ResourceOf) const |
| IfcResource () | |
| 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::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 | |
| OdAnsiString | m_Identification |
| OdAnsiString | m_LongDescription |
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 |
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) |
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 Ifc4x2/IfcResourceAutoImpl.h.
| OdIfc4x2::IfcResource::IfcResource | ( | ) |
Default constructor for the IfcResource class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
| const OdAnsiString & OdIfc4x2::IfcResource::getIdentification | ( | ) | const |
Returns the value of Identification attribute. This attribute represents an identifying designation given to a resource. It is the identifier at the occurrence level.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
| void OdIfc4x2::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. |
| const OdAnsiString & OdIfc4x2::IfcResource::getLongDescription | ( | ) | const |
Returns the value of LongDescription attribute. This attribute represents a detailed description of the resource (e.g. the skillset for a labor resource).
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
|
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::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
| void OdIfc4x2::IfcResource::setIdentification | ( | const OdAnsiString & | Identification | ) |
Sets the value of Identification attribute. This attribute represents an identifying designation given to a resource. It is the identifier at the occurrence level.
| Identification | [in] Identification to set. |
| void OdIfc4x2::IfcResource::setLongDescription | ( | const OdAnsiString & | LongDescription | ) |
Sets the value of LongDescription attribute. This attribute represents a detailed description of the resource (e.g. the skillset for a labor resource). IFC4 CHANGE: The attribute LongDescription is added replacing the ResourceGroup attribute at subtype IfcConstructionResource.
| LongDescription | [in] Long description to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcObject.
Reimplemented in OdIfc4x2::IfcConstructionEquipmentResource, OdIfc4x2::IfcConstructionMaterialResource, OdIfc4x2::IfcConstructionProductResource, OdIfc4x2::IfcConstructionResource, OdIfc4x2::IfcCrewResource, OdIfc4x2::IfcLaborResource, and OdIfc4x2::IfcSubContractResource.
|
friend |
Definition at line 236 of file Ifc4x2/IfcResourceAutoImpl.h.
|
protected |
Definition at line 232 of file Ifc4x2/IfcResourceAutoImpl.h.
|
protected |
Definition at line 233 of file Ifc4x2/IfcResourceAutoImpl.h.