CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Bcf_2_1Topic.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_TOPIC_H
25#define _BCF_2_1_TOPIC_H
26
27#include "BcfCommon.h"
28
29#include "SharedPtr.h"
30#include "StringArray.h"
31#include "OdGUID.h"
32
33#include "BcfElement.h"
34
38namespace OdBcf {
39
40 class OdBcfTimeStamp;
41 typedef OdSmartPtr<OdBcfTimeStamp> OdBcfTimeStampPtr;
42}
43
47namespace OdBcf_2_1 {
48
49 class OdBcfBimSnippet;
50 typedef OdSmartPtr<OdBcfBimSnippet> OdBcfBimSnippetPtr;
51
53
57 typedef OdSmartPtr<OdBcfDocumentReference> OdBcfDocumentReferencePtr;
58
63
66
71
72 class OdBcfSession;
73
176
181 {
182 public:
183
184 //DOM-IGNORE-BEGIN
186 //DOM-IGNORE-END
187
192
198 virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE;
199
205 virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE;
206
211 void setReferenceLink(const OdStringArray &referenceLinkValue);
212
220
228
234
239 void setTitle(const OdString &titleValue);
240
248
255 const OdString& getTitle() const;
256
261 bool isTitleUnset() const;
262
267 void setPriority(const OdString &priorityValue);
268
276
283 const OdString& getPriority() const;
284
289 bool isPriorityUnset() const;
290
295 void setIndex(const OdInt32 &indexValue);
296
304
311 const OdInt32& getIndex() const;
312
317 bool isIndexUnset() const;
318
323 void setLabels(const OdStringArray &labelsValue);
324
332
339 const OdStringArray& getLabels() const;
340
345 bool isLabelsUnset() const;
346
351 void setDueDate(const OdBcf::OdBcfTimeStampPtr &dueDateValue);
352
360
368
373 bool isDueDateUnset() const;
374
379 void setAssignedTo(const OdString &assignedToValue);
380
388
395 const OdString& getAssignedTo() const;
396
401 bool isAssignedToUnset() const;
402
407 void setStage(const OdString &stageValue);
408
416
423 const OdString& getStage() const;
424
429 bool isStageUnset() const;
430
435 void setDescription(const OdString &descriptionValue);
436
444
451 const OdString& getDescription() const;
452
457 bool isDescriptionUnset() const;
458
463 void setBimSnippet(const OdBcfBimSnippetPtr &bimSnippetValue);
464
472
480
485 bool isBimSnippetUnset() const;
486
491 void setTopicType(const OdString &topicTypeValue);
492
500
507 const OdString& getTopicType() const;
508
513 bool isTopicTypeUnset() const;
514
519 void setTopicStatus(const OdString &topicStatusValue);
520
528
535 const OdString& getTopicStatus() const;
536
541 bool isTopicStatusUnset() const;
542
550
556
564
570
578
584
592
598
606
612
620
626
633 const OdGUID& getGuid() const;
634
639 bool isGuidUnset() const;
640
641 //DOM-IGNORE-BEGIN
642 protected:
647 void setCreationDate(const OdBcf::OdBcfTimeStampPtr &creationDateValue);
648
653 void setCreationAuthor(const OdString &creationAuthorValue);
654
659 void setModifiedDate(const OdBcf::OdBcfTimeStampPtr &modifiedDateValue);
660
665 void setModifiedAuthor(const OdString &modifiedAuthorValue);
666
671 void setDocumentReference(const OdBcfDocumentReferenceArray &documentReferenceValue);
672
677 void setRelatedTopic(const OdBcfGUIDAttributeArray &relatedTopicValue);
678
683 void setGuid(const OdGUID &guidValue);
684
692
700
708
716
724
732
740
746 OdBcfTopic& operator = (const OdBcfTopicData& val);
747
752 virtual bool validateData() const ODRX_OVERRIDE;
753
755 //DOM-IGNORE-END
756 };
757
762
767
768} //namespace OdBcf_2_1
769
770#endif // _BCF_2_1_TOPIC_H
#define BCF_2_1_EXPORT
int OdInt32
#define ODRX_OVERRIDE
OdResult
Definition OdResult.h:29
OdArray< OdString > OdStringArray
Definition StringArray.h:32
OdBcfDocumentReferenceArray m_documentReference
OdStringArray m_referenceLink
OdBcfBimSnippetPtr m_pBimSnippet
OdBcfGUIDAttributeArray m_relatedTopic
OdBcf::OdBcfTimeStampPtr m_pCreationDate
OdBcf::OdBcfTimeStampPtr m_pModifiedDate
OdBcf::OdBcfTimeStampPtr m_pDueDate
void setBimSnippet(const OdBcfBimSnippetPtr &bimSnippetValue)
const OdString & getPriority() const
virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE
void setGuid(const OdGUID &guidValue)
virtual bool validateData() const ODRX_OVERRIDE
void setTopicType(const OdString &topicTypeValue)
bool isAssignedToUnset() const
OdString & getCreationAuthor()
void setLabels(const OdStringArray &labelsValue)
OdString & getStage()
void setModifiedDate(const OdBcf::OdBcfTimeStampPtr &modifiedDateValue)
bool isGuidUnset() const
bool isModifiedAuthorUnset() const
void setPriority(const OdString &priorityValue)
OdBcfDocumentReferenceArray & getDocumentReference()
const OdStringArray & getLabels() const
OdString & getTitle()
bool isDueDateUnset() const
void setReferenceLink(const OdStringArray &referenceLinkValue)
OdString & getDescription()
bool isTitleUnset() const
ODRX_DECLARE_MEMBERS(OdBcfTopic)
const OdStringArray & getReferenceLink() const
OdStringArray & getReferenceLink()
bool isTopicStatusUnset() const
bool isStageUnset() const
void setDueDate(const OdBcf::OdBcfTimeStampPtr &dueDateValue)
bool isIndexUnset() const
void setModifiedAuthor(const OdString &modifiedAuthorValue)
OdString & getTopicStatus()
const OdBcfBimSnippetPtr & getBimSnippet() const
bool isDescriptionUnset() const
void setAssignedTo(const OdString &assignedToValue)
void setTopicStatus(const OdString &topicStatusValue)
void setDescription(const OdString &descriptionValue)
OdString & getTopicType()
bool isModifiedDateUnset() const
const OdString & getAssignedTo() const
void setTitle(const OdString &titleValue)
OdBcf::OdBcfTimeStampPtr & getDueDate()
const OdBcfDocumentReferenceArray & getDocumentReference() const
const OdString & getCreationAuthor() const
bool isBimSnippetUnset() const
const OdString & getDescription() const
const OdString & getTitle() const
void setIndex(const OdInt32 &indexValue)
const OdBcf::OdBcfTimeStampPtr & getCreationDate() const
bool isCreationAuthorUnset() const
OdString & getPriority()
void setDocumentReference(const OdBcfDocumentReferenceArray &documentReferenceValue)
bool isReferenceLinkUnset() const
OdBcfGUIDAttributeArray & getRelatedTopic()
const OdBcf::OdBcfTimeStampPtr & getDueDate() const
void setCreationDate(const OdBcf::OdBcfTimeStampPtr &creationDateValue)
OdBcfBimSnippetPtr & getBimSnippet()
const OdInt32 & getIndex() const
bool isTopicTypeUnset() const
void setStage(const OdString &stageValue)
bool isCreationDateUnset() const
virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE
const OdString & getModifiedAuthor() const
OdStringArray & getLabels()
const OdBcfGUIDAttributeArray & getRelatedTopic() const
OdBcf::OdBcfTimeStampPtr & getModifiedDate()
bool isPriorityUnset() const
bool isDocumentReferenceUnset() const
bool isLabelsUnset() const
bool isRelatedTopicUnset() const
const OdString & getTopicType() const
OdString & getModifiedAuthor()
void setRelatedTopic(const OdBcfGUIDAttributeArray &relatedTopicValue)
const OdGUID & getGuid() const
OdString & getAssignedTo()
const OdString & getTopicStatus() const
OdBcf::OdBcfTimeStampPtr & getCreationDate()
void setCreationAuthor(const OdString &creationAuthorValue)
const OdBcf::OdBcfTimeStampPtr & getModifiedDate() const
const OdString & getStage() const
OdSmartPtr< OdBcfBimSnippet > OdBcfBimSnippetPtr
OdSmartPtr< OdBcfGUIDAttribute > OdBcfGUIDAttributePtr
OdArray< OdBcfTopicPtr > OdBcfTopicArray
OdArray< OdBcfDocumentReferencePtr > OdBcfDocumentReferenceArray
OdSmartPtr< OdBcfDocumentReference > OdBcfDocumentReferencePtr
OdArray< OdBcfGUIDAttributePtr > OdBcfGUIDAttributeArray
OdSmartPtr< OdBcfTopic > OdBcfTopicPtr
OdSmartPtr< OdBcfTimeStamp > OdBcfTimeStampPtr