CFx SDK Documentation  2022 SP0
summinfo.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 
25 
26 
27 #ifndef _SUMMINFO_H_
28 #define _SUMMINFO_H_
29 
30 #include "RxObject.h"
31 #include "DbDatabase.h"
32 #include "DbLibraryInfo.h"
33 
34 #include "TD_PackPush.h"
35 
46 {
47 public:
49 
51 
55  virtual OdString getTitle() const = 0;
56 
61  virtual void setTitle(
62  const OdString& title) = 0;
63 
67  virtual OdString getSubject() const = 0;
68 
73  virtual void setSubject(
74  const OdString& subject) = 0;
75 
79  virtual OdString getAuthor() const = 0;
80 
85  virtual void setAuthor(
86  const OdString& author) = 0;
87 
94  virtual OdString getKeywords() const = 0;
95 
102  virtual void setKeywords(
103  const OdString& keywords) = 0;
104 
108  virtual OdString getComments() const = 0;
109 
114  virtual void setComments(
115  const OdString& comments) = 0;
116 
117 
121  virtual OdString getLastSavedBy() const = 0;
122 
127  virtual void setLastSavedBy(
128  const OdString& lastSavedBy) = 0;
129 
136  virtual OdString getRevisionNumber() const = 0;
137 
144  virtual void setRevisionNumber(
145  const OdString& revisionNumber) = 0;
146 
150  virtual OdString getHyperlinkBase() const = 0;
151 
156  virtual void setHyperlinkBase(
157  const OdString& hyperlinkBase) = 0;
161  virtual int numCustomInfo() const = 0;
162 
168  virtual void addCustomSummaryInfo(
169  const OdString& key,
170  const OdString& value ) = 0;
171 
177  int fieldIndex) = 0;
178 
184  const OdString& key) = 0;
185 
192  virtual void getCustomSummaryInfo(
193  int fieldIndex,
194  OdString& key,
195  OdString& rvalue) const = 0;
196 
203  virtual void setCustomSummaryInfo(
204  int fieldIndex, const OdString& key,
205  const OdString& value) = 0;
206 
212  virtual bool getCustomSummaryInfo(
213  const OdString& customInfoKey,
214  OdString& rvalue ) const = 0;
215 
221  virtual void setCustomSummaryInfo(
222  const OdString& customInfoKey,
223  const OdString& value) = 0;
224 
228  virtual OdDbDatabase* database() const = 0;
229 
234  virtual void setDatabase(
235  OdDbDatabase *pDb) = 0;
236 };
237 
242 
243 
247 
248 
249 #include "TD_PackPop.h"
250 
251 #endif // _SUMMINFO_H_
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
virtual OdString getSubject() const =0
virtual void setAuthor(const OdString &author)=0
virtual OdString getKeywords() const =0
virtual OdString getComments() const =0
virtual void setDatabase(OdDbDatabase *pDb)=0
virtual OdString getLastSavedBy() const =0
virtual void setLastSavedBy(const OdString &lastSavedBy)=0
virtual void deleteCustomSummaryInfo(int fieldIndex)=0
virtual int numCustomInfo() const =0
virtual OdDbDatabase * database() const =0
virtual OdString getTitle() const =0
virtual void setTitle(const OdString &title)=0
virtual OdString getAuthor() const =0
virtual void setHyperlinkBase(const OdString &hyperlinkBase)=0
ODRX_DECLARE_MEMBERS(OdDbDatabaseSummaryInfo)
virtual bool getCustomSummaryInfo(const OdString &customInfoKey, OdString &rvalue) const =0
virtual OdString getHyperlinkBase() const =0
virtual void setComments(const OdString &comments)=0
virtual void getCustomSummaryInfo(int fieldIndex, OdString &key, OdString &rvalue) const =0
virtual bool deleteCustomSummaryInfo(const OdString &key)=0
virtual OdString getRevisionNumber() const =0
virtual void setCustomSummaryInfo(const OdString &customInfoKey, const OdString &value)=0
virtual void addCustomSummaryInfo(const OdString &key, const OdString &value)=0
virtual void setRevisionNumber(const OdString &revisionNumber)=0
virtual void setSubject(const OdString &subject)=0
virtual void setCustomSummaryInfo(int fieldIndex, const OdString &key, const OdString &value)=0
virtual void setKeywords(const OdString &keywords)=0
GLsizei const GLfloat * value
Definition: gles2_ext.h:302
TOOLKIT_EXPORT void oddbPutSummaryInfo(const OdDbDatabaseSummaryInfo *pInfo)
TOOLKIT_EXPORT OdDbLibraryInfo * oddbGetLibraryInfo(void)
TOOLKIT_EXPORT OdDbDatabaseSummaryInfoPtr oddbGetSummaryInfo(OdDbDatabase *pDb)
OdSmartPtr< OdDbDatabaseSummaryInfo > OdDbDatabaseSummaryInfoPtr
Definition: summinfo.h:241