pub struct ClassificationSystem<'m> { /* private fields */ }Expand description
Borrowed projection of an IFCCLASSIFICATION entity.
Projections handed out by a crate::ClassificationView read against
the release the model declares; one built with try_new has no model
and reads against IFC4, as in 0.2.0.
Implementations§
Source§impl<'m> ClassificationSystem<'m>
impl<'m> ClassificationSystem<'m>
Sourcepub fn try_new(id: EntityId, entity: &'m Entity) -> ClassificationResult<Self>
pub fn try_new(id: EntityId, entity: &'m Entity) -> ClassificationResult<Self>
Project entity as IFCCLASSIFICATION, checking its runtime type; fails with WrongEntityType if it is not.
Without a model there is no header to bind, so the projection reads against IFC4. Use the view’s lookups to read another release.
Source§impl<'m> ClassificationSystem<'m>
impl<'m> ClassificationSystem<'m>
Sourcepub fn source(self) -> ClassificationResult<Option<&'m str>>
pub fn source(self) -> ClassificationResult<Option<&'m str>>
The Source (organization) that publishes this classification system, when authored.
Sourcepub fn edition(self) -> ClassificationResult<Option<&'m str>>
pub fn edition(self) -> ClassificationResult<Option<&'m str>>
The Edition label of this classification system, when authored.
Sourcepub fn edition_date(self) -> ClassificationResult<Option<&'m str>>
pub fn edition_date(self) -> ClassificationResult<Option<&'m str>>
The EditionDate of this classification system, when authored.
Sourcepub fn name(self) -> ClassificationResult<&'m str>
pub fn name(self) -> ClassificationResult<&'m str>
The required Name of this classification system.
Sourcepub fn description(self) -> ClassificationResult<Option<&'m str>>
pub fn description(self) -> ClassificationResult<Option<&'m str>>
The Description of this classification system, when authored.
Sourcepub fn location(self) -> ClassificationResult<Option<&'m str>>
pub fn location(self) -> ClassificationResult<Option<&'m str>>
The Location (e.g. a URI) of this classification system, when authored.
Sourcepub fn reference_tokens(self) -> ClassificationResult<Option<Vec<&'m str>>>
pub fn reference_tokens(self) -> ClassificationResult<Option<Vec<&'m str>>>
The ReferenceTokens used to compose classification identifications, when authored.