|
CFx SDK Documentation 2024 SP0
|
#include <BcfMarkup.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdBcfMarkup) | |
| virtual OdResult | inFields (TiXmlElement *pParent) ODRX_OVERRIDE |
| virtual OdResult | outFields (TiXmlElement *pParent) const ODRX_OVERRIDE |
| virtual bool | validate () const ODRX_OVERRIDE |
| void | setHeader (const OdBcfHeaderPtr &headerValue) |
| OdBcfHeaderPtr & | getHeader () |
| const OdBcfHeaderPtr & | getHeader () const |
| bool | isHeaderUnset () const |
| void | setTopic (const OdBcfTopicPtr &topicValue) |
| OdBcfTopicPtr & | getTopic () |
| const OdBcfTopicPtr & | getTopic () const |
| bool | isTopicUnset () const |
| void | setComment (const OdBcfCommentArray &commentValue) |
| OdBcfCommentArray & | getComment () |
| const OdBcfCommentArray & | getComment () const |
| bool | isCommentUnset () const |
| void | setViewpoints (const OdBcfViewPointArray &viewpointsValue) |
| OdBcfViewPointArray & | getViewpoints () |
| const OdBcfViewPointArray & | getViewpoints () const |
| bool | isViewpointsUnset () 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< OdBcfMarkup > | createObject (const OdBcfTopicPtr &pTopic, const OdBcfHeaderPtr &pHeader=OdBcfHeaderPtr(), const OdBcfCommentArray &comment=OdBcfCommentArray(), const OdBcfViewPointArray &viewpoints=OdBcfViewPointArray()) |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
Protected Attributes | |
| OdBcfHeaderPtr | m_pHeader |
| OdBcfTopicPtr | m_pTopic |
| OdBcfCommentArray | m_comment |
| OdBcfViewPointArray | m_viewpoints |
A class that stores and operates a markup data within the BCF format.
Definition at line 58 of file BcfMarkup.h.
|
static |
Creates a new markup object.
| pTopic | [in] A smart pointer to the topic of the markup. |
| pHeader | [in] A smart pointer to the header of the markup. |
| comment | [in] An array of smart pointers to comments assigned with the markup. |
| viewpoints | [in] An array of smart pointers to viewpoints assigned with the markup. |
| OdBcfCommentArray & OdBcf::OdBcfMarkup::getComment | ( | ) |
Retrieves the comment of the markup instance.
| const OdBcfCommentArray & OdBcf::OdBcfMarkup::getComment | ( | ) | const |
Retrieves the comment of the markup instance.
| OdBcfHeaderPtr & OdBcf::OdBcfMarkup::getHeader | ( | ) |
Retrieves the header object of the markup instance.
| const OdBcfHeaderPtr & OdBcf::OdBcfMarkup::getHeader | ( | ) | const |
Retrieves the header object of the markup instance.
| OdBcfTopicPtr & OdBcf::OdBcfMarkup::getTopic | ( | ) |
Retrieves the topic object of the markup instance.
| const OdBcfTopicPtr & OdBcf::OdBcfMarkup::getTopic | ( | ) | const |
Retrieves the topic object of the markup instance.
| OdBcfViewPointArray & OdBcf::OdBcfMarkup::getViewpoints | ( | ) |
Retrieves the viewpoints of the markup instance.
| const OdBcfViewPointArray & OdBcf::OdBcfMarkup::getViewpoints | ( | ) | const |
Retrieves the viewpoints of the markup instance.
|
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::OdBcfMarkup::isCommentUnset | ( | ) | const |
Defines whether the markup comment is not initialized.
| bool OdBcf::OdBcfMarkup::isHeaderUnset | ( | ) | const |
Defines whether the markup header object is not initialized.
| bool OdBcf::OdBcfMarkup::isTopicUnset | ( | ) | const |
Defines whether the markup topic object is not initialized.
| bool OdBcf::OdBcfMarkup::isViewpointsUnset | ( | ) | const |
Defines whether the array of markup viewpoints is not initialized.
| OdBcf::OdBcfMarkup::ODRX_DECLARE_MEMBERS | ( | OdBcfMarkup | ) |
|
virtual |
Writes data into XML structures.
| pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
| void OdBcf::OdBcfMarkup::setComment | ( | const OdBcfCommentArray & | commentValue | ) |
Sets the markup's comment.
| commentValue | [in] A smart pointer to the <link OdBcf::OdBcfComment, OdBcfComment> object to be set. |
| void OdBcf::OdBcfMarkup::setHeader | ( | const OdBcfHeaderPtr & | headerValue | ) |
Sets the header object for the markup instance.
| headerValue | [in] A smart pointer to the <link OdBcf::OdBcfHeader, OdBcfHeader> object to be set. |
| void OdBcf::OdBcfMarkup::setTopic | ( | const OdBcfTopicPtr & | topicValue | ) |
Sets the markup's topic.
| topicValue | [in] A smart pointer to the <link OdBcf::OdBcfTopic, OdBcfTopic> object to be set. |
| void OdBcf::OdBcfMarkup::setViewpoints | ( | const OdBcfViewPointArray & | viewpointsValue | ) |
Sets the markup's viewpoints.
| viewpointsValue | [in] An array of smart pointers to <link OdBcf::OdBcfViewPoint, OdBcfViewPoint> objects to be set. |
|
virtual |
Checks whether the markup instance has all required fields initialized.
Implements OdBcf::OdBcfElement.
|
protected |
Definition at line 217 of file BcfMarkup.h.
|
protected |
Definition at line 215 of file BcfMarkup.h.
|
protected |
Definition at line 216 of file BcfMarkup.h.
|
protected |
Definition at line 218 of file BcfMarkup.h.