CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Bcf_2_1DataAccessor.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_2_1_TOPIC_PROCESSOR_H
25#define _BCF_2_1_TOPIC_PROCESSOR_H
26
27#include "BcfCommon.h"
28#include "BcfDataAccessor.h"
29
33namespace OdBcf_2_1 {
34
35 class OdBcfVersion;
36 typedef OdSmartPtr<OdBcfVersion> OdBcfVersionPtr;
37
39 typedef OdSmartPtr<OdBcfProjectExtension> OdBcfProjectExtensionPtr;
40
41 class OdBcfTopicFolder;
42 typedef OdSmartPtr<OdBcfTopicFolder> OdBcfTopicFolderPtr;
43
44 class OdBcfMarkup;
46
49
50 class OdBcfArchive;
52
57 {
58 public:
59
60 //DOM-IGNORE-BEGIN
62 //DOM-IGNORE-END
63
69
76 virtual OdResult putArchive(const OdString &projectName, const OdBcfArchivePtr &pArchive) = 0;
77
84 virtual OdBcfVersionPtr getVersion(const OdString &projectName, OdResult *result = NULL) = 0;
85
92 virtual OdBcfProjectExtensionPtr getProjectExtension(const OdString &projectName, OdResult *result = NULL) = 0;
93
101 virtual OdBcfTopicFolderPtr getTopic(const OdString &projectName, const OdString &topicId, OdResult *result = NULL) = 0;
102
110 virtual OdBcfMarkupPtr getMarkup(const OdString &projectName, const OdString &topicId, OdResult *result = NULL) = 0;
111
121 const OdString &projectName,
122 const OdString &topicId,
123 const OdString &viewpoint = DEFAULT_VIEWPOINT_FILE_NAME,
124 OdResult *result = NULL) = 0;
125
132 virtual OdBcfArchivePtr getArchive(const OdString &projectName, OdResult *result = NULL) = 0;
133 };
134
139
140} //namespace OdBcf_2_1
141
142#endif // _BCF_2_1_TOPIC_PROCESSOR_H
#define DEFAULT_VIEWPOINT_FILE_NAME
Definition BcfCommon.h:48
#define BCF_2_1_EXPORT
#define ODRX_OVERRIDE
OdResult
Definition OdResult.h:29
virtual OdBcfMarkupPtr getMarkup(const OdString &projectName, const OdString &topicId, OdResult *result=NULL)=0
virtual OdString getBcfFileVersion() const ODRX_OVERRIDE
virtual OdBcfVersionPtr getVersion(const OdString &projectName, OdResult *result=NULL)=0
virtual OdResult putArchive(const OdString &projectName, const OdBcfArchivePtr &pArchive)=0
virtual OdBcfProjectExtensionPtr getProjectExtension(const OdString &projectName, OdResult *result=NULL)=0
virtual OdBcfTopicFolderPtr getTopic(const OdString &projectName, const OdString &topicId, OdResult *result=NULL)=0
virtual OdBcfArchivePtr getArchive(const OdString &projectName, OdResult *result=NULL)=0
ODRX_DECLARE_MEMBERS(OdBcfDataAccessor)
virtual OdBcfVisualizationInfoPtr getVisualizationInfo(const OdString &projectName, const OdString &topicId, const OdString &viewpoint=DEFAULT_VIEWPOINT_FILE_NAME, OdResult *result=NULL)=0
OdSmartPtr< OdBcfVersion > OdBcfVersionPtr
OdSmartPtr< OdBcfVisualizationInfo > OdBcfVisualizationInfoPtr
OdSmartPtr< OdBcfArchive > OdBcfArchivePtr
OdSmartPtr< OdBcfDataAccessor > OdBcfDataAccessorPtr
OdSmartPtr< OdBcfProjectExtension > OdBcfProjectExtensionPtr
OdSmartPtr< OdBcfMarkup > OdBcfMarkupPtr
OdSmartPtr< OdBcfTopicFolder > OdBcfTopicFolderPtr