CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
BcfTopic.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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 _BFC_TOPIC_H
25#define _BFC_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;
42
43 class OdBcfBimSnippet;
45
46 class OdBcfDocumentReference;
47
52
57
60
65
66 class OdBcfSession;
67
72 {
73 public:
78
83
88
93
98
103
108
113
118
123
128
133 protected:
134
139
144
149
154
159
164
169 };
170
175 {
176 public:
177
178 //DOM-IGNORE-BEGIN
180 //DOM-IGNORE-END
181
186
192 virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE;
193
199 virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE;
200
205 virtual bool validate() const ODRX_OVERRIDE;
206
211 void setReferenceLink(const OdStringArray &referenceLinkValue);
212
219 OdStringArray& getReferenceLink();
220
227 const OdStringArray& getReferenceLink() const;
228
233 bool isReferenceLinkUnset() const;
234
239 void setTitle(const OdString &titleValue);
240
247 OdString& getTitle();
248
255 const OdString& getTitle() const;
256
261 bool isTitleUnset() const;
262
267 void setPriority(const OdString &priorityValue);
268
275 OdString& getPriority();
276
283 const OdString& getPriority() const;
284
289 bool isPriorityUnset() const;
290
295 void setIndex(const OdInt32 &indexValue);
296
303 OdInt32& getIndex();
304
311 const OdInt32& getIndex() const;
312
317 bool isIndexUnset() const;
318
323 void setLabels(const OdStringArray &labelsValue);
324
331 OdStringArray& getLabels();
332
339 const OdStringArray& getLabels() const;
340
345 bool isLabelsUnset() const;
346
351 void setDueDate(const OdBcfTimeStampPtr &dueDateValue);
352
359 OdBcfTimeStampPtr& getDueDate();
360
367 const OdBcfTimeStampPtr& getDueDate() const;
368
373 bool isDueDateUnset() const;
374
379 void setAssignedTo(const OdString &assignedToValue);
380
387 OdString& getAssignedTo();
388
395 const OdString& getAssignedTo() const;
396
401 bool isAssignedToUnset() const;
402
407 void setStage(const OdString &stageValue);
408
415 OdString& getStage();
416
423 const OdString& getStage() const;
424
429 bool isStageUnset() const;
430
435 void setDescription(const OdString &descriptionValue);
436
443 OdString& getDescription();
444
451 const OdString& getDescription() const;
452
457 bool isDescriptionUnset() const;
458
463 void setBimSnippet(const OdBcfBimSnippetPtr &bimSnippetValue);
464
471 OdBcfBimSnippetPtr& getBimSnippet();
472
479 const OdBcfBimSnippetPtr& getBimSnippet() const;
480
485 bool isBimSnippetUnset() const;
486
491 void setTopicType(const OdString &topicTypeValue);
492
499 OdString& getTopicType();
500
507 const OdString& getTopicType() const;
508
513 bool isTopicTypeUnset() const;
514
519 void setTopicStatus(const OdString &topicStatusValue);
520
527 OdString& getTopicStatus();
528
535 const OdString& getTopicStatus() const;
536
541 bool isTopicStatusUnset() const;
542
543
550 const OdBcfTimeStampPtr& getCreationDate() const;
551
556 bool isCreationDateUnset() const;
557
564 const OdString& getCreationAuthor() const;
565
570 bool isCreationAuthorUnset() const;
571
578 const OdBcfTimeStampPtr& getModifiedDate() const;
579
584 bool isModifiedDateUnset() const;
585
592 const OdString& getModifiedAuthor() const;
593
598 bool isModifiedAuthorUnset() const;
599
606 const OdBcfDocumentReferenceArray& getDocumentReference() const;
607
612 bool isDocumentReferenceUnset() const;
613
620 const OdBcfGUIDAttributeArray& getRelatedTopic() const;
621
626 bool isRelatedTopicUnset() const;
627
634 const OdGUID& getGuid() const;
635
640 bool isGuidUnset() const;
641
642
643 //DOM-IGNORE-BEGIN
644 protected:
649 void setCreationDate(const OdBcfTimeStampPtr &creationDateValue);
650
655 void setCreationAuthor(const OdString &creationAuthorValue);
656
661 void setModifiedDate(const OdBcfTimeStampPtr &modifiedDateValue);
662
667 void setModifiedAuthor(const OdString &modifiedAuthorValue);
668
673 void setDocumentReference(const OdBcfDocumentReferenceArray &documentReferenceValue);
674
679 void setRelatedTopic(const OdBcfGUIDAttributeArray &relatedTopicValue);
680
685 void setGuid(const OdGUID &guidValue);
686
693 OdBcfTimeStampPtr& getCreationDate();
694
701 OdString& getCreationAuthor();
702
709 OdBcfTimeStampPtr& getModifiedDate();
710
717 OdString& getModifiedAuthor();
718
725 OdBcfDocumentReferenceArray& getDocumentReference();
726
733 OdBcfGUIDAttributeArray& getRelatedTopic();
734
741 OdGUID& getGuid();
742
743
749 OdBcfTopic& operator = (const OdBcfTopicData& val);
750
752 //DOM-IGNORE-END
753 };
754
759
764
765} //namespace OdBcf
766
767#endif // _BFC_TOPIC_H
#define BCF_EXPORT
int OdInt32
#define ODRX_OVERRIDE
OdResult
Definition: OdResult.h:29
OdBcfDocumentReferenceArray m_documentReference
Definition: BcfTopic.h:158
OdStringArray m_referenceLink
Definition: BcfTopic.h:77
OdBcfTimeStampPtr m_pDueDate
Definition: BcfTopic.h:102
OdString m_description
Definition: BcfTopic.h:117
OdBcfBimSnippetPtr m_pBimSnippet
Definition: BcfTopic.h:122
OdBcfTimeStampPtr m_pCreationDate
Definition: BcfTopic.h:138
OdBcfTimeStampPtr m_pModifiedDate
Definition: BcfTopic.h:148
OdString m_creationAuthor
Definition: BcfTopic.h:143
OdStringArray m_labels
Definition: BcfTopic.h:97
OdString m_topicType
Definition: BcfTopic.h:127
OdString m_topicStatus
Definition: BcfTopic.h:132
OdString m_priority
Definition: BcfTopic.h:87
OdString m_assignedTo
Definition: BcfTopic.h:107
OdBcfGUIDAttributeArray m_relatedTopic
Definition: BcfTopic.h:163
OdString m_modifiedAuthor
Definition: BcfTopic.h:153
virtual bool validate() const ODRX_OVERRIDE
ODRX_DECLARE_MEMBERS(OdBcfTopic)
virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE
virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE
Definition: OdGUID.h:33
OdSmartPtr< OdBcfBimSnippet > OdBcfBimSnippetPtr
Definition: BcfBimSnippet.h:84
OdSmartPtr< OdBcfDocumentReference > OdBcfDocumentReferencePtr
OdSmartPtr< OdBcfTimeStamp > OdBcfTimeStampPtr
Definition: BcfComment.h:38
OdArray< OdBcfDocumentReferencePtr > OdBcfDocumentReferenceArray
Definition: BcfTopic.h:56
OdArray< OdBcfGUIDAttributePtr > OdBcfGUIDAttributeArray
Definition: BcfTopic.h:64
OdSmartPtr< OdBcfGUIDAttribute > OdBcfGUIDAttributePtr
Definition: BcfComment.h:41