CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbBlockTable.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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#include "DwgDeclareMembers.h"
34
36
46{
47public:
48 //DOM-IGNORE-BEGIN
50 //DOM-IGNORE-END
51
52protected:
53
55
57 OdDbSymbolTableIteratorImpl* pImpl);
58};
59
65
66
75{
76public:
77 //DOM-IGNORE-BEGIN
79 //DOM-IGNORE-END
80
86
99 const OdString& recordName,
100 OdDb::OpenMode openMode,
101 bool getErasedRecord = false) const;
102
115 const OdString& recordName,
116 bool getErasedRecord = false) const;
117
128 virtual bool has(const OdString& recordName) const;
129
140 virtual bool has(const OdDbObjectId& objectId) const;
141
152 bool atBeginning = true,
153 bool skipDeleted = true) const;
154
169
175
181
200
214 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
215
226 virtual OdResult dxfIn(OdDbDxfFiler* pFiler);
227
231 virtual OdResult subGetClassID(void* pClsid) const;
232
252 virtual void applyPartialUndo(OdDbDwgFiler* pFiler, OdRxClass* pClass);
253};
254
260
261#include "TD_PackPop.h"
262
263#endif
OdSmartPtr< OdDbBlockTable > OdDbBlockTablePtr
Definition: DbBlockTable.h:259
OdSmartPtr< OdDbBlockTableIterator > OdDbBlockTableIteratorPtr
Definition: DbBlockTable.h:64
#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
DWGMAP_DECLARE_MEMBERS(OdDbBlockTable)
virtual void applyPartialUndo(OdDbDwgFiler *pFiler, OdRxClass *pClass)
const OdDbObjectId & getModelSpaceId() const
OdDbSymbolTableIteratorPtr newIterator(bool atBeginning=true, bool skipDeleted=true) const
virtual OdDbSymbolTableRecordPtr getAt(const OdString &recordName, OdDb::OpenMode openMode, bool getErasedRecord=false) const
const OdDbObjectId & getPaperSpaceId() 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
OdDbBlockTableIterator(OdDbSymbolTableIteratorImpl *pImpl)
ODRX_DECLARE_MEMBERS(OdDbBlockTableIterator)
OpenMode
Definition: DbObjectId.h:54