CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Bcf_3_0Topic.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_TOPIC_H
25#define _BCF_3_0_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_3_0 {
48
50
54 typedef OdSmartPtr<OdBcfReferenceLinks> OdBcfReferenceLinksPtr;
55
56 class OdBcfLabels;
57
61 typedef OdSmartPtr<OdBcfLabels> OdBcfLabelsPtr;
62
63 class OdBcfBimSnippet;
64
68 typedef OdSmartPtr<OdBcfBimSnippet> OdBcfBimSnippetPtr;
69
71
75 typedef OdSmartPtr<OdBcfDocumentReferences> OdBcfDocumentReferencesPtr;
76
78
82 typedef OdSmartPtr<OdBcfRelatedTopics> OdBcfRelatedTopicsPtr;
83
84 class OdBcfComments;
85
89 typedef OdSmartPtr<OdBcfComments> OdBcfCommentsPtr;
90
91 class OdBcfViewpoints;
92
97
98 class OdBcfSession;
99
242
247 {
248 public:
249
250 //DOM-IGNORE-BEGIN
252 //DOM-IGNORE-END
253
259 virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE;
260
266 virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE;
267
272 void setReferenceLinks(const OdBcfReferenceLinksPtr &referenceLinksValue);
273
281
289
295
300 void setTitle(const OdString &titleValue);
301
309
316 const OdString& getTitle() const;
317
322 bool isTitleUnset() const;
323
328 void setPriority(const OdString &priorityValue);
329
337
344 const OdString& getPriority() const;
345
350 bool isPriorityUnset() const;
351
356 void setIndex(const OdInt32 &indexValue);
357
365
372 const OdInt32& getIndex() const;
373
378 bool isIndexUnset() const;
379
384 void setLabels(const OdBcfLabelsPtr &labelsValue);
385
393
400 const OdBcfLabelsPtr& getLabels() const;
401
406 bool isLabelsUnset() const;
407
412 void setDueDate(const OdBcf::OdBcfTimeStampPtr &dueDateValue);
413
421
429
434 bool isDueDateUnset() const;
435
440 void setAssignedTo(const OdString &assignedToValue);
441
449
456 const OdString& getAssignedTo() const;
457
462 bool isAssignedToUnset() const;
463
468 void setStage(const OdString &stageValue);
469
477
484 const OdString& getStage() const;
485
490 bool isStageUnset() const;
491
496 void setDescription(const OdString &descriptionValue);
497
505
512 const OdString& getDescription() const;
513
518 bool isDescriptionUnset() const;
519
524 void setBimSnippet(const OdBcfBimSnippetPtr &bimSnippetValue);
525
533
541
546 bool isBimSnippetUnset() const;
547
552 void setTopicType(const OdString &topicTypeValue);
553
561
568 const OdString& getTopicType() const;
569
574 bool isTopicTypeUnset() const;
575
580 void setTopicStatus(const OdString &topicStatusValue);
581
589
596 const OdString& getTopicStatus() const;
597
602 bool isTopicStatusUnset() const;
603
611
617
625
631
639
645
653
659
667
673
681
687
692 void setComments(const OdBcfCommentsPtr& commentsValue);
693
701
709
714 bool isCommentsUnset() const;
715
720 void setViewpoints(const OdBcfViewpointsPtr& viewpointsValue);
721
729
737
742 bool isViewpointsUnset() const;
743
750 const OdGUID& getGuid() const;
751
756 bool isGuidUnset() const;
757
765
771
772
773 //DOM-IGNORE-BEGIN
774 protected:
779 void setCreationDate(const OdBcf::OdBcfTimeStampPtr &creationDateValue);
780
785 void setCreationAuthor(const OdString &creationAuthorValue);
786
791 void setModifiedDate(const OdBcf::OdBcfTimeStampPtr &modifiedDateValue);
792
797 void setModifiedAuthor(const OdString &modifiedAuthorValue);
798
803 void setDocumentReferences(const OdBcfDocumentReferencesPtr &documentReferencesValue);
804
809 void setRelatedTopics(const OdBcfRelatedTopicsPtr &relatedTopicsValue);
810
815 void setGuid(const OdGUID &guidValue);
816
821 void setServerAssignedId(const OdString& serverAssignedIdValue);
822
830
838
846
854
862
870
878
886
892 OdBcfTopic& operator = (const OdBcfTopicData& val);
893
898 virtual bool validateData() const ODRX_OVERRIDE;
899
901 //DOM-IGNORE-END
902 };
903
908
913
914} //namespace OdBcf_3_0
915
916#endif // _BCF_3_0_TOPIC_H
#define BCF_3_0_EXPORT
int OdInt32
#define ODRX_OVERRIDE
OdResult
Definition OdResult.h:29
OdBcf::OdBcfTimeStampPtr m_pCreationDate
OdBcfCommentsPtr m_pComments
OdBcfViewpointsPtr m_pViewpoints
OdBcfDocumentReferencesPtr m_pDocumentReferences
OdBcfRelatedTopicsPtr m_pRelatedTopics
OdBcfBimSnippetPtr m_pBimSnippet
OdBcf::OdBcfTimeStampPtr m_pModifiedDate
OdBcf::OdBcfTimeStampPtr m_pDueDate
OdBcfReferenceLinksPtr m_pReferenceLinks
const OdInt32 & getIndex() const
void setRelatedTopics(const OdBcfRelatedTopicsPtr &relatedTopicsValue)
void setDueDate(const OdBcf::OdBcfTimeStampPtr &dueDateValue)
ODRX_DECLARE_MEMBERS(OdBcfTopic)
bool isDocumentReferencesUnset() const
OdString & getPriority()
OdString & getDescription()
OdString & getTopicType()
void setModifiedAuthor(const OdString &modifiedAuthorValue)
bool isModifiedDateUnset() const
const OdBcf::OdBcfTimeStampPtr & getDueDate() const
void setTitle(const OdString &titleValue)
const OdString & getPriority() const
void setDescription(const OdString &descriptionValue)
bool isStageUnset() const
bool isAssignedToUnset() const
const OdString & getServerAssignedId() const
virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE
void setViewpoints(const OdBcfViewpointsPtr &viewpointsValue)
bool isGuidUnset() const
bool isPriorityUnset() const
const OdString & getDescription() const
void setBimSnippet(const OdBcfBimSnippetPtr &bimSnippetValue)
void setTopicStatus(const OdString &topicStatusValue)
void setStage(const OdString &stageValue)
OdBcf::OdBcfTimeStampPtr & getDueDate()
bool isServerAssignedIdUnset() const
const OdBcfCommentsPtr & getComments() const
bool isLabelsUnset() const
const OdString & getModifiedAuthor() const
void setAssignedTo(const OdString &assignedToValue)
const OdBcfViewpointsPtr & getViewpoints() const
const OdString & getTopicStatus() const
void setLabels(const OdBcfLabelsPtr &labelsValue)
OdBcfDocumentReferencesPtr & getDocumentReferences()
bool isTopicTypeUnset() const
void setReferenceLinks(const OdBcfReferenceLinksPtr &referenceLinksValue)
bool isViewpointsUnset() const
const OdBcf::OdBcfTimeStampPtr & getCreationDate() const
void setPriority(const OdString &priorityValue)
OdString & getServerAssignedId()
OdBcfViewpointsPtr & getViewpoints()
OdString & getCreationAuthor()
OdString & getModifiedAuthor()
bool isIndexUnset() const
virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE
bool isTopicStatusUnset() const
bool isReferenceLinksUnset() const
void setCreationAuthor(const OdString &creationAuthorValue)
void setCreationDate(const OdBcf::OdBcfTimeStampPtr &creationDateValue)
void setComments(const OdBcfCommentsPtr &commentsValue)
OdBcfLabelsPtr & getLabels()
void setDocumentReferences(const OdBcfDocumentReferencesPtr &documentReferencesValue)
bool isTitleUnset() const
void setTopicType(const OdString &topicTypeValue)
const OdBcfLabelsPtr & getLabels() const
const OdString & getTopicType() const
OdString & getTopicStatus()
bool isRelatedTopicsUnset() const
bool isDueDateUnset() const
OdString & getAssignedTo()
const OdString & getTitle() const
void setIndex(const OdInt32 &indexValue)
const OdString & getAssignedTo() const
OdString & getStage()
virtual bool validateData() const ODRX_OVERRIDE
bool isCreationDateUnset() const
bool isCommentsUnset() const
bool isBimSnippetUnset() const
void setModifiedDate(const OdBcf::OdBcfTimeStampPtr &modifiedDateValue)
OdBcf::OdBcfTimeStampPtr & getCreationDate()
void setServerAssignedId(const OdString &serverAssignedIdValue)
OdBcf::OdBcfTimeStampPtr & getModifiedDate()
OdString & getTitle()
OdBcfCommentsPtr & getComments()
OdBcfReferenceLinksPtr & getReferenceLinks()
const OdBcfReferenceLinksPtr & getReferenceLinks() const
const OdBcfRelatedTopicsPtr & getRelatedTopics() const
const OdString & getCreationAuthor() const
const OdString & getStage() const
bool isModifiedAuthorUnset() const
const OdGUID & getGuid() const
bool isCreationAuthorUnset() const
const OdBcfDocumentReferencesPtr & getDocumentReferences() const
OdBcfRelatedTopicsPtr & getRelatedTopics()
const OdBcfBimSnippetPtr & getBimSnippet() const
bool isDescriptionUnset() const
OdBcfBimSnippetPtr & getBimSnippet()
void setGuid(const OdGUID &guidValue)
const OdBcf::OdBcfTimeStampPtr & getModifiedDate() const
OdSmartPtr< OdBcfBimSnippet > OdBcfBimSnippetPtr
OdSmartPtr< OdBcfViewpoints > OdBcfViewpointsPtr
OdSmartPtr< OdBcfTopic > OdBcfTopicPtr
OdSmartPtr< OdBcfComments > OdBcfCommentsPtr
OdArray< OdBcfTopicPtr > OdBcfTopicArray
OdSmartPtr< OdBcfRelatedTopics > OdBcfRelatedTopicsPtr
OdSmartPtr< OdBcfReferenceLinks > OdBcfReferenceLinksPtr
OdSmartPtr< OdBcfLabels > OdBcfLabelsPtr
OdSmartPtr< OdBcfDocumentReferences > OdBcfDocumentReferencesPtr
OdSmartPtr< OdBcfTimeStamp > OdBcfTimeStampPtr