CFx SDK Documentation  2022 SP0
Typedefs | Functions
DbSystemServices.h File Reference
#include "RxSystemServices.h"
#include "DbExport.h"
#include "TD_PackPush.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Typedefs

typedef OdRxSystemServices OdDbSystemServices
 
typedef OdSmartPtr< OdDbSystemServicesOdDbSystemServicesPtr
 

Functions

TOOLKIT_EXPORT OdDbSystemServicesodSystemServices ()
 
TOOLKIT_EXPORT void odInitialize (OdDbSystemServices *pSystemServices)
 
TOOLKIT_EXPORT void odUninitialize ()
 

Typedef Documentation

◆ OdDbSystemServices

This class is the base class for classes that provide platform-dependent file operations for Teigha.

Definition at line 37 of file DbSystemServices.h.

◆ OdDbSystemServicesPtr

This template class is a specialization of the OdSmartPtr class for OdDbSystemServices object pointers.

Definition at line 42 of file DbSystemServices.h.

Function Documentation

◆ odInitialize()

TOOLKIT_EXPORT void odInitialize ( OdDbSystemServices pSystemServices)

Performs Teigha system initialization.

Remarks
This function registers all classes supported by Teigha. Instances of these classes may Thus be created by client applications.

It also allows the user to specify the OdDbSystemServices instance that to be used for file creation and access.

Remarks
This function should be called once per process prior to any other Teigha calls.
Parameters
pSystemServices[in] Pointer to SystemServices object.
See also
TD_Db

◆ odSystemServices()

TOOLKIT_EXPORT OdDbSystemServices* odSystemServices ( )

◆ odUninitialize()

TOOLKIT_EXPORT void odUninitialize ( )

Performs Teigha system uninitialization.

Remarks
This function releases the dynamic class registration data and the OdDbSystemServices pointer associated with the earlier call to odInitialize.
This function should be called once per process as the last operation performed by Teigha.
See also
TD_Db