DATAKIT SDK  V2026.3
IFCWriter.h File Reference

Go to the source code of this file.

Data Structures

class  Ifcw::classification::IfcClassification
 A class that represents a classification system, like UniFormat, Omniclass, SfB...
More...
 
class  Ifcw::classification::IfcClassificationReference
 This class represent a classification reference to be used for an ifc object, e.g.: B2010 in OmniClass for exterior walls. It is link to a classification. More...
 
class  Ifcw::IfcBuildingElement
 This class has been renamed IfcElement. More...
 
class  Ifcw::IfcElement
 This class provides several parameters for the next ifc entity to be written, as its custom property set, level, classification.
It must be provided to Ifcw::InitObject method. More...
 
class  Ifcw::IfcElementType
 A IfcElementType is used to define the common properties of a certain type or style of an entity that may be applied to instances of that entity type. More...
 
class  Ifcw::IfcType
 This class has been renamed IfcElementType. More...
 
struct  Ifcw::ProjectInformation
 This struct enables the user to define global properties regarding the project, construction site and building.
It is used in the Ifcw::InitWrite method. More...
 
class  Ifcw::typing::IfcCalendarDate
 This class represents an IFC date.
. More...
 
class  Ifcw::WriteOptions
 This class provides several options to tune the IFC Writer.
It must be provided to Ifcw::InitWrite method. More...
 

Namespaces

 Ifcw
 Exported APIs for Ifc (.ifc) Write Library.
 
 Ifcw::classification
 
 Ifcw::typing
 
 Ifcw::typing::predefined
 

Enumerations

enum  Ifcw::typing::predefined::BuildingElement {
  Ifcw::typing::predefined::IfcBeam, Ifcw::typing::predefined::IfcBuildingElementProxy, Ifcw::typing::predefined::IfcChimney, Ifcw::typing::predefined::IfcColumn,
  Ifcw::typing::predefined::IfcCovering, Ifcw::typing::predefined::IfcCurtainWall, Ifcw::typing::predefined::IfcDoor, Ifcw::typing::predefined::IfcFooting,
  Ifcw::typing::predefined::IfcMember, Ifcw::typing::predefined::IfcPlate, Ifcw::typing::predefined::IfcRailing, Ifcw::typing::predefined::IfcRamp,
  Ifcw::typing::predefined::IfcRampFlight, Ifcw::typing::predefined::IfcRoof, Ifcw::typing::predefined::IfcShadingDevice, Ifcw::typing::predefined::IfcSlab,
  Ifcw::typing::predefined::IfcStair, Ifcw::typing::predefined::IfcStairFlight, Ifcw::typing::predefined::IfcWall, Ifcw::typing::predefined::IfcWindow
}
 This enum provides commonly used ifc building elements types, to define entities to be written.
. More...
 
enum  Ifcw::typing::predefined::DistributionElement {
  Ifcw::typing::predefined::IfcAirTerminal, Ifcw::typing::predefined::IfcAlarm, Ifcw::typing::predefined::IfcCableCarrierFitting, Ifcw::typing::predefined::IfcCableCarrierSegment,
  Ifcw::typing::predefined::IfcDistributionChamberElement, Ifcw::typing::predefined::IfcDuctFitting, Ifcw::typing::predefined::IfcDuctSegment, Ifcw::typing::predefined::IfcFireSuppressionTerminal,
  Ifcw::typing::predefined::IfcLightFixture, Ifcw::typing::predefined::IfcPipeFitting, Ifcw::typing::predefined::IfcPipeSegment, Ifcw::typing::predefined::IfcValve
}
 This enum provides commonly used ifc distribution elements types, to define entities to be written.
. More...
 

Functions

DtkErrorStatus Ifcw::EndObject ()
 Ends the current object. More...
 
DtkErrorStatus Ifcw::EndWrite ()
 Creation of the output file and free the Ifc Writer
More...
 
DtkErrorStatus Ifcw::InitObject (IfcBuildingElement inParameters)
 
DtkErrorStatus Ifcw::InitObject (IfcElement inParameters)
 Initialize an ifcobject with various information. More...
 
DtkErrorStatus Ifcw::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
More...
 
Dtk_ErrorStatus Ifcw::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.g: a Dtk_MeshPtr()) More...
 
Dtk_ErrorStatus Ifcw::WriteType (const IfcElementType &inType)
 Write the type provided in parameter. The type can exists by itself without having entities related to it. More...
 
Dtk_ErrorStatus Ifcw::WriteType (const IfcType &inType)