CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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 odInitializeDbCore (OdDbSystemServices *pSystemServices)
 
DBLIB_EXPORT void odInitialize (OdDbSystemServices *pSystemServices)
 
DBLIB_EXPORT void odUninitialize ()
 
TOOLKIT_EXPORT void odUninitializeDbCore ()
 

Typedef Documentation

◆ OdDbSystemServices

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

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()

DBLIB_EXPORT void odInitialize ( OdDbSystemServices pSystemServices)

Performs Drawings system initialization.

Remarks
This function registers all classes supported by the Drawings. 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 Drawings calls.
Parameters
pSystemServices[in] Pointer to SystemServices object.

◆ odInitializeDbCore()

TOOLKIT_EXPORT void odInitializeDbCore ( OdDbSystemServices pSystemServices)

Performs Drawings core system initialization.

Remarks
This function registers core database classes supported by the Drawings. Instances of these classes may be created by client applications.

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

Parameters
pSystemServices[in] Pointer to SystemServices object.

◆ odSystemServices()

TOOLKIT_EXPORT OdDbSystemServices * odSystemServices ( )

◆ odUninitialize()

DBLIB_EXPORT void odUninitialize ( )

Performs Drawings 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 the Drawings.

◆ odUninitializeDbCore()

TOOLKIT_EXPORT void odUninitializeDbCore ( )