 |
DATAKIT SDK
V2026.3
|
|
Go to the documentation of this file.
160 return lhs.day == rhs.day && lhs.month == rhs.month && lhs.year == rhs.year;
183 namespace classification
209 return lhs.editionDate == rhs.editionDate && lhs.source == rhs.source && lhs.edition == rhs.edition && lhs.name == rhs.name;
262 return lhs.referencedSource == rhs.referencedSource
263 && lhs.location == rhs.location
264 && lhs.itemReference == rhs.itemReference && lhs.name == rhs.name;
596 return m_oNewClass.
GetTag();
const Dtk_tab< Dtk_MetaDataPtr > & GetPropertySet() const
Definition: IFCWriter.h:406
void SetLocation(Dtk_string inLocation)
Setter for the reference location.
void SetPredefinedType(const Dtk_string &inType)
Definition: IFCWriter.h:438
IfcCalendarDate(Dtk_Char8 inDay, Dtk_Char8 inMonth, Dtk_Int32 inYear)
const Dtk_string & GetName() const
Definition: IFCWriter.h:412
uint32_t Dtk_ID
Definition: define.h:688
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
void SetSource(Dtk_string inSource)
Setter for the classification source.
void SetPredefinedType(const Dtk_string &inType)
Setter for IfcElementType predefined type.
@ IfcPipeSegment
Definition: IFCWriter.h:140
void SetGUID(Dtk_string inGUID)
Setter for IfcElement GUID.
Dtk_ErrorStatus WriteEntity(const Dtk_EntityPtr &inEntity, const Dtk_transfo &inMat=Dtk_transfo())
Write the entity provided in parameter. The entity corresponds to current object geometry (e....
void SetPropertySet(Dtk_tab< Dtk_MetaDataPtr > inProperties, const Dtk_string &inSetName="")
Setter for IfcElement propertySet.
void SetBuildingElementType(typing::predefined::BuildingElement inTypeEnum)
Definition: IFCWriter.h:422
@ IfcFooting
Definition: IFCWriter.h:110
void SetLevel(Dtk_string inLevel)
Setter for IfcElement level.
void SetBuildingElementType(const Dtk_string &inType)
Definition: IFCWriter.h:420
const Dtk_string & GetName() const
Getter for the classification name.
const Dtk_string & GetTag() const
Definition: IFCWriter.h:594
const Dtk_string & GetGUID() const
Getter for IfcElement GUID.
Definition: IFCWriter.h:486
void SetInstanceTrf(const Dtk_transfo &inTrf)
Definition: IFCWriter.h:639
IfcClassification(Dtk_string inSource, Dtk_string inEdition, Dtk_string inName="")
Constructor taking 3 parameters.
~IfcType()
Definition: IFCWriter.h:404
@ IfcLightFixture
Definition: IFCWriter.h:138
@ IfcChimney
Definition: IFCWriter.h:105
void AddProperty(Dtk_MetaDataPtr inProperty, Dtk_string inSetName="")
Adds a property to IfcElement current property set.
This class has been renamed IfcElementType.
Definition: IFCWriter.h:397
const Dtk_tab< Dtk_EntityPtr > & GetShapeRepresentation() const
Getter for type shape representation.
Definition: IFCWriter.h:320
@ IfcSlab
Definition: IFCWriter.h:118
void SetPredefinedType(const Dtk_string &inType)
Definition: IFCWriter.h:635
const Dtk_string & GetTag() const
Definition: IFCWriter.h:410
friend bool operator==(IfcClassificationReference const &lhs, IfcClassificationReference const &rhs)
Definition: IFCWriter.h:260
const Dtk_string & GetName() const
Definition: IFCWriter.h:579
~IfcElementType()
Definition: IFCWriter.h:309
DtkErrorStatus InitWrite(const Dtk_string &inOutputFile, const Dtk_string &inLogFile, const WriteOptions &inOptions, ProjectInformation *inProjectInfo=nullptr)
Initialize the Ifc Writer and the IFC version you want to write
@ IfcDuctFitting
Definition: IFCWriter.h:135
void SetColor(const Dtk_RGB &inColor)
Setter for IfcElement color.
void SetPropertySet(Dtk_tab< Dtk_MetaDataPtr > inProperties, const Dtk_string &inSetName="")
Definition: IFCWriter.h:617
int versionIndicator
Definition: IFCWriter.h:38
void SetID(const Dtk_ID &inID)
Setter for IfcElementType ID.
#define DTK_TRUE
Definition: define.h:726
const classification::IfcClassificationReference & GetClassificationReference() const
Definition: IFCWriter.h:615
Dtk_bool buildingTypeRecognition
Definition: IFCWriter.h:41
const Dtk_string & GetPredefinedType() const
Definition: IFCWriter.h:605
This class provides several parameters for the next ifc entity to be written, as its custom property ...
Definition: IFCWriter.h:456
void SetTag(Dtk_string inTag)
Setter for IfcElement tag.
@ IfcShadingDevice
Definition: IFCWriter.h:117
const Dtk_string & GetItemReference() const
Getter for the reference item reference.
void SetBuildingElementType(Dtk_string inType)
Definition: IFCWriter.h:631
DtkErrorStatus InitObject(IfcElement inParameters)
Initialize an ifcobject with various information.
This is a high level string class.
Definition: dtk_string.hpp:53
@ IfcDistributionChamberElement
Definition: IFCWriter.h:134
Dtk_RGB GetColor() const
Definition: IFCWriter.h:610
void SetSubtype(typing::predefined::BuildingElement inTypeEnum)
Setter for IfcElement building element subtype.
void SetItemReference(Dtk_string inItemReference)
Setter for the reference item reference.
void SetPropertySet(Dtk_tab< Dtk_MetaDataPtr > inProperties, const Dtk_string &inSetName="")
Setter for IfcElementType propertySet.
@ IfcValve
Definition: IFCWriter.h:141
Dtk_RGB GetColor() const
Getter for IfcElement color.
Definition: IFCWriter.h:506
void SetTag(Dtk_string inTag)
Definition: IFCWriter.h:629
void SetTag(const Dtk_string &inTag)
Definition: IFCWriter.h:432
void SetEditionDate(Dtk_Char8 inDay, Dtk_Char8 inMonth, Dtk_Int32 inYear)
Setter for the classification edition date.
#define DTK_FALSE
Definition: define.h:727
@ IfcDoor
Definition: IFCWriter.h:109
char Dtk_bool
Definition: define.h:724
const Dtk_string & GetTag() const
Getter for IfcElement tag.
Definition: IFCWriter.h:494
Dtk_Char8 GetDay() const
Getter for the date day.
Definition: IFCWriter.h:164
@ IfcRampFlight
Definition: IFCWriter.h:115
void SetSubtype(Dtk_string inType)
Setter for IfcElement subtype.
Dtk_Int32 GetYear() const
Getter for the date year.
Definition: IFCWriter.h:176
@ IfcWall
Definition: IFCWriter.h:121
double Dtk_Double64
Definition: define.h:698
void SetLevel(Dtk_string inLevel)
Definition: IFCWriter.h:627
@ IfcRoof
Definition: IFCWriter.h:116
const Dtk_string & GetSubtype() const
Getter for IfcElementType element subtype.
Definition: IFCWriter.h:336
@ IfcRailing
Definition: IFCWriter.h:113
void SetBuildingElementType(typing::predefined::BuildingElement inTypeEnum)
Definition: IFCWriter.h:633
DtkErrorStatus EndObject()
Ends the current object.
void AddShape(Dtk_EntityPtr inShape)
Definition: IFCWriter.h:430
const IfcClassification & GetReferencedSource() const
Getter for the classification the reference is linked to.
SetAsDeprecated("2026.3", "Use IfcElement instead.") IfcBuildingElement()
Definition: IFCWriter.h:570
const Dtk_string & GetLocation() const
Getter for the reference location.
void SetClassificationReference(classification::IfcClassificationReference inClassificationRef)
Definition: IFCWriter.h:641
const Dtk_string & GetBuildingElementType() const
Definition: IFCWriter.h:416
const Dtk_tab< Dtk_EntityPtr > & GetShapeRepresentation() const
Definition: IFCWriter.h:408
void SetSubtype(const Dtk_string &inType)
Setter for IfcElementType building element type.
@ IfcPlate
Definition: IFCWriter.h:112
void SetPredefinedType(const Dtk_string &inType)
Setter for IfcElement predefined type.
void SetName(Dtk_string inName)
Definition: IFCWriter.h:621
void AddProperty(Dtk_MetaDataPtr inProperty, const Dtk_string &inSetName="")
Adds a property to IfcElementType current property set.
const Dtk_string & GetSubtype() const
Definition: IFCWriter.h:600
IfcElement()
Default constructor.
void SetTag(const Dtk_string &inTag)
Setter for IfcElementType tag.
A IfcElementType is used to define the common properties of a certain type or style of an entity that...
Definition: IFCWriter.h:297
void AddProperty(Dtk_MetaDataPtr inProperty, Dtk_string inSetName="")
Definition: IFCWriter.h:619
IfcCalendarDate()
Default constructor.
@ IfcAlarm
Definition: IFCWriter.h:131
const Dtk_string & GetPredefinedType() const
Getter for IfcElementType predefined type.
Definition: IFCWriter.h:340
@ IfcBuildingElementProxy
Definition: IFCWriter.h:104
@ IfcFireSuppressionTerminal
Definition: IFCWriter.h:137
IfcClassificationReference(Dtk_string inLocation="", Dtk_string inItemReference="", Dtk_string inName="", IfcClassification inReferencedSource=IfcClassification())
Default constructor.
@ IfcMember
Definition: IFCWriter.h:111
void SetTypeID(const Dtk_ID &inID)
Setter for IfcElement IfcElementType ID.
void SetPropertySet(Dtk_tab< Dtk_MetaDataPtr > inProperties, const Dtk_string &inSetName="")
Definition: IFCWriter.h:424
int32_t Dtk_Int32
Definition: define.h:686
const Dtk_string & GetSubtype() const
Getter for IfcElement subtype.
Definition: IFCWriter.h:498
const Dtk_string & GetLevel() const
Getter for IfcElement level.
Definition: IFCWriter.h:490
void SetName(Dtk_string inName)
Setter for the classification name.
@ IfcDuctSegment
Definition: IFCWriter.h:136
const Dtk_transfo & GetInstanceTrf() const
Getter for IfcElement instance transformation matrice.
Definition: IFCWriter.h:510
const Dtk_string & GetLevel() const
Definition: IFCWriter.h:589
@ IfcCurtainWall
Definition: IFCWriter.h:108
char Dtk_Char8
Definition: define.h:696
This class provides several options to tune the IFC Writer. It must be provided to Ifcw::InitWrite me...
Definition: IFCWriter.h:29
void SetGUID(Dtk_string inGUID)
Definition: IFCWriter.h:625
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_ID GetID() const
Getter for type ID.
Definition: IFCWriter.h:332
void SetClassificationReference(classification::IfcClassificationReference inClassificationRef)
Setter for IfcElement classification reference.
DtkErrorStatus EndWrite()
Creation of the output file and free the Ifc Writer
Definition: util_ptr_dtk.hpp:37
void SetID(const Dtk_ID &inID)
Definition: IFCWriter.h:436
void SetColor(const Dtk_RGB &inColor)
Definition: IFCWriter.h:637
@ IfcStairFlight
Definition: IFCWriter.h:120
void AddProperty(Dtk_MetaDataPtr inProperty, const Dtk_string &inSetName="")
Definition: IFCWriter.h:426
Dtk_tab< Dtk_MetaDataPtr > & GetPropertySet()
Getter for type property set.
Definition: IFCWriter.h:316
DtkErrorStatus SetShapeRepresentation(Dtk_tab< Dtk_EntityPtr > const &inShapes)
Setter for IfcElementType shapeRepresentation (geometry)
@ IfcWindow
Definition: IFCWriter.h:122
friend bool operator==(IfcClassification const &lhs, IfcClassification const &rhs)
Definition: IFCWriter.h:207
@ IfcPipeFitting
Definition: IFCWriter.h:139
void SetShape(Dtk_tab< Dtk_EntityPtr > inShapes)
Definition: IFCWriter.h:428
const Dtk_string & GetPredefinedType() const
Definition: IFCWriter.h:418
void SetName(Dtk_string inName)
Setter for IfcElement name.
const Dtk_string & GetName() const
Getter for IfcElement name.
Definition: IFCWriter.h:482
void SetSubtype(typing::predefined::BuildingElement inEnum)
Setter for IfcElement subtype.
WriteOptions()
Default constructor.
Definition: IFCWriter.h:34
Dtk_ID GetTypeID() const
Getter for IfcElementType ID.
Definition: IFCWriter.h:478
Dtk_ID GetTypeID() const
Definition: IFCWriter.h:577
@ IfcColumn
Definition: IFCWriter.h:106
This class represents an IFC date. .
Definition: IFCWriter.h:149
This is a high level array class.
Definition: util_stl_dtk.hpp:84
void SetName(Dtk_string inName)
Setter for the reference name.
This class represent a classification reference to be used for an ifc object, e.g....
Definition: IFCWriter.h:249
const typing::IfcCalendarDate & GetEditionDate() const
Getter for the classification edition date.
const Dtk_string & GetName() const
Getter for the reference name.
@ IfcBeam
Definition: IFCWriter.h:103
const Dtk_string & GetPredefinedType() const
Getter for IfcElement predefined type.
Definition: IFCWriter.h:502
void SetTypeID(const Dtk_ID &inID)
Definition: IFCWriter.h:623
DtkErrorStatus AddShape(Dtk_EntityPtr inShape)
Adds an entity to IfcElementType shape representation (geometry)
SetAsDeprecated("2026.3", "Use IfcElementType instead.") IfcType()
Definition: IFCWriter.h:401
void SetSubtype(typing::predefined::DistributionElement inEnum)
Setter for IfcElement subtype.
const Dtk_string & GetTag() const
Getter for type tag.
Definition: IFCWriter.h:324
@ IfcStair
Definition: IFCWriter.h:119
const Dtk_string & GetGUID() const
Definition: IFCWriter.h:584
const Dtk_transfo & GetInstanceTrf() const
Definition: IFCWriter.h:612
Dtk_ID GetID() const
Definition: IFCWriter.h:414
Dtk_Char8 GetMonth() const
Getter for the date month.
Definition: IFCWriter.h:170
const Dtk_tab< Dtk_MetaDataPtr > & GetPropertySet() const
Definition: IFCWriter.h:574
Exported APIs for Ifc (.ifc) Write Library.
Definition: IFCWriter.h:17
BuildingElement
This enum provides commonly used ifc building elements types, to define entities to be written....
Definition: IFCWriter.h:102
This class has been renamed IfcElement.
Definition: IFCWriter.h:566
void SetInstanceTrf(const Dtk_transfo &inTrf)
Setter for IfcElement instance transformation matrice.
void SetName(const Dtk_string &inName)
Setter for IfcElementType name.
A class that represents a classification system, like UniFormat, Omniclass, SfB...
Definition: IFCWriter.h:191
@ IfcCableCarrierSegment
Definition: IFCWriter.h:133
const Dtk_tab< Dtk_MetaDataPtr > & GetPropertySet() const
Getter for type property set.
Definition: IFCWriter.h:312
@ IfcRamp
Definition: IFCWriter.h:114
Dtk_bool tessellateExactGeometry
Definition: IFCWriter.h:44
Definition: dtk_rgb.hpp:7
friend bool operator==(IfcCalendarDate const &lhs, IfcCalendarDate const &rhs)
Definition: IFCWriter.h:158
void SetSubtype(typing::predefined::DistributionElement inTypeEnum)
Setter for IfcElement distribution element subtype.
Dtk_ErrorStatus WriteType(const IfcElementType &inType)
Write the type provided in parameter. The type can exists by itself without having entities related t...
const Dtk_tab< Dtk_MetaDataPtr > & GetPropertySet() const
Getter for IfcElement propertySet.
Definition: IFCWriter.h:474
DistributionElement
This enum provides commonly used ifc distribution elements types, to define entities to be written....
Definition: IFCWriter.h:129
void SetEditionDate(typing::IfcCalendarDate inDate)
Setter for the classification edition date.
const Dtk_string & GetEdition() const
Getter for the classification edition.
void SetName(const Dtk_string &inName)
Definition: IFCWriter.h:434
IfcClassification()
Default constructor.
const classification::IfcClassificationReference & GetClassificationReference() const
Getter for classification reference.
Definition: IFCWriter.h:514
const Dtk_string & GetName() const
Getter for type name.
Definition: IFCWriter.h:328
void SetEdition(Dtk_string inEdition)
Setter for the classification edition.
@ IfcCableCarrierFitting
Definition: IFCWriter.h:132
const Dtk_string & GetSource() const
Getter for the classification source.
@ IfcAirTerminal
Definition: IFCWriter.h:130
@ IfcCovering
Definition: IFCWriter.h:107