CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
TfSchemaManager.h File Reference
#include "OdaCommon.h"
#include "OdPlatformStreamer.h"
#include "OdaDefs.h"
#include "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

Function Documentation

◆ odrxConvertSchema()

TFDLL_EXPORT void odrxConvertSchema ( const OdString & schemeName)

Converts an XML schema to a binary schema.

Parameters
schemeName[in] The XML schema name.
Remarks
The binary schema is saved in the same folder as the XML schema, but with the file type .tsbf.

◆ odrxRegisterSchema()

TFDLL_EXPORT bool odrxRegisterSchema ( const OdString & schemeName)

Tries to register the schema.

Parameters
schemeName[in] Schema name. Avoid repeated registeration of a schema.
Returns
The true value if the schema is registered, or false if the schema was registered earlier.

◆ odTfInitialize()

TFDLL_EXPORT bool odTfInitialize ( OdDbHostAppServices * pAppServices)

Registers a basic (core) schema.

Parameters
pAppServices[in] OdDbHostAppServices.
Remarks
Parameter pAppServices cannot be NULL.