Class Ifc2x3::IfcText

Nested Relationships

This class is a nested type of Struct Ifc2x3.

Inheritance Relationships

Base Type

Class Documentation

class Ifc2x3::IfcText : public IfcUtil::IfcBaseType

Definition from ISO/CD 10303-41:1992: A text is an alphanumeric string of characters which is intended to be read and understood by a human being. It is for information purposes only.


NOTE Corresponding STEP name: text, please refer to ISO/IS 10303-41 for the final definition of the formal standard.

HISTORY New type in IFC Release 2x.

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 IfcText is not formally restricted in length, the size of a string in ISO 10303-21:2002 conforming exchange files must not exceed 32767 octets after encoding and escaping.

Public Functions

const IfcParse::type_declaration &declaration() const
IfcText(IfcEntityInstanceData *e)
IfcText(std::string v)
operator std::string() const

Public Static Functions

const IfcParse::type_declaration &Class()