CFx SDK Documentation 2024 SP0
|
#include <BcfRoot.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdBcfRoot) | |
virtual OdResult | inFields (TiXmlElement *pParent) ODRX_OVERRIDE |
virtual OdResult | outFields (TiXmlElement *pParent) const ODRX_OVERRIDE |
virtual bool | validate () const ODRX_OVERRIDE |
OdBcfElementPtr | getRoot () |
void | setFilepath (const OdString &filepath) |
Public Member Functions inherited from OdBcf::OdBcfElement | |
ODRX_DECLARE_MEMBERS (OdBcfElement) | |
virtual OdResult | inFields (TiXmlElement *pParent)=0 |
virtual OdResult | outFields (TiXmlElement *pParent) const =0 |
virtual bool | validate () const =0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 |
Static Public Member Functions | |
static OdSmartPtr< OdBcfRoot > | createObject (const OdBcfElementPtr &pRoot) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes | |
OdBcfElementPtr | m_pRoot |
OdString | m_filepath |
A class that implements a root element for all BCF-related XML hierarchies.
|
static |
Creates a new root object.
pRoot | [in] A smart pointer to the <link OdBcf::OdBcfElement, root element> of hierarchy. |
OdBcfElementPtr OdBcf::OdBcfRoot::getRoot | ( | ) |
Retrieves the root element of the XML data hierarchy.
|
virtual |
Reads XML data into ODA data structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
OdBcf::OdBcfRoot::ODRX_DECLARE_MEMBERS | ( | OdBcfRoot | ) |
|
virtual |
Writes data into XML structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
|
virtual |
Checks whether instance has all required fields initialized.
Implements OdBcf::OdBcfElement.
|
protected |