OpenLexocad  27.1
OpenLxApp::IFC_Exporter Class Reference

Exports the visible Elements of the Document to an IFC file. Elements that are not visible but depend on a visible Element will also be exported (like Openings for a Wall). More...

#include <IFC_Exporter.h>

Inheritance diagram for OpenLxApp::IFC_Exporter:
OpenLxApp::Exporter

Public Member Functions

 IFC_Exporter (std::shared_ptr< OpenLxApp::Document > aDoc)
 
 IFC_Exporter ()=delete
 
virtual ~IFC_Exporter ()
 
bool buildModel ()
 
std::shared_ptr< LxIfcBase::LxIfcModel > getModel () const
 
void setCheckComplexity (bool aFlag)
 
bool getCheckComplexity () const
 
void setIfcVersion (int aVersion)
 
int getIfcVersion () const
 
void setExportUndefinedElements (int aValue)
 
int getExportUndefinedElements () const
 
virtual int exportFile (const Base::String &filename) override
 
- Public Member Functions inherited from OpenLxApp::Exporter
 Exporter (std::shared_ptr< OpenLxApp::Document > aDoc)
 
 Exporter ()=delete
 
void setSilentMode (bool aFlag)
 
bool isInSilentMode () const
 
virtual ~Exporter ()
 

Static Public Member Functions

static std::shared_ptr< IFC_ExportercreateIn (std::shared_ptr< OpenLxApp::Document > aDoc)
 

Additional Inherited Members

- Protected Member Functions inherited from OpenLxApp::Exporter
bool init ()
 
- Protected Attributes inherited from OpenLxApp::Exporter
std::shared_ptr< OpenLxApp::Document_doc
 
bool _silentMode = false
 

Detailed Description

Exports the visible Elements of the Document to an IFC file. Elements that are not visible but depend on a visible Element will also be exported (like Openings for a Wall).

Constructor & Destructor Documentation

◆ IFC_Exporter() [1/2]

OpenLxApp::IFC_Exporter::IFC_Exporter ( std::shared_ptr< OpenLxApp::Document aDoc)

◆ IFC_Exporter() [2/2]

OpenLxApp::IFC_Exporter::IFC_Exporter ( )
delete

◆ ~IFC_Exporter()

virtual OpenLxApp::IFC_Exporter::~IFC_Exporter ( )
inlinevirtual

Member Function Documentation

◆ buildModel()

bool OpenLxApp::IFC_Exporter::buildModel ( )

◆ createIn()

static std::shared_ptr<IFC_Exporter> OpenLxApp::IFC_Exporter::createIn ( std::shared_ptr< OpenLxApp::Document aDoc)
static

◆ exportFile()

virtual int OpenLxApp::IFC_Exporter::exportFile ( const Base::String filename)
overridevirtual

Implements OpenLxApp::Exporter.

◆ getCheckComplexity()

bool OpenLxApp::IFC_Exporter::getCheckComplexity ( ) const

◆ getExportUndefinedElements()

int OpenLxApp::IFC_Exporter::getExportUndefinedElements ( ) const

◆ getIfcVersion()

int OpenLxApp::IFC_Exporter::getIfcVersion ( ) const

◆ getModel()

std::shared_ptr<LxIfcBase::LxIfcModel> OpenLxApp::IFC_Exporter::getModel ( ) const

◆ setCheckComplexity()

void OpenLxApp::IFC_Exporter::setCheckComplexity ( bool  aFlag)

◆ setExportUndefinedElements()

void OpenLxApp::IFC_Exporter::setExportUndefinedElements ( int  aValue)

◆ setIfcVersion()

void OpenLxApp::IFC_Exporter::setIfcVersion ( int  aVersion)

The documentation for this class was generated from the following file: