CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Bcf_2_1Comment.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_2_1_COMMENT_H
25#define _BCF_2_1_COMMENT_H
26
27#include "BcfCommon.h"
28#include "OdGUID.h"
29
30#include "BcfElement.h"
31
35namespace OdBcf {
36
37 class OdBcfTimeStamp;
39
40}
41
45namespace OdBcf_2_1 {
46
47 class OdBcfGUIDAttribute;
49
50 class OdBcfSession;
51
56 {
57 public:
58
59 //DOM-IGNORE-BEGIN
61 //DOM-IGNORE-END
62
67
73 virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE;
74
80 virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE;
81
89
94 bool isDateUnset() const;
95
102 const OdString& getAuthor() const;
103
108 bool isAuthorUnset() const;
109
114 void setComment(const OdString &commentValue);
115
123
130 const OdString& getComment() const;
131
136 bool isCommentUnset() const;
137
142 void setViewpoint(const OdBcfGUIDAttributePtr &viewpointValue);
143
151
159
164 bool isViewpointUnset() const;
165
170 void setModifiedDate(const OdBcf::OdBcfTimeStampPtr &modifiedDateValue);
171
179
187
193
198 void setModifiedAuthor(const OdString &modifiedAuthorValue);
199
207
215
221
228 const OdGUID& getGuid() const;
229
234 bool isGuidUnset() const;
235
236
237 //DOM-IGNORE-BEGIN
238 protected:
246
254
262
270
275 void setDate(const OdBcf::OdBcfTimeStampPtr &dateValue);
276
281 void setAuthor(const OdString &authorValue);
282
287 void setGuid(const OdGUID &guidValue);
288
293 virtual bool validateData() const ODRX_OVERRIDE;
294
296 //DOM-IGNORE-END
297 };
298
303
304} //namespace OdBcf_2_1
305
306#endif // _BCF_2_1_COMMENT_H
#define BCF_2_1_EXPORT
#define ODRX_OVERRIDE
OdResult
Definition OdResult.h:29
bool isDateUnset() const
bool isViewpointUnset() const
OdBcf::OdBcfTimeStampPtr & getDate()
void setComment(const OdString &commentValue)
virtual bool validateData() const ODRX_OVERRIDE
virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE
bool isModifiedAuthorUnset() const
bool isModifiedDateUnset() const
const OdString & getModifiedAuthor() const
bool isCommentUnset() const
OdString & getModifiedAuthor()
const OdBcf::OdBcfTimeStampPtr & getModifiedDate() const
OdBcfGUIDAttributePtr m_pViewpoint
virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE
const OdGUID & getGuid() const
void setDate(const OdBcf::OdBcfTimeStampPtr &dateValue)
OdBcf::OdBcfTimeStampPtr m_pModifiedDate
void setAuthor(const OdString &authorValue)
bool isAuthorUnset() const
const OdString & getAuthor() const
bool isGuidUnset() const
const OdBcfGUIDAttributePtr & getViewpoint() const
void setGuid(const OdGUID &guidValue)
OdBcf::OdBcfTimeStampPtr m_pDate
OdBcfGUIDAttributePtr & getViewpoint()
void setViewpoint(const OdBcfGUIDAttributePtr &viewpointValue)
const OdBcf::OdBcfTimeStampPtr & getDate() const
void setModifiedDate(const OdBcf::OdBcfTimeStampPtr &modifiedDateValue)
ODRX_DECLARE_MEMBERS(OdBcfComment)
void setModifiedAuthor(const OdString &modifiedAuthorValue)
const OdString & getComment() const
OdBcf::OdBcfTimeStampPtr & getModifiedDate()
OdSmartPtr< OdBcfGUIDAttribute > OdBcfGUIDAttributePtr
OdSmartPtr< OdBcfComment > OdBcfCommentPtr
OdSmartPtr< OdBcfTimeStamp > OdBcfTimeStampPtr