CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Bcf_3_0Comment.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24#ifndef _BCF_3_0_COMMENT_H
25#define _BCF_3_0_COMMENT_H
26
27#include "BcfCommon.h"
28#include "OdGUID.h"
29
30#include "BcfElement.h"
31
35namespace OdBcf {
36
37 class OdBcfTimeStamp;
41 typedef OdSmartPtr<OdBcfTimeStamp> OdBcfTimeStampPtr;
42}
43
47namespace OdBcf_3_0 {
48
54
55 class OdBcfSession;
56
104
109 {
110 public:
111
112 //DOM-IGNORE-BEGIN
114 //DOM-IGNORE-END
115
121 virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE;
122
128 virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE;
129
137
142 bool isDateUnset() const;
143
150 const OdString& getAuthor() const;
151
156 bool isAuthorUnset() const;
157
162 void setComment(const OdString &commentValue);
163
171
178 const OdString& getComment() const;
179
184 bool isCommentUnset() const;
185
190 void setViewpoint(const OdBcfGUIDAttributePtr &viewpointValue);
191
199
207
212 bool isViewpointUnset() const;
213
218 void setModifiedDate(const OdBcf::OdBcfTimeStampPtr &modifiedDateValue);
219
227
235
241
246 void setModifiedAuthor(const OdString &modifiedAuthorValue);
247
255
263
269
276 const OdGUID& getGuid() const;
277
282 bool isGuidUnset() const;
283
289 OdBcfComment& operator = (const OdBcfCommentData& val);
290
291 //DOM-IGNORE-BEGIN
292 protected:
293
301
309
317
322 void setDate(const OdBcf::OdBcfTimeStampPtr &dateValue);
323
328 void setAuthor(const OdString &authorValue);
329
334 void setGuid(const OdGUID &guidValue);
335
340 virtual bool validateData() const ODRX_OVERRIDE;
341
343 //DOM-IGNORE-END
344 };
345
350
351} //namespace OdBcf_3_0
352
353#endif // _BCF_3_0_COMMENT_H
#define BCF_3_0_EXPORT
#define ODRX_OVERRIDE
OdResult
Definition OdResult.h:29
OdBcf::OdBcfTimeStampPtr m_pDate
OdBcfGUIDAttributePtr m_pViewpoint
OdBcf::OdBcfTimeStampPtr m_pModifiedDate
virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE
virtual bool validateData() const ODRX_OVERRIDE
const OdBcfGUIDAttributePtr & getViewpoint() const
OdBcf::OdBcfTimeStampPtr & getDate()
void setViewpoint(const OdBcfGUIDAttributePtr &viewpointValue)
bool isDateUnset() const
const OdBcf::OdBcfTimeStampPtr & getDate() const
bool isGuidUnset() const
const OdBcf::OdBcfTimeStampPtr & getModifiedDate() const
bool isCommentUnset() const
void setModifiedDate(const OdBcf::OdBcfTimeStampPtr &modifiedDateValue)
bool isAuthorUnset() const
bool isModifiedAuthorUnset() const
bool isViewpointUnset() const
const OdString & getComment() const
const OdString & getModifiedAuthor() const
ODRX_DECLARE_MEMBERS(OdBcfComment)
void setAuthor(const OdString &authorValue)
void setModifiedAuthor(const OdString &modifiedAuthorValue)
virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE
const OdString & getAuthor() const
void setGuid(const OdGUID &guidValue)
bool isModifiedDateUnset() const
OdBcf::OdBcfTimeStampPtr & getModifiedDate()
const OdGUID & getGuid() const
OdBcfGUIDAttributePtr & getViewpoint()
void setDate(const OdBcf::OdBcfTimeStampPtr &dateValue)
void setComment(const OdString &commentValue)
OdString & getModifiedAuthor()
OdSmartPtr< OdBcfComment > OdBcfCommentPtr
OdSmartPtr< OdBcfGUIDAttribute > OdBcfGUIDAttributePtr
OdSmartPtr< OdBcfTimeStamp > OdBcfTimeStampPtr