CFx SDK Documentation 2024 SP0
|
#include <BcfComment.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdBcfComment) | |
OdBcfComment () | |
virtual OdResult | inFields (TiXmlElement *pParent) ODRX_OVERRIDE |
virtual OdResult | outFields (TiXmlElement *pParent) const ODRX_OVERRIDE |
virtual bool | validate () const ODRX_OVERRIDE |
const OdBcfTimeStampPtr & | getDate () const |
bool | isDateUnset () const |
const OdString & | getAuthor () const |
bool | isAuthorUnset () const |
void | setComment (const OdString &commentValue) |
OdString & | getComment () |
const OdString & | getComment () const |
bool | isCommentUnset () const |
void | setViewpoint (const OdBcfGUIDAttributePtr &viewpointValue) |
OdBcfGUIDAttributePtr & | getViewpoint () |
const OdBcfGUIDAttributePtr & | getViewpoint () const |
bool | isViewpointUnset () const |
void | setModifiedDate (const OdBcfTimeStampPtr &modifiedDateValue) |
OdBcfTimeStampPtr & | getModifiedDate () |
const OdBcfTimeStampPtr & | getModifiedDate () const |
bool | isModifiedDateUnset () const |
void | setModifiedAuthor (const OdString &modifiedAuthorValue) |
OdString & | getModifiedAuthor () |
const OdString & | getModifiedAuthor () const |
bool | isModifiedAuthorUnset () const |
const OdGUID & | getGuid () const |
bool | isGuidUnset () 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 | |
OdBcfTimeStampPtr & | getDate () |
OdString & | getAuthor () |
OdGUID & | getGuid () |
void | setDate (const OdBcfTimeStampPtr &dateValue) |
void | setAuthor (const OdString &authorValue) |
void | setGuid (const OdGUID &guidValue) |
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 comments data.
Definition at line 48 of file BcfComment.h.
OdBcf::OdBcfComment::OdBcfComment | ( | ) |
Creates a new commentary object with default parameters.
|
protected |
Retrieves the information about the author of the comment object.
const OdString & OdBcf::OdBcfComment::getAuthor | ( | ) | const |
Retrieves the comment's author.
OdString & OdBcf::OdBcfComment::getComment | ( | ) |
Retrieves the comment text.
const OdString & OdBcf::OdBcfComment::getComment | ( | ) | const |
Retrieves the comment text.
|
protected |
Retrieves the creation date of the comment object.
const OdBcfTimeStampPtr & OdBcf::OdBcfComment::getDate | ( | ) | const |
Retrieves the comment's date.
|
protected |
Retrieves the global unique identifier (GUID) of the comment object.
const OdGUID & OdBcf::OdBcfComment::getGuid | ( | ) | const |
Retrieves the global unique identifier (GUID) of the comment object.
OdString & OdBcf::OdBcfComment::getModifiedAuthor | ( | ) |
Retrieves the information about the author of the last modification of the comment text.
const OdString & OdBcf::OdBcfComment::getModifiedAuthor | ( | ) | const |
Retrieves the information about the author of the last modification of the comment text.
OdBcfTimeStampPtr & OdBcf::OdBcfComment::getModifiedDate | ( | ) |
Retrieves the date of the last modification of the comment text.
const OdBcfTimeStampPtr & OdBcf::OdBcfComment::getModifiedDate | ( | ) | const |
Retrieves the date of the last modification of the comment text.
OdBcfGUIDAttributePtr & OdBcf::OdBcfComment::getViewpoint | ( | ) |
Retrieves the comment's viewpoint value.
const OdBcfGUIDAttributePtr & OdBcf::OdBcfComment::getViewpoint | ( | ) | const |
Retrieves the comment's viewpoint value.
|
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::OdBcfComment::isAuthorUnset | ( | ) | const |
Defines whether the comment's author is not initialized.
bool OdBcf::OdBcfComment::isCommentUnset | ( | ) | const |
Defines whether the comment text is not initialized.
bool OdBcf::OdBcfComment::isDateUnset | ( | ) | const |
Defines whether the comment's date is not initialized.
bool OdBcf::OdBcfComment::isGuidUnset | ( | ) | const |
Defines whether the global unique identifier (GUID) of the comment object is not initialized.
bool OdBcf::OdBcfComment::isModifiedAuthorUnset | ( | ) | const |
Defines whether the information about the author of the last comment text modification is not initialized.
bool OdBcf::OdBcfComment::isModifiedDateUnset | ( | ) | const |
Defines whether the date of the last comment text modification is not initialized.
bool OdBcf::OdBcfComment::isViewpointUnset | ( | ) | const |
Defines whether the comment viewpoint value is not initialized.
OdBcf::OdBcfComment::ODRX_DECLARE_MEMBERS | ( | OdBcfComment | ) |
|
virtual |
Writes data into XML structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
Sets information about the author of the comment object.
authorValue | [in] A string with information about the comment author. |
Sets a new comment's text.
commentValue | [in] A string that contains the new comment text. |
|
protected |
Sets the date of the creation of the comment object.
dateValue | [in] A new value to set represented with the <link OdBcf::OdBcfTimeStamp, OdBcfTimeStamp> object. |
Sets the global unique identifier (GUID) for the comment object.
guidValue | [in] An <exref target="https://docs.opendesign.com/tkernel/OdGUID.html">OdGUID</exref> object that contains the comment GUID. |
Sets a new author of the last comment text modification.
modifiedAuthorValue | [in] A string that contains information about the author of the last comment text modification. |
void OdBcf::OdBcfComment::setModifiedDate | ( | const OdBcfTimeStampPtr & | modifiedDateValue | ) |
Sets a new date of the last comment text modification.
modifiedDateValue | [in] A smart pointer to the <link OdBcf::OdBcfTimeStamp, OdBcfTimeStamp> object that contains the new date of modification. |
void OdBcf::OdBcfComment::setViewpoint | ( | const OdBcfGUIDAttributePtr & | viewpointValue | ) |
Sets a new viewpoint value.
viewpointValue | [in] A smart pointer to the <link OdBcf::OdBcfGUIDAttribute, OdBcfGUIDAttribute> object that contains the new viewpoint value. |
|
virtual |
Checks whether the commentary instance has all required fields initialized.
Implements OdBcf::OdBcfElement.
|
protected |
Definition at line 239 of file BcfComment.h.
|
protected |
Definition at line 240 of file BcfComment.h.
|
protected |
Definition at line 244 of file BcfComment.h.
|
protected |
Definition at line 243 of file BcfComment.h.
|
protected |
Definition at line 238 of file BcfComment.h.
|
protected |
Definition at line 242 of file BcfComment.h.
|
protected |
Definition at line 241 of file BcfComment.h.
|
protected |
Definition at line 288 of file BcfComment.h.