CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Bcf_3_0DataAccessor.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_DATA_ACCESSOR_H
25#define _BCF_3_0_DATA_ACCESSOR_H
26
27#include "BcfCommon.h"
28#include "BcfDataAccessor.h"
29
33namespace OdBcf_3_0 {
34
35 class OdBcfExtensions;
39 typedef OdSmartPtr<OdBcfExtensions> OdBcfExtensionsPtr;
40
41 class OdBcfVersion;
45 typedef OdSmartPtr<OdBcfVersion> OdBcfVersionPtr;
46
51 typedef OdSmartPtr<OdBcfDocumentInfo> OdBcfDocumentInfoPtr;
52
53 class OdBcfProjectInfo;
57 typedef OdSmartPtr<OdBcfProjectInfo> OdBcfProjectInfoPtr;
58
59 class OdBcfTopicFolder;
63 typedef OdSmartPtr<OdBcfTopicFolder> OdBcfTopicFolderPtr;
64
65 class OdBcfMarkup;
70
76
77 class OdBcfArchive;
82
87 {
88 public:
89
90 //DOM-IGNORE-BEGIN
92 //DOM-IGNORE-END
93
99
106 virtual OdResult putArchive(const OdString &projectName, const OdBcfArchivePtr &pArchive) = 0;
107
114
121 virtual OdBcfExtensionsPtr getExtensions(const OdString& projectName, OdResult* result = NULL) = 0;
122
129 virtual OdBcfVersionPtr getVersion(const OdString &projectName, OdResult *result = NULL) = 0;
130
137 virtual OdBcfDocumentInfoPtr getDocumentInfo(const OdString& projectName, OdResult* result = NULL) = 0;
138
145 virtual OdBcfProjectInfoPtr getProjectInfo(const OdString &projectName, OdResult *result = NULL) = 0;
146
154 virtual OdBcfTopicFolderPtr getTopic(const OdString &projectName, const OdString &topicId, OdResult *result = NULL) = 0;
155
163 virtual OdBcfMarkupPtr getMarkup(const OdString &projectName, const OdString &topicId, OdResult *result = NULL) = 0;
164
174 const OdString &projectName,
175 const OdString &topicId,
176 const OdString &viewpoint = DEFAULT_VIEWPOINT_FILE_NAME,
177 OdResult *result = NULL) = 0;
178
185 virtual OdBcfArchivePtr getArchive(const OdString &projectName, OdResult *result = NULL) = 0;
186 };
187
192
193} //namespace OdBcf_3_0
194
195#endif // _BCF_3_0_DATA_ACCESSOR_H
#define DEFAULT_VIEWPOINT_FILE_NAME
Definition BcfCommon.h:48
#define BCF_3_0_EXPORT
#define ODRX_OVERRIDE
OdResult
Definition OdResult.h:29
virtual OdResult setProgressMeter(OdDbHostAppProgressMeter *pMeter)=0
virtual OdBcfArchivePtr getArchive(const OdString &projectName, OdResult *result=NULL)=0
virtual OdBcfVersionPtr getVersion(const OdString &projectName, OdResult *result=NULL)=0
virtual OdString getBcfFileVersion() const ODRX_OVERRIDE
virtual OdBcfTopicFolderPtr getTopic(const OdString &projectName, const OdString &topicId, OdResult *result=NULL)=0
virtual OdBcfDocumentInfoPtr getDocumentInfo(const OdString &projectName, OdResult *result=NULL)=0
ODRX_DECLARE_MEMBERS(OdBcfDataAccessor)
virtual OdBcfMarkupPtr getMarkup(const OdString &projectName, const OdString &topicId, OdResult *result=NULL)=0
virtual OdBcfProjectInfoPtr getProjectInfo(const OdString &projectName, OdResult *result=NULL)=0
virtual OdResult putArchive(const OdString &projectName, const OdBcfArchivePtr &pArchive)=0
virtual OdBcfVisualizationInfoPtr getVisualizationInfo(const OdString &projectName, const OdString &topicId, const OdString &viewpoint=DEFAULT_VIEWPOINT_FILE_NAME, OdResult *result=NULL)=0
virtual OdBcfExtensionsPtr getExtensions(const OdString &projectName, OdResult *result=NULL)=0
OdSmartPtr< OdBcfMarkup > OdBcfMarkupPtr
OdSmartPtr< OdBcfExtensions > OdBcfExtensionsPtr
OdSmartPtr< OdBcfProjectInfo > OdBcfProjectInfoPtr
OdSmartPtr< OdBcfVisualizationInfo > OdBcfVisualizationInfoPtr
OdSmartPtr< OdBcfVersion > OdBcfVersionPtr
OdSmartPtr< OdBcfTopicFolder > OdBcfTopicFolderPtr
OdSmartPtr< OdBcfArchive > OdBcfArchivePtr
OdSmartPtr< OdBcfDataAccessor > OdBcfDataAccessorPtr
OdSmartPtr< OdBcfDocumentInfo > OdBcfDocumentInfoPtr