CFx SDK Documentation
2022 SP0
|
#include "OdaCommon.h"
#include "OdPlatformSettings.h"
#include "SharedPtr.h"
#include "RxModule.h"
#include "DynamicLinker.h"
#include "OdString.h"
#include "OdAnsiString.h"
#include "UInt32Array.h"
#include "DbBaseDatabase.h"
#include "OdaSTL.h"
#include "ModuleNames.h"
#include "daiBuildOptions.h"
#include "daiHostAppServicesBase.h"
#include "daiSchema.h"
#include "daiSession.h"
Go to the source code of this file.
Classes | |
class | OdDAI::OdSDAIModule |
Namespaces | |
OdDAI | |
Macros | |
#define | STL_USING_VECTOR |
#define | STL_USING_MAP |
#define | STL_USING_LIST |
Typedefs | |
typedef OdSmartPtr< OdSDAIModule > | OdDAI::OdSDAIModulePtr |
Functions | |
DAI_EXPORT void | oddaiRegisterSchema (const OdString &schemaName, const OdString &moduleName, OdRxClass *modelClass) |
DAI_EXPORT void | oddaiUnregisterSchema (const OdString &schemaName) |
DAI_EXPORT OdDAI::SchemaPtr | oddaiGetSchema (const OdString &schemaName) |
DAI_EXPORT OdDAI::SessionPtr | oddaiSession () |
DAI_EXPORT OdDAI::SessionPtr | oddaiCreateSession () |
DAI_EXPORT bool | oddaiCloseCurrentSession () |
#define STL_USING_LIST |
Definition at line 40 of file daiModule.h.
#define STL_USING_MAP |
Definition at line 39 of file daiModule.h.
#define STL_USING_VECTOR |
Definition at line 38 of file daiModule.h.
DAI_EXPORT bool oddaiCloseCurrentSession | ( | ) |
Closes currently opened session.
DAI_EXPORT OdDAI::SessionPtr oddaiCreateSession | ( | ) |
Returns a smart pointer to a newly created session, if session wasn't created before.
DAI_EXPORT OdDAI::SchemaPtr oddaiGetSchema | ( | const OdString & | schemaName | ) |
Returns a smart pointer to a schema definition by the name of the schema. If the schema isn't supported (or isn't registered in schemas dictionary), NULL will be returned.
DAI_EXPORT void oddaiRegisterSchema | ( | const OdString & | schemaName, |
const OdString & | moduleName, | ||
OdRxClass * | modelClass | ||
) |
Registers a schema-dependent module into schemas dictionary.
DAI_EXPORT OdDAI::SessionPtr oddaiSession | ( | ) |
Returns a smart pointer to currently opened session.
DAI_EXPORT void oddaiUnregisterSchema | ( | const OdString & | schemaName | ) |
Unregisters a schema-dependent module.