Class Ifc4x1::IfcTypeResource

Nested Relationships

This class is a nested type of Struct Ifc4x1.

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class Ifc4x1::IfcTypeResource : public Ifc4x1::IfcTypeObject

IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template.

An IfcTypeResource may have a list of property sets attached. Values of these properties are common to all occurrences of that resource type. The type occurrence relationship is realized using the objectified relationship IfcRelDefinesByType.

Subtypes of IfcTypeResource may be exchanged without being already assigned to subtypes of IfcResource.

HISTORY New entity in IFC2x4.

Property set use definition An IfcTypeResource may have a list of property sets attached, accessible by the attribute SELF\IfcTypeObject.HasPropertySets. Currently there are no predefined property sets defined as part of the IFC specification.

NOTE: For property sets, a property within an occurrence property set that is assigned at the resource occurrence, overrides the same property assigned to the resource type.

Subclassed by Ifc4x1::IfcConstructionResourceType

Public Types

typedef IfcTemplatedEntityList<IfcTypeResource> list

Public Functions

bool hasIdentification() const

Whether the optional attribute Identification is defined for this IfcTypeResource.

std::string Identification() const

An identifying designation given to a resource type.

void setIdentification(std::string v)
bool hasLongDescription() const

Whether the optional attribute LongDescription is defined for this IfcTypeResource.

std::string LongDescription() const

An long description, or text, describing the resource in detail.

NOTE The inherited SELF\IfcRoot.Description attribute is used as the short description.

void setLongDescription(std::string v)
bool hasResourceType() const

Whether the optional attribute ResourceType is defined for this IfcTypeResource.

std::string ResourceType() const

The type denotes a particular type that indicates the resource further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute ‘PredefinedType’ is set to USERDEFINED.

void setResourceType(std::string v)
IfcTemplatedEntityList<IfcRelAssignsToResource>::ptr ResourceOf() const
const IfcParse::entity &declaration() const
IfcTypeResource(IfcEntityInstanceData *e)
IfcTypeResource(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, boost::optional<std::string> v5_ApplicableOccurrence, boost::optional<IfcTemplatedEntityList<::Ifc4x1::IfcPropertySetDefinition>::ptr> v6_HasPropertySets, boost::optional<std::string> v7_Identification, boost::optional<std::string> v8_LongDescription, boost::optional<std::string> v9_ResourceType)

Public Static Functions

const IfcParse::entity &Class()