CFx SDK Documentation  2022 SP0
DbBlockTable.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 _ODDBBLOCKTABLE_INCLUDED
28 #define _ODDBBLOCKTABLE_INCLUDED
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbSymbolTable.h"
33 
35 
44 {
45 public:
46 
48 
49 protected:
50 
52 
54  OdDbSymbolTableIteratorImpl* pImpl);
55 };
56 
61 
62 
72 {
73 public:
75 
81 
94  const OdString& recordName,
95  OdDb::OpenMode openMode,
96  bool getErasedRecord = false) const;
97 
110  const OdString& recordName,
111  bool getErasedRecord = false) const;
112 
122  virtual bool has(const OdString& recordName) const;
123 
133  virtual bool has(const OdDbObjectId& objectId) const;
134 
144  bool atBeginning = true,
145  bool skipDeleted = true) const;
146 
161 
166 
171 
188 
201  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
202 
213  virtual OdResult dxfIn(OdDbDxfFiler* pFiler);
214 
218  virtual OdResult subGetClassID(void* pClsid) const;
219 
237  virtual void applyPartialUndo(OdDbDwgFiler* pFiler, OdRxClass* pClass);
238 };
239 
244 
245 #include "TD_PackPop.h"
246 
247 #endif
248 
OdSmartPtr< OdDbBlockTable > OdDbBlockTablePtr
Definition: DbBlockTable.h:243
OdSmartPtr< OdDbBlockTableIterator > OdDbBlockTableIteratorPtr
Definition: DbBlockTable.h:60
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdResult
Definition: OdResult.h:29
virtual OdDbObjectId add(OdDbSymbolTableRecord *pRecord)
virtual bool has(const OdDbObjectId &objectId) const
virtual bool has(const OdString &recordName) const
ODDB_DECLARE_MEMBERS(OdDbBlockTable)
virtual void applyPartialUndo(OdDbDwgFiler *pFiler, OdRxClass *pClass)
OdDbSymbolTableIteratorPtr newIterator(bool atBeginning=true, bool skipDeleted=true) const
virtual OdDbSymbolTableRecordPtr getAt(const OdString &recordName, OdDb::OpenMode openMode, bool getErasedRecord=false) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdResult dxfIn(OdDbDxfFiler *pFiler)
virtual OdDbObjectId getAt(const OdString &recordName, bool getErasedRecord=false) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult subGetClassID(void *pClsid) const
const OdDbObjectId & getModelSpaceId() const
const OdDbObjectId & getPaperSpaceId() const
OdDbBlockTableIterator(OdDbSymbolTableIteratorImpl *pImpl)
ODRX_DECLARE_MEMBERS(OdDbBlockTableIterator)
OpenMode
Definition: DbObjectId.h:54