CFx SDK Documentation
2022 SP0
|
#include <IfcFile.h>
Static Public Member Functions | |
static OdSmartPtr< OdIfcFile > | createObject (OdIfcHostAppServices *svcs, OdDAI::RepositoryPtr repository) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
A class that implements working with an IFC file header and data sections (header and model).
OdIfc::OdIfcFile::OdIfcFile | ( | ) |
Creates a new IFC file object with default parameters.
|
static |
OdGsView* OdIfc::OdIfcFile::getActiveView | ( | ) | const |
Retrieves the current active view of the IFC file object.
OdIfcHostAppServices* OdIfc::OdIfcFile::getAppServices | ( | ) | const |
Retrieves the application services object that is associated with the IFC file object.
OdIfcModelContext OdIfc::OdIfcFile::getContext | ( | ) | const |
Retrieves the current model context of the file object.
OdString OdIfc::OdIfcFile::getFileName | ( | ) | const |
Retrieves the current name (file name) of a physical file associated with the repository object.
OdHeaderSectionPtr OdIfc::OdIfcFile::getHeaderSection | ( | ) |
Retrieves the file object's header section.
|
virtual |
Retrieves the model object associated with the file.
|
virtual |
Retrieves the model object associated with the file.
OdDAIObjectId OdIfc::OdIfcFile::getProjectId | ( | ) |
Retrieves the IFC model's root entity.
OdDAI::RepositoryPtr OdIfc::OdIfcFile::getRepository | ( | ) | const |
|
inlinevirtual |
OdResult OdIfc::OdIfcFile::initialize | ( | InitialSchema | modelScheme | ) |
Initializes the IFC file object with a specified scheme.
modelScheme | [in] A string that contains the scheme name. |
OdIfc::OdIfcFile::ODRX_DECLARE_MEMBERS | ( | OdIfcFile | ) |
Reads data from a specified IFC file.
fileName | [in] A string that contains the full path to the input file to read data from. |
|
virtual |
Reads data from a specified IFC file.
fileName | [in] A string that contains the full path to the input file to read data from. |
Sets a new active view for the IFC file's content.
pActiveView | [in] A raw pointer to the <exref target="https://docs.opendesign.com/tv/OdGsView.html">OdGsView</exref> object. |
void OdIfc::OdIfcFile::setAppServices | ( | OdIfcHostAppServices * | svcs | ) |
Sets a new application services object with the IFC file object.
svcs | [in] A raw pointer to the <link OdIfcHostAppServices, OdIfcHostAppServices> object to be assigned with the file. |
void OdIfc::OdIfcFile::setContext | ( | const OdIfcModelContext & | context | ) |
Sets a new model context for the IFC file object.
context | [in] An instance of the <link OdIfc::OdIfcModelContext, OdIfcModelContext> class to be set as the model context object. |
Assigns a name (file name) to the OdIfcFile container.
|
virtual |
Writes data from the file object to a physical file.
filename | [in] A string that contains the full path to the output file to write data. |
saveLogFile | [in] A flag that determines whether the log file should be also written (if equal to true) or not (if equal to false). |