CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
TfSchemaManager.h File Reference
#include "OdaCommon.h"
#include "OdPlatformStreamer.h"
#include "OdaDefs.h"
#include "Tf/Tf.h"
#include "FlatMemStream.h"
#include "../../ThirdParty/tinyxml/tinyxml.h"
#include "OdaSTL.h"
#include "DbHostAppServices.h"
#include "RxDynamicModule.h"

Go to the source code of this file.

Classes

class  OdTfSchemaManager
 

Macros

#define STL_USING_SET
 

Typedefs

typedef OdSmartPtr< OdTfSchemaManagerOdTfSchemaManagerPtr
 

Functions

TFDLL_EXPORT bool odTfInitialize (OdDbHostAppServices *pAppServices)
 
TFDLL_EXPORT bool odrxRegisterSchema (const OdString &schemeName)
 
TFDLL_EXPORT void odrxConvertSchema (const OdString &schemeName)
 

Macro Definition Documentation

◆ STL_USING_SET

#define STL_USING_SET

Definition at line 35 of file TfSchemaManager.h.

Typedef Documentation

◆ OdTfSchemaManagerPtr

Definition at line 94 of file TfSchemaManager.h.

Function Documentation

◆ odrxConvertSchema()

TFDLL_EXPORT void odrxConvertSchema ( const OdString schemeName)

Convert the xml scheme to binary schema.

Parameters
schemeName[in] xml scheme name.
Note
binary scheme will be save in the same folder where situated xml schema, but with file type .tsbf

◆ odrxRegisterSchema()

TFDLL_EXPORT bool odrxRegisterSchema ( const OdString schemeName)

Try to register the scheme.

Parameters
pathSchema[in] path to xml scheme file.
schemeName[in] scheme name. Need to avoid repeated registering of scheme.
pAppServices[in] OdDbHostAppServices. Returns true if the schema is registered. Return false if the schema was registered early.
Note
pAppServices can't be NULL

◆ odTfInitialize()

TFDLL_EXPORT bool odTfInitialize ( OdDbHostAppServices pAppServices)

Used to register basic(core) scheme.

Parameters
pAppServices[in] OdDbHostAppServices.
Note
pAppServices can't be NULL