CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Bcf_3_0Extensions.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_EXTENSIONS_H
25#define _BCF_3_0_EXTENSIONS_H
26
27#include "BcfCommon.h"
28#include "OdArray.h"
29
30#include "BcfElement.h"
31
35namespace OdBcf_3_0 {
36
37 class OdBcfTopicTypes;
42
48
49 class OdBcfPriorities;
54
55 class OdBcfTopicLabels;
60
61 class OdBcfUsers;
66
72
73 class OdBcfStages;
78
79 class OdBcfSession;
80
85 {
86 public:
87
88 //DOM-IGNORE-BEGIN
90 //DOM-IGNORE-END
91
104 const OdBcfTopicTypesPtr &pTopicTypes,
105 const OdBcfTopicStatusesPtr &pTopicStatuses = OdBcfTopicStatusesPtr(),
106 const OdBcfPrioritiesPtr &pPriorities = OdBcfPrioritiesPtr(),
107 const OdBcfTopicLabelsPtr &pTopicLabels = OdBcfTopicLabelsPtr(),
108 const OdBcfUsersPtr &pUsers = OdBcfUsersPtr(),
109 const OdBcfSnippetTypesPtr &pSnippetTypes = OdBcfSnippetTypesPtr(),
110 const OdBcfStagesPtr &pStages = OdBcfStagesPtr());
111
117 virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE;
118
124 virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE;
125
130 void setTopicTypes(const OdBcfTopicTypesPtr &topicTypesValue);
131
139
147
152 bool isTopicTypesUnset() const;
153
158 void setTopicStatuses(const OdBcfTopicStatusesPtr& topicStatusesValue);
159
167
175
181
186 void setPriorities(const OdBcfPrioritiesPtr& prioritiesValue);
187
195
203
208 bool isPrioritiesUnset() const;
209
214 void setTopicLabels(const OdBcfTopicLabelsPtr& topicLabelsValue);
215
223
231
236 bool isTopicLabelsUnset() const;
237
242 void setUsers(const OdBcfUsersPtr& usersValue);
243
251
258 const OdBcfUsersPtr& getUsers() const;
259
264 bool isUsersUnset() const;
265
270 void setSnippetTypes(const OdBcfSnippetTypesPtr& snippetTypesValue);
271
279
287
293
298 void setStages(const OdBcfStagesPtr& stagesValue);
299
307
314 const OdBcfStagesPtr& getStages() const;
315
320 bool isStagesUnset() const;
321
322 //DOM-IGNORE-BEGIN
323 protected:
331
336 virtual bool validateData() const ODRX_OVERRIDE;
337
339 //DOM-IGNORE-END
340 };
341
346
347} //namespace OdBcf_3_0
348
349#endif // _BCF_3_0_EXTENSIONS_H
#define BCF_3_0_EXPORT
#define ODRX_OVERRIDE
OdResult
Definition OdResult.h:29
bool isTopicTypesUnset() const
const OdBcfSnippetTypesPtr & getSnippetTypes() const
bool isPrioritiesUnset() const
OdBcfTopicTypesPtr m_pTopicTypes
static OdSmartPtr< OdBcfExtensions > createObject(const OdBcfTopicTypesPtr &pTopicTypes, const OdBcfTopicStatusesPtr &pTopicStatuses=OdBcfTopicStatusesPtr(), const OdBcfPrioritiesPtr &pPriorities=OdBcfPrioritiesPtr(), const OdBcfTopicLabelsPtr &pTopicLabels=OdBcfTopicLabelsPtr(), const OdBcfUsersPtr &pUsers=OdBcfUsersPtr(), const OdBcfSnippetTypesPtr &pSnippetTypes=OdBcfSnippetTypesPtr(), const OdBcfStagesPtr &pStages=OdBcfStagesPtr())
virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE
OdBcfTopicStatusesPtr & getTopicStatuses()
OdBcfPrioritiesPtr m_pPriorities
const OdBcfStagesPtr & getStages() const
void setTopicTypes(const OdBcfTopicTypesPtr &topicTypesValue)
const OdBcfPrioritiesPtr & getPriorities() const
OdBcfTopicTypesPtr & getTopicTypes()
OdBcfTopicStatusesPtr m_pTopicStatuses
void setPriorities(const OdBcfPrioritiesPtr &prioritiesValue)
bool isSnippetTypesUnset() const
OdBcfTopicLabelsPtr m_pTopicLabels
void setUsers(const OdBcfUsersPtr &usersValue)
OdBcfPrioritiesPtr & getPriorities()
void setTopicStatuses(const OdBcfTopicStatusesPtr &topicStatusesValue)
OdBcfUsersPtr & getUsers()
const OdBcfTopicStatusesPtr & getTopicStatuses() const
bool isTopicLabelsUnset() const
const OdBcfTopicTypesPtr & getTopicTypes() const
ODRX_DECLARE_MEMBERS(OdBcfExtensions)
bool isTopicStatusesUnset() const
virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE
void setStages(const OdBcfStagesPtr &stagesValue)
const OdBcfTopicLabelsPtr & getTopicLabels() const
OdBcfSnippetTypesPtr & getSnippetTypes()
virtual bool validateData() const ODRX_OVERRIDE
OdBcfSnippetTypesPtr m_pSnippetTypes
OdBcfStagesPtr & getStages()
void setSnippetTypes(const OdBcfSnippetTypesPtr &snippetTypesValue)
const OdBcfUsersPtr & getUsers() const
void setTopicLabels(const OdBcfTopicLabelsPtr &topicLabelsValue)
OdBcfTopicLabelsPtr & getTopicLabels()
OdSmartPtr< OdBcfTopicTypes > OdBcfTopicTypesPtr
OdSmartPtr< OdBcfPriorities > OdBcfPrioritiesPtr
OdSmartPtr< OdBcfExtensions > OdBcfExtensionsPtr
OdSmartPtr< OdBcfStages > OdBcfStagesPtr
OdSmartPtr< OdBcfSnippetTypes > OdBcfSnippetTypesPtr
OdSmartPtr< OdBcfTopicStatuses > OdBcfTopicStatusesPtr
OdSmartPtr< OdBcfTopicLabels > OdBcfTopicLabelsPtr
OdSmartPtr< OdBcfUsers > OdBcfUsersPtr