Class Ifc4x2::IfcLibraryReference

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x2::IfcLibraryReference : public Ifc4x2::IfcExternalReference

An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation.

The ifcLibraryReference additionally provides the capability to handle multilingual library entries. The Language attribute then holds the language tag for the language used by the strings kept in the Name and the Description attribute.

HISTORY New Entity in IFC2.0.

IFC2x4 CHANGE Description and Language attribute added; ReferencedLibrary attribute added (reversing previous ReferenceIntoLibrary inverse relationship).

Public Types

typedef IfcTemplatedEntityList<IfcLibraryReference> list

Public Functions

bool hasDescription() const

Whether the optional attribute Description is defined for this IfcLibraryReference.

std::string Description() const

Additional description provided for the library reference.

IFC2x4 CHANGE New attribute added at the end of the attribute list.

void setDescription(std::string v)
bool hasLanguage() const

Whether the optional attribute Language is defined for this IfcLibraryReference.

std::string Language() const

The language in which a library reference is expressed.

IFC2x4 CHANGE New attribute added at the end of the attribute list.

void setLanguage(std::string v)
bool hasReferencedLibrary() const

Whether the optional attribute ReferencedLibrary is defined for this IfcLibraryReference.

::Ifc4x2::IfcLibraryInformation *ReferencedLibrary() const

The library information that is being referenced.

void setReferencedLibrary(::Ifc4x2::IfcLibraryInformation *v)
IfcTemplatedEntityList<IfcRelAssociatesLibrary>::ptr LibraryRefForObjects() const
const IfcParse::entity &declaration() const
IfcLibraryReference(IfcEntityInstanceData *e)
IfcLibraryReference(boost::optional<std::string> v1_Location, boost::optional<std::string> v2_Identification, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, boost::optional<std::string> v5_Language, ::Ifc4x2::IfcLibraryInformation *v6_ReferencedLibrary)

Public Static Functions

const IfcParse::entity &Class()