CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
bim_ifc
BCF_2_1
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
35
namespace
OdBcf
{
36
37
class
OdBcfTimeStamp
;
38
typedef
OdSmartPtr<OdBcfTimeStamp>
OdBcfTimeStampPtr
;
39
40
}
41
45
namespace
OdBcf_2_1
{
46
47
class
OdBcfGUIDAttribute;
48
typedef
OdSmartPtr<OdBcfGUIDAttribute>
OdBcfGUIDAttributePtr
;
49
50
class
OdBcfSession
;
51
55
class
BCF_2_1_EXPORT
OdBcfComment
:
public
OdBcf::OdBcfElement
56
{
57
public
:
58
59
//DOM-IGNORE-BEGIN
60
ODRX_DECLARE_MEMBERS
(
OdBcfComment
);
61
//DOM-IGNORE-END
62
66
OdBcfComment
();
67
73
virtual
OdResult
inFields
(TiXmlElement *pParent)
ODRX_OVERRIDE
;
74
80
virtual
OdResult
outFields
(TiXmlElement *pParent)
const
ODRX_OVERRIDE
;
81
88
const
OdBcf::OdBcfTimeStampPtr
&
getDate
()
const
;
89
94
bool
isDateUnset
()
const
;
95
102
const
OdString
&
getAuthor
()
const
;
103
108
bool
isAuthorUnset
()
const
;
109
114
void
setComment
(
const
OdString
&commentValue);
115
122
OdString
&
getComment
();
123
130
const
OdString
&
getComment
()
const
;
131
136
bool
isCommentUnset
()
const
;
137
142
void
setViewpoint
(
const
OdBcfGUIDAttributePtr
&viewpointValue);
143
150
OdBcfGUIDAttributePtr
&
getViewpoint
();
151
158
const
OdBcfGUIDAttributePtr
&
getViewpoint
()
const
;
159
164
bool
isViewpointUnset
()
const
;
165
170
void
setModifiedDate
(
const
OdBcf::OdBcfTimeStampPtr
&modifiedDateValue);
171
178
OdBcf::OdBcfTimeStampPtr
&
getModifiedDate
();
179
186
const
OdBcf::OdBcfTimeStampPtr
&
getModifiedDate
()
const
;
187
192
bool
isModifiedDateUnset
()
const
;
193
198
void
setModifiedAuthor
(
const
OdString
&modifiedAuthorValue);
199
206
OdString
&
getModifiedAuthor
();
207
214
const
OdString
&
getModifiedAuthor
()
const
;
215
220
bool
isModifiedAuthorUnset
()
const
;
221
228
const
OdGUID
&
getGuid
()
const
;
229
234
bool
isGuidUnset
()
const
;
235
236
237
//DOM-IGNORE-BEGIN
238
protected
:
239
OdBcf::OdBcfTimeStampPtr
m_pDate
;
240
OdString
m_author
;
241
OdString
m_comment
;
242
OdBcfGUIDAttributePtr
m_pViewpoint
;
243
OdBcf::OdBcfTimeStampPtr
m_pModifiedDate
;
244
OdString
m_modifiedAuthor
;
245
OdGUID
m_guid
;
246
253
OdBcf::OdBcfTimeStampPtr
&
getDate
();
254
261
OdString
&
getAuthor
();
262
269
OdGUID
&
getGuid
();
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
295
friend
OdBcfSession
;
296
//DOM-IGNORE-END
297
};
298
302
typedef
OdSmartPtr
<
OdBcfComment
>
OdBcfCommentPtr
;
303
304
}
//namespace OdBcf_2_1
305
306
#endif
// _BCF_2_1_COMMENT_H
BcfCommon.h
BcfElement.h
BCF_2_1_EXPORT
#define BCF_2_1_EXPORT
Definition
IfcBuildOptions.h:68
OdGUID.h
ODRX_OVERRIDE
#define ODRX_OVERRIDE
Definition
OdPlatformSettings.h:55
OdResult
OdResult
Definition
OdResult.h:29
OdBcf::OdBcfElement
Definition
BcfElement.h:41
OdBcf::OdBcfTimeStamp
Definition
BcfTimeStamp.h:40
OdBcf_2_1::OdBcfComment
Definition
Bcf_2_1Comment.h:56
OdBcf_2_1::OdBcfComment::isDateUnset
bool isDateUnset() const
OdBcf_2_1::OdBcfComment::isViewpointUnset
bool isViewpointUnset() const
OdBcf_2_1::OdBcfComment::OdBcfComment
OdBcfComment()
OdBcf_2_1::OdBcfComment::getDate
OdBcf::OdBcfTimeStampPtr & getDate()
OdBcf_2_1::OdBcfComment::setComment
void setComment(const OdString &commentValue)
OdBcf_2_1::OdBcfComment::validateData
virtual bool validateData() const ODRX_OVERRIDE
OdBcf_2_1::OdBcfComment::outFields
virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE
OdBcf_2_1::OdBcfComment::isModifiedAuthorUnset
bool isModifiedAuthorUnset() const
OdBcf_2_1::OdBcfComment::isModifiedDateUnset
bool isModifiedDateUnset() const
OdBcf_2_1::OdBcfComment::getModifiedAuthor
const OdString & getModifiedAuthor() const
OdBcf_2_1::OdBcfComment::isCommentUnset
bool isCommentUnset() const
OdBcf_2_1::OdBcfComment::m_author
OdString m_author
Definition
Bcf_2_1Comment.h:240
OdBcf_2_1::OdBcfComment::getModifiedAuthor
OdString & getModifiedAuthor()
OdBcf_2_1::OdBcfComment::getModifiedDate
const OdBcf::OdBcfTimeStampPtr & getModifiedDate() const
OdBcf_2_1::OdBcfComment::m_pViewpoint
OdBcfGUIDAttributePtr m_pViewpoint
Definition
Bcf_2_1Comment.h:242
OdBcf_2_1::OdBcfComment::inFields
virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE
OdBcf_2_1::OdBcfComment::getGuid
const OdGUID & getGuid() const
OdBcf_2_1::OdBcfComment::getAuthor
OdString & getAuthor()
OdBcf_2_1::OdBcfComment::m_modifiedAuthor
OdString m_modifiedAuthor
Definition
Bcf_2_1Comment.h:244
OdBcf_2_1::OdBcfComment::setDate
void setDate(const OdBcf::OdBcfTimeStampPtr &dateValue)
OdBcf_2_1::OdBcfComment::OdBcfSession
friend OdBcfSession
Definition
Bcf_2_1Comment.h:295
OdBcf_2_1::OdBcfComment::m_pModifiedDate
OdBcf::OdBcfTimeStampPtr m_pModifiedDate
Definition
Bcf_2_1Comment.h:243
OdBcf_2_1::OdBcfComment::setAuthor
void setAuthor(const OdString &authorValue)
OdBcf_2_1::OdBcfComment::isAuthorUnset
bool isAuthorUnset() const
OdBcf_2_1::OdBcfComment::getAuthor
const OdString & getAuthor() const
OdBcf_2_1::OdBcfComment::isGuidUnset
bool isGuidUnset() const
OdBcf_2_1::OdBcfComment::m_comment
OdString m_comment
Definition
Bcf_2_1Comment.h:241
OdBcf_2_1::OdBcfComment::getViewpoint
const OdBcfGUIDAttributePtr & getViewpoint() const
OdBcf_2_1::OdBcfComment::setGuid
void setGuid(const OdGUID &guidValue)
OdBcf_2_1::OdBcfComment::m_pDate
OdBcf::OdBcfTimeStampPtr m_pDate
Definition
Bcf_2_1Comment.h:239
OdBcf_2_1::OdBcfComment::getViewpoint
OdBcfGUIDAttributePtr & getViewpoint()
OdBcf_2_1::OdBcfComment::setViewpoint
void setViewpoint(const OdBcfGUIDAttributePtr &viewpointValue)
OdBcf_2_1::OdBcfComment::getDate
const OdBcf::OdBcfTimeStampPtr & getDate() const
OdBcf_2_1::OdBcfComment::getGuid
OdGUID & getGuid()
OdBcf_2_1::OdBcfComment::setModifiedDate
void setModifiedDate(const OdBcf::OdBcfTimeStampPtr &modifiedDateValue)
OdBcf_2_1::OdBcfComment::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdBcfComment)
OdBcf_2_1::OdBcfComment::getComment
OdString & getComment()
OdBcf_2_1::OdBcfComment::setModifiedAuthor
void setModifiedAuthor(const OdString &modifiedAuthorValue)
OdBcf_2_1::OdBcfComment::getComment
const OdString & getComment() const
OdBcf_2_1::OdBcfComment::m_guid
OdGUID m_guid
Definition
Bcf_2_1Comment.h:245
OdBcf_2_1::OdBcfComment::getModifiedDate
OdBcf::OdBcfTimeStampPtr & getModifiedDate()
OdBcf_2_1::OdBcfSession
Definition
Bcf_2_1Session.h:125
OdGUID
Definition
OdGUID.h:33
OdSmartPtr
Definition
SmartPtr.h:58
OdString
Definition
OdString.h:97
OdBcf_2_1
Definition
Bcf_2_1Archive.h:45
OdBcf_2_1::OdBcfGUIDAttributePtr
OdSmartPtr< OdBcfGUIDAttribute > OdBcfGUIDAttributePtr
Definition
Bcf_2_1Comment.h:48
OdBcf_2_1::OdBcfCommentPtr
OdSmartPtr< OdBcfComment > OdBcfCommentPtr
Definition
Bcf_2_1Comment.h:302
OdBcf
Definition
Bcf_2_1Archive.h:36
OdBcf::OdBcfTimeStampPtr
OdSmartPtr< OdBcfTimeStamp > OdBcfTimeStampPtr
Definition
Bcf_2_1Comment.h:38
Generated on Tue Apr 15 2025 11:28:07