![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
Go to the documentation of this file.
107 return day == d.day && month == d.month && year == d.year;
120 namespace classification
151 return editionDate == c.editionDate && source == c.source && edition == c.edition && name == c.name;
155 editionDate = c.editionDate;
156 source = std::move( c.source );
157 edition = std::move( c.edition );
158 name = std::move( c.name );
215 return referencedSource == cr.referencedSource && location == cr.location && itemReference == cr.itemReference && name == cr.name;
const Dtk_tab< Dtk_MetaDataPtr > & GetPropertySet() const
Getter for type property set.
void SetPredefinedType(const Dtk_string &inType)
Setter for IfcType predefined type.
const Dtk_string & GetName() const
Getter for type name.
void SetBuildingElementType(const Dtk_string &inType)
Setter for IfcElement building element type.
uint32_t Dtk_ID
Definition: define.h:689
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
@ IfcPlate
Definition: IFCWriter.h:256
void SetTag(const Dtk_string &inTag)
Setter for IfcElement tag.
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 SetName(const Dtk_string &inName)
Setter for the reference name.
void SetBuildingElementType(const Dtk_string &inType)
Setter for IfcType building element type.
const Dtk_string & GetName() const
Getter for the classification name.
const Dtk_string & GetGUID() const
Getter for IfcElement GUID.
const IfcCalendarDate & GetEditionDate() const
Getter for the classification edition date.
@ IfcRamp
Definition: IFCWriter.h:258
@ IfcMember
Definition: IFCWriter.h:255
A IfcType is used to define the common properties of a certain type or style of an entity that may be...
Definition: IFCWriter.h:274
@ IfcRoof
Definition: IFCWriter.h:260
void SetBuildingElementType(IfcBuildingElement inTypeEnum)
Setter for IfcElement building element subtype.
const Dtk_string & GetTag() const
Getter for type tag.
void SetGUID(const Dtk_string &inGUID)
Setter for IfcElement GUID.
void SetEditionDate(int inDay, int inMonth, int inYear)
Setter for the classification edition date.
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.
void SetColor(const Dtk_RGB &inColor)
Setter for IfcElement color.
int versionIndicator
Int representing IFC version to use : 0 ( default ) = IFC2x3; 1 = IFC4.
Definition: IFCWriter.h:35
void operator=(IfcClassification c)
Definition: IFCWriter.h:153
#define DTK_TRUE
Definition: define.h:727
Dtk_bool buildingTypeRecognition
DTK_TRUE : enable building type recognition (deduces if an element is an IFCWALL, IFCWINDOW....
Definition: IFCWriter.h:37
const Dtk_string & GetBuildingElementType() const
Getter for IfcElement building element type.
This class provides several parameters for the next ifc entity to be written, as its custom property ...
Definition: IFCWriter.h:356
void SetItemReference(const Dtk_string &inItemReference)
Setter for the reference item reference.
const Dtk_string & GetItemReference() const
Getter for the reference item reference.
This is a high level string class.
Definition: dtk_string.hpp:58
size_t Dtk_Size_t
Definition: define.h:712
@ IfcFooting
Definition: IFCWriter.h:254
@ IfcStair
Definition: IFCWriter.h:262
Dtk_MetaDataPtr GetPropertyAtPos(Dtk_Size_t pos) const
Getter for a single IfcElement property.
Dtk_RGB GetColor() const
Getter for IfcElement color.
void SetLevel(const Dtk_string &inLevel)
Setter for IfcElement level.
void SetTag(const Dtk_string &inTag)
Setter for IfcType tag.
char Dtk_bool
Definition: define.h:725
const Dtk_string & GetTag() const
Getter for IfcElement tag.
@ IfcBuildingElementProxy
Definition: IFCWriter.h:249
double Dtk_Double64
Definition: define.h:699
@ IfcSlab
Definition: IFCWriter.h:261
@ IfcRailing
Definition: IFCWriter.h:257
DtkErrorStatus EndObject()
Ends the current object.
int GetDay() const
Getter for the date day.
void AddShape(Dtk_EntityPtr inShape)
Adds an entity to IfcType shape representation (geometry)
const IfcClassification & GetReferencedSource() const
Getter for the classification the reference is linked to.
const Dtk_string & GetLocation() const
Getter for the reference location.
const Dtk_string & GetBuildingElementType() const
Getter for IfcType building element subtype.
const Dtk_tab< Dtk_EntityPtr > & GetShapeRepresentation() const
Getter for type shape representation.
IfcClassification(const IfcClassification &inClassification)
Copy constructor.
void SetPredefinedType(const Dtk_string &inType)
Setter for IfcElement predefined type.
~IfcCalendarDate()
Destructor.
@ IfcCovering
Definition: IFCWriter.h:251
IfcElement()
Base constructor.
Dtk_bool operator==(IfcClassificationReference cr)
Definition: IFCWriter.h:213
int GetMonth() const
Getter for the date month.
This class represents an IFC date. .
Definition: IFCWriter.h:92
int GetYear() const
Getter for the date year.
IfcCalendarDate()
Base constructor.
void SetTypeID(const Dtk_ID &inID)
Setter for IfcElement IfcType ID.
void SetPropertySet(Dtk_tab< Dtk_MetaDataPtr > inProperties, const Dtk_string &inSetName="")
Setter for IfcType propertySet.
IfcCalendarDate(const int &inDay, const int &inMonth, const int &iYear)
const Dtk_string & GetLevel() const
Getter for IfcElement level.
const Dtk_transfo & GetInstanceTrf() const
Getter for IfcElement instance transformation matrice.
This class provides several options to tune the IFC Writer. It must be provided to Ifcw::InitWrite me...
Definition: IFCWriter.h:18
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
void SetClassificationReference(classification::IfcClassificationReference inClassificationRef)
Setter for IfcElement classification reference.
DtkErrorStatus EndWrite()
Creation of the output file and free the Ifc Writer
DtkErrorStatus InitObject(const IfcElement &inParameters)
Initialize an ifcobject with various information.
Definition: util_ptr_dtk.hpp:37
void SetID(const Dtk_ID &inID)
Setter for IfcType ID.
void SetEditionDate(IfcCalendarDate inDate)
Setter for the classification edition date.
IfcClassificationReference(const Dtk_string &inLocation="", const Dtk_string &inItemReference="", const Dtk_string &inName="", IfcClassification inReferencedSource=IfcClassification())
Base constructor.
@ IfcWindow
Definition: IFCWriter.h:265
Dtk_ErrorStatus WriteType(const IfcType &inType)
Write the type provided in parameter. The type can exists by itself without having entities related t...
void AddProperty(Dtk_MetaDataPtr inProperty, const Dtk_string &inSetName="")
Adds a property to IfcType current property set.
void SetSource(const Dtk_string &inSource)
Setter for the classification source.
void SetShape(Dtk_tab< Dtk_EntityPtr > inShapes)
Setter for IfcType shapeRepresentation (geometry)
const Dtk_string & GetPredefinedType() const
Getter for IfcType predefined type.
const Dtk_string & GetName() const
Getter for IfcElement name.
WriteOptions()
Base constructor.
Definition: IFCWriter.h:23
IfcClassification(IfcClassification &&inClassification)
Dtk_ID GetTypeID() const
Getter for IfcType ID.
void SetName(const Dtk_string &inName)
Setter for the classification name.
IfcClassification(const Dtk_string &inSource, const Dtk_string &inEdition, const Dtk_string &inName="")
Constructor taking 3 parameters.
This is a high level array class.
Definition: util_stl_dtk.hpp:85
This class represent a classification reference to be used for an ifc object, e.g....
Definition: IFCWriter.h:198
const Dtk_string & GetName() const
Getter for the reference name.
const Dtk_string & GetPredefinedType() const
Getter for IfcElement predefined type.
void SetEdition(const Dtk_string &inEdition)
Setter for the classification edition.
@ IfcStairFlight
Definition: IFCWriter.h:263
~IfcClassificationReference()
Destructor.
void SetBuildingElementType(IfcBuildingElement inTypeEnum)
Setter for IfcElement building element type.
IfcCalendarDate(const IfcCalendarDate &inDate)
Copy constructor.
@ IfcColumn
Definition: IFCWriter.h:250
Dtk_ID GetID() const
Getter for type ID.
@ IfcWall
Definition: IFCWriter.h:264
@ IfcCurtainWall
Definition: IFCWriter.h:252
Exported APIs for Ifc (.ifc) Write Library.
Definition: IFCWriter.h:6
Dtk_bool operator==(IfcClassification c)
Definition: IFCWriter.h:149
@ IfcRampFlight
Definition: IFCWriter.h:259
void SetInstanceTrf(const Dtk_transfo &inTrf)
Setter for IfcElement instance transformation matrice.
void AddProperty(Dtk_MetaDataPtr inProperty, const Dtk_string &inSetName="")
Adds a property to IfcElement current property set.
A class that represents a classification system, like UniFormat, Omniclass, SfB...
Definition: IFCWriter.h:128
~IfcClassification()
Destructor.
void SetLocation(const Dtk_string &inLocation)
Setter for the reference location.
void SetName(const Dtk_string &inName)
Setter for IfcElement name.
Definition: dtk_rgb.hpp:7
Dtk_bool operator==(IfcCalendarDate d)
Definition: IFCWriter.h:105
@ IfcDoor
Definition: IFCWriter.h:253
const Dtk_tab< Dtk_MetaDataPtr > & GetPropertySet() const
Getter for IfcElement propertySet.
const Dtk_string & GetEdition() const
Getter for the classification edition.
void SetName(const Dtk_string &inName)
Setter for IfcType name.
IfcClassification()
Base constructor.
const classification::IfcClassificationReference & GetClassificationReference() const
Getter for classification reference.
@ IfcBeam
Definition: IFCWriter.h:248
IfcBuildingElement
This enum provides commonly used ifc building elements types, to define entities to be written....
Definition: IFCWriter.h:247
IfcClassificationReference(const IfcClassificationReference &inRef)
Copy constructor.
const Dtk_string & GetSource() const
Getter for the classification source.
WriteOptions & operator=(const WriteOptions &s)
\Operator =
Definition: IFCWriter.h:27