CFx SDK Documentation  2022 SP0
Classes | Namespaces | Macros | Typedefs | Functions
daiModule.h File Reference
#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 ()
 

Macro Definition Documentation

◆ STL_USING_LIST

#define STL_USING_LIST

Definition at line 40 of file daiModule.h.

◆ STL_USING_MAP

#define STL_USING_MAP

Definition at line 39 of file daiModule.h.

◆ STL_USING_VECTOR

#define STL_USING_VECTOR

Definition at line 38 of file daiModule.h.

Function Documentation

◆ oddaiCloseCurrentSession()

DAI_EXPORT bool oddaiCloseCurrentSession ( )

Closes currently opened session.

◆ oddaiCreateSession()

DAI_EXPORT OdDAI::SessionPtr oddaiCreateSession ( )

Returns a smart pointer to a newly created session, if session wasn't created before.

◆ oddaiGetSchema()

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.

◆ oddaiRegisterSchema()

DAI_EXPORT void oddaiRegisterSchema ( const OdString schemaName,
const OdString moduleName,
OdRxClass modelClass 
)

Registers a schema-dependent module into schemas dictionary.

◆ oddaiSession()

DAI_EXPORT OdDAI::SessionPtr oddaiSession ( )

Returns a smart pointer to currently opened session.

◆ oddaiUnregisterSchema()

DAI_EXPORT void oddaiUnregisterSchema ( const OdString schemaName)

Unregisters a schema-dependent module.