Class Ifc2x3::IfcActorRole

Nested Relationships

This class is a nested type of Struct Ifc2x3.

Inheritance Relationships

Base Type

Class Documentation

class Ifc2x3::IfcActorRole : public IfcUtil::IfcBaseEntity

Definition: A role which is performed by an actor, either a person, an organization or a person related to an organization.

NOTE: The list of roles of the enumeration values of the Role attribute can never be complete. Therefore using enumeration value USERDEFINED, the user can provide his/her own role as a value of the attribute UserDefinedRole.

Corresponds to the following entity in ISO-10303-41: organization_role and person_role.

HISTORY New entity in IFC Release 1.5.1

Public Types

typedef IfcTemplatedEntityList<IfcActorRole> list

Public Functions

::Ifc2x3::IfcRoleEnum::Value Role() const

The name of the role played by an actor. If the Role has value USERDEFINED, then the user defined role shall be provided as a value of the attribute UserDefinedRole.

void setRole(::Ifc2x3::IfcRoleEnum::Value v)
bool hasUserDefinedRole() const

Whether the optional attribute UserDefinedRole is defined for this IfcActorRole.

std::string UserDefinedRole() const

Allows for specification of user defined roles beyond the enumeration values provided by Role attribute of type IfcRoleEnum. When a value is provided for attribute UserDefinedRole in parallel the attribute Role shall have enumeration value USERDEFINED.

void setUserDefinedRole(std::string v)
bool hasDescription() const

Whether the optional attribute Description is defined for this IfcActorRole.

std::string Description() const

A textual description relating the nature of the role played by an actor.

void setDescription(std::string v)
const IfcParse::entity &declaration() const
IfcActorRole(IfcEntityInstanceData *e)
IfcActorRole(::Ifc2x3::IfcRoleEnum::Value v1_Role, boost::optional<std::string> v2_UserDefinedRole, boost::optional<std::string> v3_Description)

Public Static Functions

const IfcParse::entity &Class()