CFx SDK Documentation  2020SP3
DbIdBuffer.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 OD_DBIDBUFFER_H
28 #define OD_DBIDBUFFER_H
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbObject.h"
33 
41 {
42 public:
46  virtual void start() = 0;
47 
51  virtual bool done() const = 0;
52 
56  virtual void next() = 0;
57 
61  virtual OdDbObjectId id() const = 0;
62 
68  virtual bool seek(OdDbObjectId id) = 0;
69 
74  virtual void removeCurrentId() = 0;
75 };
76 
77 
82 
89 {
90 public:
92 
97 
105 
109  void addId(const OdDbObjectId &id);
110 
114  int numIds() const;
115 
119  void removeAll();
120 
122 
123  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
124 
126 
127  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
128 };
129 
130 
135 
136 #include "TD_PackPop.h"
137 
138 #endif // OD_DBIDBUFFER_H
139 
OdResult
OdResult
Definition: OdResult.h:29
OdDbIdBuffer::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbIdBufferIteratorPtr
OdSmartPtr< OdDbIdBufferIterator > OdDbIdBufferIteratorPtr
Definition: DbIdBuffer.h:81
DbObject.h
OdDbIdBufferIterator::seek
virtual bool seek(OdDbObjectId id)=0
OdDbIdBuffer::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdRxObject
Definition: RxObject.h:564
OdDbObjectId
Definition: DbObjectId.h:99
OdDbIdBufferIterator
Definition: DbIdBuffer.h:41
TD_PackPop.h
OdDbIdBufferIterator::start
virtual void start()=0
OdDbIdBuffer::removeAll
void removeAll()
OdDbIdBufferIterator::removeCurrentId
virtual void removeCurrentId()=0
OdDbIdBufferIterator::id
virtual OdDbObjectId id() const =0
OdDbIdBuffer::newIterator
OdDbIdBufferIteratorPtr newIterator()
OdSmartPtr
Definition: SmartPtr.h:58
OdDbIdBufferIterator::next
virtual void next()=0
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
OdDbIdBuffer::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbIdBufferPtr
OdSmartPtr< OdDbIdBuffer > OdDbIdBufferPtr
Definition: DbIdBuffer.h:134
OdDbIdBuffer::addId
void addId(const OdDbObjectId &id)
OdDbIdBuffer::numIds
int numIds() const
OdDbIdBuffer::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbIdBuffer::OdDbIdBuffer
OdDbIdBuffer()
OdDbIdBufferIterator::done
virtual bool done() const =0
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbIdBuffer::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbIdBuffer)
OdDbObject
Definition: DbObject.h:211
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbIdBuffer
Definition: DbIdBuffer.h:89