#include <BcfProjectExtension.h>
A class that stores and operates a project extension data.
Definition at line 65 of file BcfProjectExtension.h.
◆ OdBcfProjectExtension()
OdBcf::OdBcfProjectExtension::OdBcfProjectExtension |
( |
| ) |
|
Creates a new project extension object with default parameters.
◆ getExtensionSchema() [1/2]
OdString & OdBcf::OdBcfProjectExtension::getExtensionSchema |
( |
| ) |
|
|
protected |
Retrieves ExtensionSchema while allowing changes.
- Returns
- ExtensionSchema value.
◆ getExtensionSchema() [2/2]
const OdString & OdBcf::OdBcfProjectExtension::getExtensionSchema |
( |
| ) |
const |
Retrieves the name of the project extension schema.
- Returns
- A string that contains the name of the schema.
◆ getProject() [1/2]
Retrieves the project instance associated with the project extension.
- Returns
- A smart pointer to the <link OdBcf::OdBcfProject, OdBcfProject> object that represents the project instance.
◆ getProject() [2/2]
Retrieves the project instance associated with the project extension.
- Returns
- A smart pointer to the <link OdBcf::OdBcfProject, OdBcfProject> object that represents the project instance.
◆ inFields()
virtual OdResult OdBcf::OdBcfProjectExtension::inFields |
( |
TiXmlElement * |
pParent | ) |
|
|
virtual |
Reads XML data into ODA data structures.
- Parameters
-
pParent | [in] A pointer to the parent element of the data structure. |
- Returns
- eOk if data was successfully read; otherwise, the method returns an appropriate error code.
Implements OdBcf::OdBcfElement.
◆ isExtensionSchemaUnset()
bool OdBcf::OdBcfProjectExtension::isExtensionSchemaUnset |
( |
| ) |
const |
Defines whether the name of the project extension schema is not initialized.
- Returns
- true if the schema name is not initialized; otherwise, the method returns false.
◆ isProjectUnset()
bool OdBcf::OdBcfProjectExtension::isProjectUnset |
( |
| ) |
const |
Defines whether the project instance associated with the project extension is not initialized.
- Returns
- true if the project instance is not initialized; otherwise, the method returns false.
◆ ODRX_DECLARE_MEMBERS()
◆ operator=()
An assignment operator for the BCF project extension class that associates specified data with the project extension object.
- Parameters
-
- Returns
- The reference to the project extension object modified by the assignment operation.
◆ outFields()
virtual OdResult OdBcf::OdBcfProjectExtension::outFields |
( |
TiXmlElement * |
pParent | ) |
const |
|
virtual |
Writes data into XML structures.
- Parameters
-
pParent | [in] A pointer to the parent element of the data structure. |
- Returns
- eOk if data was successfully written; otherwise, the method returns an appropriate error code.
Implements OdBcf::OdBcfElement.
◆ setExtensionSchema()
void OdBcf::OdBcfProjectExtension::setExtensionSchema |
( |
const OdString & |
extensionSchemaValue | ) |
|
|
protected |
Sets a new ExtensionSchema value.
- Parameters
-
extensionSchemaValue | [in] A new value to set. |
◆ setProject()
Sets the project instance for the project extension.
- Parameters
-
◆ validate()
virtual bool OdBcf::OdBcfProjectExtension::validate |
( |
| ) |
const |
|
virtual |
Checks whether the project extension instance has all required fields initialized.
- Returns
- true if all required fields are initialized; otherwise the method returns false.
Implements OdBcf::OdBcfElement.
◆ OdBcfSession
friend OdBcf::OdBcfProjectExtension::OdBcfSession |
|
protected |
The documentation for this class was generated from the following file: