Class Ifc4x2::IfcActorRole¶
Defined in File Ifc4x2.h
Nested Relationships¶
This class is a nested type of Struct Ifc4x2.
Inheritance Relationships¶
Base Type¶
public IfcUtil::IfcBaseEntity
(Class IfcBaseEntity)
Class Documentation¶
-
class
Ifc4x2
::
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
-
::Ifc4x2::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
(::Ifc4x2::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)¶
-
IfcTemplatedEntityList<IfcExternalReferenceRelationship>::ptr
HasExternalReference
() const¶
-
IfcActorRole
(IfcEntityInstanceData *e)¶
-
IfcActorRole
(::Ifc4x2::IfcRoleEnum::Value v1_Role, boost::optional<std::string> v2_UserDefinedRole, boost::optional<std::string> v3_Description)¶
-
typedef IfcTemplatedEntityList<IfcActorRole>