CFx SDK Documentation 2024 SP0
|
#include <BcfProject.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdBcfProject) | |
OdBcfProject () | |
virtual OdResult | inFields (TiXmlElement *pParent) ODRX_OVERRIDE |
virtual OdResult | outFields (TiXmlElement *pParent) const ODRX_OVERRIDE |
virtual bool | validate () const ODRX_OVERRIDE |
void | setName (const OdString &nameValue) |
OdString & | getName () |
const OdString & | getName () const |
bool | isNameUnset () const |
const OdString & | getProjectId () const |
bool | isProjectIdUnset () 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 |
Protected Member Functions | |
OdString & | getProjectId () |
void | setProjectId (const OdString &projectIdValue) |
OdBcfProject & | operator= (const OdBcfProjectData &val) |
Protected Attributes | |
friend | OdBcfSession |
Protected Attributes inherited from OdBcf::OdBcfProjectData | |
OdString | m_projectId |
OdString | m_name |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
A class that stores and operates a BCF project data.
Definition at line 59 of file BcfProject.h.
OdBcf::OdBcfProject::OdBcfProject | ( | ) |
Creates a new project object with default parameters.
OdString & OdBcf::OdBcfProject::getName | ( | ) |
Retrieves the BCF project name.
const OdString & OdBcf::OdBcfProject::getName | ( | ) | const |
Retrieves the BCF project name.
|
protected |
Retrieves ProjectId while allowing changes.
const OdString & OdBcf::OdBcfProject::getProjectId | ( | ) | const |
Retrieves the project identifier.
|
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::OdBcfProject::isNameUnset | ( | ) | const |
Defines whether the BCF project name is not initialized.
bool OdBcf::OdBcfProject::isProjectIdUnset | ( | ) | const |
Defines whether the project identifier is not initialized.
OdBcf::OdBcfProject::ODRX_DECLARE_MEMBERS | ( | OdBcfProject | ) |
|
protected |
An assignment operator for the BCF project class that associates specified project data with the project instance.
val | [in] An <link OdBcf::OdBcfProjectData, OdBcfProjectData> object that contains project data that represents the right-hand operand of the assignment operation. |
|
virtual |
Writes data into XML structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
Sets the BCF project name.
nameValue | [in] A string that contains the project name to be set. |
Sets a new ProjectId value.
projectIdValue | [in] A new value to set. |
|
virtual |
Checks whether the project instance has all required fields initialized.
Implements OdBcf::OdBcfElement.
|
protected |
Definition at line 156 of file BcfProject.h.