CFx SDK Documentation 2024 SP0
|
#include <BcfHeader.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdBcfHeader) | |
virtual OdResult | inFields (TiXmlElement *pParent) ODRX_OVERRIDE |
virtual OdResult | outFields (TiXmlElement *pParent) const ODRX_OVERRIDE |
virtual bool | validate () const ODRX_OVERRIDE |
void | setFile (const OdBcfFileArray &fileValue) |
OdBcfFileArray & | getFile () |
const OdBcfFileArray & | getFile () const |
bool | isFileUnset () const |
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< OdBcfHeader > | createObject (const OdBcfFileArray &file) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes | |
OdBcfFileArray | m_file |
A class that stores and operates header data of a BCF file.
Definition at line 48 of file BcfHeader.h.
|
static |
Creates a new header object from specified BCF files.
file | [in] An array of smart pointers to BCF files objects. |
OdBcfFileArray & OdBcf::OdBcfHeader::getFile | ( | ) |
Retrieves files associated with the header object.
const OdBcfFileArray & OdBcf::OdBcfHeader::getFile | ( | ) | const |
Retrieves files associated with the header object.
|
virtual |
Reads XML data into ODA data structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
bool OdBcf::OdBcfHeader::isFileUnset | ( | ) | const |
Defines whether the array of file object associated with the header is not initialized.
OdBcf::OdBcfHeader::ODRX_DECLARE_MEMBERS | ( | OdBcfHeader | ) |
|
virtual |
Writes data into XML structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
void OdBcf::OdBcfHeader::setFile | ( | const OdBcfFileArray & | fileValue | ) |
Sets file associated with the header object.
fileValue | [in] An array of smart pointers to <link OdBcf::OdBcfFile, OdBcfFile> objects to be set. |
|
virtual |
Checks whether the header instance has all required fields initialized.
Implements OdBcf::OdBcfElement.
|
protected |
Definition at line 114 of file BcfHeader.h.