CFx SDK Documentation  2023 SP0
BcfDataAccessor.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2020, 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-2020 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_PROCESSOR_H
25 #define _BFC_TOPIC_PROCESSOR_H
26 
27 #include "BcfCommon.h"
28 
32 namespace OdBcf {
33 
34  class OdBcfVersion;
36 
37  class OdBcfProjectExtension;
39 
40  class OdBcfTopicFolder;
42 
43  class OdBcfMarkup;
45 
48 
49  class OdBcfArchive;
51 
56  {
57  public:
58 
59  //DOM-IGNORE-BEGIN
61  //DOM-IGNORE-END
62 
69  virtual OdResult putArchive(const OdString &projectName, const OdBcfArchivePtr &pArchive) = 0;
70 
77  virtual OdBcfVersionPtr getVersion(const OdString &projectName, OdResult *result = NULL) = 0;
78 
85  virtual OdBcfProjectExtensionPtr getProjectExtension(const OdString &projectName, OdResult *result = NULL) = 0;
86 
94  virtual OdBcfTopicFolderPtr getTopic(const OdString &projectName, const OdString &topicId, OdResult *result = NULL) = 0;
95 
103  virtual OdBcfMarkupPtr getMarkup(const OdString &projectName, const OdString &topicId, OdResult *result = NULL) = 0;
104 
114  const OdString &projectName,
115  const OdString &topicId,
116  const OdString &viewpoint = DEFAULT_VIEWPOINT_FILE_NAME,
117  OdResult *result = NULL) = 0;
118 
125  virtual OdBcfArchivePtr getArchive(const OdString &projectName, OdResult *result = NULL) = 0;
126  };
127 
132 
133 } //namespace OdBcf
134 
135 #endif // _BFC_TOPIC_PROCESSOR_H
#define DEFAULT_VIEWPOINT_FILE_NAME
Definition: BcfCommon.h:46
#define NULL
Definition: GsProperties.h:177
#define BCF_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdBcfMarkupPtr getMarkup(const OdString &projectName, const OdString &topicId, OdResult *result=NULL)=0
virtual OdBcfTopicFolderPtr getTopic(const OdString &projectName, const OdString &topicId, OdResult *result=NULL)=0
virtual OdBcfVisualizationInfoPtr getVisualizationInfo(const OdString &projectName, const OdString &topicId, const OdString &viewpoint=DEFAULT_VIEWPOINT_FILE_NAME, OdResult *result=NULL)=0
virtual OdBcfVersionPtr getVersion(const OdString &projectName, OdResult *result=NULL)=0
virtual OdBcfArchivePtr getArchive(const OdString &projectName, OdResult *result=NULL)=0
virtual OdResult putArchive(const OdString &projectName, const OdBcfArchivePtr &pArchive)=0
ODRX_DECLARE_MEMBERS(OdBcfDataAccessor)
virtual OdBcfProjectExtensionPtr getProjectExtension(const OdString &projectName, OdResult *result=NULL)=0
OdSmartPtr< OdBcfArchive > OdBcfArchivePtr
Definition: BcfArchive.h:117
OdSmartPtr< OdBcfMarkup > OdBcfMarkupPtr
OdSmartPtr< OdBcfVersion > OdBcfVersionPtr
Definition: BcfArchive.h:43
OdSmartPtr< OdBcfDataAccessor > OdBcfDataAccessorPtr
OdSmartPtr< OdBcfProjectExtension > OdBcfProjectExtensionPtr
Definition: BcfArchive.h:40
OdSmartPtr< OdBcfVisualizationInfo > OdBcfVisualizationInfoPtr
OdSmartPtr< OdBcfTopicFolder > OdBcfTopicFolderPtr
Definition: BcfArchive.h:46