CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdTfSchemaManagerInterface Class Referenceabstract

#include <TfSchemaManagerInterface.h>

Inheritance diagram for OdTfSchemaManagerInterface:
OdRxObject OdTfSchemaManager

Public Member Functions

virtual bool registerSchema (const OdString &schemeName)=0
 
virtual bool registerSchema (const OdString &schemaName, OdTf::SaveType fileType)=0
 
virtual void convertSchema (const OdString &schemeName)=0
 
virtual void unloadSchema (const OdString &schemeName)=0
 
 OdTfSchemaManagerInterface ()
 
virtual ~OdTfSchemaManagerInterface ()
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Definition at line 41 of file TfSchemaManagerInterface.h.

Constructor & Destructor Documentation

◆ OdTfSchemaManagerInterface()

OdTfSchemaManagerInterface::OdTfSchemaManagerInterface ( )
inline

Definition at line 68 of file TfSchemaManagerInterface.h.

◆ ~OdTfSchemaManagerInterface()

virtual OdTfSchemaManagerInterface::~OdTfSchemaManagerInterface ( )
inlinevirtual

Definition at line 69 of file TfSchemaManagerInterface.h.

Member Function Documentation

◆ convertSchema()

virtual void OdTfSchemaManagerInterface::convertSchema ( const OdString schemeName)
pure virtual

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

Implemented in OdTfSchemaManager.

◆ registerSchema() [1/2]

virtual bool OdTfSchemaManagerInterface::registerSchema ( const OdString schemaName,
OdTf::SaveType  fileType 
)
pure virtual

Try to register the xml scheme or binary schema.

Parameters
schemeName[in] xml/binary schema name. Returns true if the schema is registered. Return false if the schema was registered early.

Implemented in OdTfSchemaManager.

◆ registerSchema() [2/2]

virtual bool OdTfSchemaManagerInterface::registerSchema ( const OdString schemeName)
pure virtual

Try to register the xml scheme or binary schema.

Parameters
schemeName[in] xml/binary schema name. Returns true if the schema is registered. Return false if the schema was registered early.
Note
Name of schema must have one of types (.tsbf | .txds)

Implemented in OdTfSchemaManager.

◆ unloadSchema()

virtual void OdTfSchemaManagerInterface::unloadSchema ( const OdString schemeName)
pure virtual

Unload registered schema.

Parameters
schemeName[in] scheme name.

Implemented in OdTfSchemaManager.


The documentation for this class was generated from the following file: