#include <daiRepository.h>
Definition at line 53 of file daiRepository.h.
◆ Repository()
OdDAI::Repository::Repository |
( |
| ) |
|
◆ createModel() [1/2]
ModelPtr OdDAI::Repository::createModel |
( |
const OdAnsiString & |
name, |
|
|
const OdAnsiString & |
schemaName |
|
) |
| |
Create a new model with name and schema in the repository.
- Parameters
-
name | [in] name of created model |
schema | [in] schema name of created model |
- Returns
- ModelPtr
◆ createModel() [2/2]
ModelPtr OdDAI::Repository::createModel |
( |
const OdAnsiString & |
name, |
|
|
const SchemaPtr |
schema |
|
) |
| |
Create a new model with name and schema in the repository.
- Parameters
-
name | [in] name of created model |
schema | [in] schema of created model |
- Returns
- ModelPtr
◆ deleteModel()
◆ getHeaderSection()
Retrieves the file object's header section.
- Returns
- Returns a smart pointer to the <link OdDAI::OdHeaderSection, OdHeaderSection> object that represents the file object's header section.
◆ getModel() [1/2]
Get model in read only mode.
- Parameters
-
modelPtr | [in] model name which should be open in read only mode |
- Returns
- ModelPtr in read only mode
◆ getModel() [2/2]
Get model in read only mode.
- Parameters
-
modelPtr | [in] model which should be open in read only mode |
- Returns
- ModelPtr in read mode
◆ getModelAccessMode()
Get model access mode by model name.
- Parameters
-
- Returns
- model access mode
◆ getModelRW() [1/2]
Get model in read only mode.
- Parameters
-
modelName | [in] model name which should be open in read/write mode |
- Returns
- ModelPtr in read/write mode
◆ getModelRW() [2/2]
Get model in read only mode.
- Parameters
-
modelPtr | [in] model which should be open in read/write mode |
- Returns
- ModelPtr in read/write mode
◆ initialize()
OdResult OdDAI::Repository::initialize |
( |
| ) |
|
◆ models()
◆ name() [1/2]
OdString OdDAI::Repository::name |
( |
| ) |
const |
|
inline |
Retrieves the current name of repository.
- Returns
- Returns a string that contains the name.
Definition at line 76 of file daiRepository.h.
◆ name() [2/2]
◆ ODRX_DECLARE_MEMBERS()
OdDAI::Repository::ODRX_DECLARE_MEMBERS |
( |
Repository |
| ) |
|
◆ readFile()
◆ readHeaderSection() [1/2]
Reads the header section data of a specified IFC file.
- Parameters
-
fileName | [in] A string that contains an IFC file's name. |
- Returns
- Returns a smart pointer to an instance of the <link OdDAI::OdHeaderSection, OdHeaderSection> class that contains read data.
◆ readHeaderSection() [2/2]
Reads the header section data from a specified stream buffer associated with an IFC file.
- Parameters
-
pStream | [in] A raw pointer to a file stream buffer to read data from. |
- Returns
- Returns a smart pointer to an instance of the <link OdDAI::OdHeaderSection, OdHeaderSection> class that contains read data.
◆ readStream()
Reads data from a specified stream buffer.
- Parameters
-
pStream | [in] A smart pointer to the stream buffer object to read data from. |
- Returns
- Returns eOk if the data was successfully read; otherwise, the method returns an appropriate error.
◆ schemas()
◆ setAppServices()
Sets a new application services object.
- Parameters
-
Definition at line 67 of file daiRepository.h.
◆ setModelAccessMode()
◆ writeFile()
Writes data from the file object to a physical file.
- Parameters
-
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). |
- Returns
- Returns eOk if the data was successfully written; otherwise, the method returns an appropriate error.
◆ Session
◆ m_models
◆ m_name
◆ m_pHeaderSection
◆ m_schemas
◆ m_svcs
The documentation for this class was generated from the following file: