CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdBcf::OdBcfVersion Class Reference

#include <BcfVersion.h>

Inheritance diagram for OdBcf::OdBcfVersion:
OdBcf::OdBcfElement OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdBcfVersion)
 
 OdBcfVersion ()
 
virtual OdResult inFields (TiXmlElement *pParent) ODRX_OVERRIDE
 
virtual OdResult outFields (TiXmlElement *pParent) const ODRX_OVERRIDE
 
virtual bool validate () const ODRX_OVERRIDE
 
- Public Member Functions inherited from OdBcf::OdBcfElement
 ODRX_DECLARE_MEMBERS (OdBcfElement)
 
- 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
 

Protected Member Functions

 DECLARE_ACCESSORS (DetailedVersion, OdString, m_detailedVersion)
 
 DECLARE_ACCESSORS (VersionId, OdString, m_versionId)
 

Protected Attributes

OdString m_detailedVersion
 
OdString m_versionId
 
friend OdBcfSession
 

Additional Inherited Members

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

Detailed Description

A class that contains Version data type.

Definition at line 41 of file BcfVersion.h.

Constructor & Destructor Documentation

◆ OdBcfVersion()

OdBcf::OdBcfVersion::OdBcfVersion ( )

Creates a new object with default parameters.

Member Function Documentation

◆ DECLARE_ACCESSORS() [1/2]

OdBcf::OdBcfVersion::DECLARE_ACCESSORS ( DetailedVersion  ,
OdString  ,
m_detailedVersion   
)
protected

◆ DECLARE_ACCESSORS() [2/2]

OdBcf::OdBcfVersion::DECLARE_ACCESSORS ( VersionId  ,
OdString  ,
m_versionId   
)
protected

◆ inFields()

virtual OdResult OdBcf::OdBcfVersion::inFields ( TiXmlElement *  pParent)
virtual

Reads XML data into ODA data structures.

Parameters
pParent[in] A pointer to parent element of the data structure.
Returns
Returns eOk if data was successfully read; otherwise, the method returns an appropriate error.

Implements OdBcf::OdBcfElement.

◆ ODRX_DECLARE_MEMBERS()

OdBcf::OdBcfVersion::ODRX_DECLARE_MEMBERS ( OdBcfVersion  )

◆ outFields()

virtual OdResult OdBcf::OdBcfVersion::outFields ( TiXmlElement *  pParent) const
virtual

Writes data into XML structures.

Parameters
pParent[in] A pointer to parent element of the data structure.
Returns
Returns eOk if data was successfully written; otherwise, the method returns an appropriate error.

Implements OdBcf::OdBcfElement.

◆ validate()

virtual bool OdBcf::OdBcfVersion::validate ( ) const
virtual

Checks if instance has all required fields initialized.

Returns
Returns true if all required fields are initialized; otherwise the method returns false.

Implements OdBcf::OdBcfElement.

Member Data Documentation

◆ m_detailedVersion

OdString OdBcf::OdBcfVersion::m_detailedVersion
protected

Definition at line 76 of file BcfVersion.h.

◆ m_versionId

OdString OdBcf::OdBcfVersion::m_versionId
protected

Definition at line 77 of file BcfVersion.h.

◆ OdBcfSession

friend OdBcf::OdBcfVersion::OdBcfSession
protected

Definition at line 82 of file BcfVersion.h.


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