Defined in File Ifc4x3_rc1.h
IfcLabel: public IfcUtil::IfcBaseType¶
Definition from ISO/CD 10303-41:1992: A label is the term by which something may be referred to. It is a string which represents the human-interpretable name of something and shall have a natural-language meaning.
Type: STRING of up to 255 characters
NOTE Corresponding STEP name: label, please refer to ISO/IS 10303-41 for the final definition of the formal standard.
HISTORY New type in IFC Release 2x. IFC 2x4 CHANGE: Previously recommended size restriction of 255 characters is now mandatory.
As a human-readable string for naming purposes, a label is usually human-specified and locale-dependent (in contrast to purely machine-readable identifiers, IfcIdentifier).
Per ISO 10303-11, the set of characters that may appear in STRINGs is defined in ISO 10646. The encoding of characters in case of file-based exchange is defined in ISO 10303-21 (STEP physical files) and ISO 10303-28 (XML files). Among else, these specifications define the encoding of 8-bit characters from ISO 8859-1…-16 and of 2-byte Unicode characters.
Note that while IfcLabel is restricted to 255 characters, the size in exchange files after encoding may be considerably larger than 255 octets, depending on the particular encoding and on the contents of the label.
Subclassed by Ifc4x3_rc1::IfcBoxAlignment
operator std::string() const¶