|
CFx SDK Documentation 2026 SP0
|
#include <IfcConstructionResourceAutoImpl.h>
Public Member Functions | |
| const OdDAIObjectId & | getUsage () const |
| void | setUsage (const OdDAIObjectId &Usage) |
| void | getBaseCosts (OdDAIObjectIds &BaseCosts) const |
| OdDAI::ListOfOdDAIObjectId & | baseCosts () |
| const OdDAIObjectId & | getBaseQuantity () const |
| void | setBaseQuantity (const OdDAIObjectId &BaseQuantity) |
| 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 OdIfc4x1::IfcResource | |
| const OdAnsiString & | getIdentification () const |
| void | setIdentification (const OdAnsiString &Identification) |
| const OdAnsiString & | getLongDescription () const |
| void | setLongDescription (const OdAnsiString &LongDescription) |
| void | getInvResourceOf (OdDAIObjectIds &ResourceOf) const |
| IfcResource () | |
Public Member Functions inherited from OdIfc4x1::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 OdIfc4x1::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 OdIfc4x1::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 OdIfc4x1::OdIfc4x1Instance | |
| 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 | |
| OdDAIObjectId | m_Usage |
| OdDAI::ListOfOdDAIObjectId | m_BaseCosts |
| OdDAIObjectId | m_BaseQuantity |
Protected Attributes inherited from OdIfc4x1::IfcResource | |
| OdAnsiString | m_Identification |
| OdAnsiString | m_LongDescription |
Protected Attributes inherited from OdIfc4x1::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc4x1::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) |
IfcConstructionResource is an abstract generalization of the different resources used in construction projects, mainly labor, material, equipment and product resources, plus subcontracted resources and aggregations such as a crew resource.
A resource represents "use of something" and does not necessarily correspond to a single item such as a person or vehicle, but represents a pool of items having limited availability such as general labor or an equipment fleet. A resource can represent either a generic resource pool (not having any task assignment) or a task-specific resource allocation (having an IfcTask assignment).
The image below illustrates resource assignment.
<IMAGE ifcconstructionresource-assignment>
<IMAGE ifcconstructionresource-baseline>
\changes
IFC4 changes: Name of the ResourceConsumption attribute changed from "ResourceConsumption" to "BaseQuantity" Type of the ResourceConsumption attribute changed from "IfcResourceConsumptionEnum" to "IfcPhysicalQuantity" Name of the ResourceGroup attribute changed from "ResourceGroup" to "BaseCosts" Type of the ResourceGroup attribute changed from "IfcLabel" to "list[1:?] of IfcAppliedValue" Name of the ResourceIdentifier attribute changed from "ResourceIdentifier" to "Usage" Type of the ResourceIdentifier attribute changed from "IfcIdentifier" to "IfcResourceTime"
Definition at line 106 of file Ifc4x1/IfcConstructionResourceAutoImpl.h.
| OdDAI::ListOfOdDAIObjectId & OdIfc4x1::IfcConstructionResource::baseCosts | ( | ) |
Gets the value of BaseCosts attribute. This attribute represents indicates the unit costs for which accrued amounts should be calculated. Such unit costs can be split into Name designations (for example, 'Standard', 'Overtime'), and can contain a hierarchy of cost values that apply at different dates (using IfcCostValue.ApplicableDate and IfcCostValue.FixedUntilDate).
| BaseCosts | [out] Receives the base costs. |
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
| void OdIfc4x1::IfcConstructionResource::getBaseCosts | ( | OdDAIObjectIds & | BaseCosts | ) | const |
Returns the value of BaseCosts attribute. This attribute represents indicates the unit costs for which accrued amounts should be calculated. Such unit costs can be split into Name designations (for example, 'Standard', 'Overtime'), and can contain a hierarchy of cost values that apply at different dates (using IfcCostValue.ApplicableDate and IfcCostValue.FixedUntilDate).
| const OdDAIObjectId & OdIfc4x1::IfcConstructionResource::getBaseQuantity | ( | ) | const |
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
| const OdDAIObjectId & OdIfc4x1::IfcConstructionResource::getUsage | ( | ) | const |
Returns the value of Usage attribute. This attribute represents indicates the work, usage, and times scheduled and completed. Some attributes on this object can have associated constraints or time series (see IfcResourceTime). If the resource is nested, then certain values can be calculated based on the component resources as indicated at IfcResourceTime.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::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 OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
| void OdIfc4x1::IfcConstructionResource::setBaseQuantity | ( | const OdDAIObjectId & | BaseQuantity | ) |
| void OdIfc4x1::IfcConstructionResource::setUsage | ( | const OdDAIObjectId & | Usage | ) |
Sets the value of Usage attribute. This attribute represents indicates the work, usage, and times scheduled and completed. Some attributes on this object can have associated constraints or time series (see IfcResourceTime). If the resource is nested, then certain values can be calculated based on the component resources as indicated at IfcResourceTime.
| Usage | [in] Usage to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x1::IfcResource.
Reimplemented in OdIfc4x1::IfcConstructionEquipmentResource, OdIfc4x1::IfcConstructionMaterialResource, OdIfc4x1::IfcConstructionProductResource, OdIfc4x1::IfcCrewResource, OdIfc4x1::IfcLaborResource, and OdIfc4x1::IfcSubContractResource.
|
protected |
Definition at line 268 of file Ifc4x1/IfcConstructionResourceAutoImpl.h.
|
protected |
Definition at line 270 of file Ifc4x1/IfcConstructionResourceAutoImpl.h.
|
protected |
Definition at line 267 of file Ifc4x1/IfcConstructionResourceAutoImpl.h.