CFx SDK Documentation  2020SP3
DbSortentsTable.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_DBSORTENTSTABLE_H
28 #define OD_DBSORTENTSTABLE_H
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbObject.h"
33 
34 #define STL_USING_UTILITY
35 #include "OdaSTL.h"
36 
40 typedef std::pair<OdDbHandle, OdDbSoftPointerId> HandlePair;
41 
46 
47 
63 {
64 public:
66 
68 
72  void getSortHandle(const OdDbObjectId& id, OdDbHandle& h) const;
73 
80  OdDbObjectIdArray& entityIds);
81 
87  void moveToTop(
88  OdDbObjectIdArray& entityIds);
89 
96  void moveBelow(
97  OdDbObjectIdArray& entityIds,
98  OdDbObjectId targetId);
99 
106  void moveAbove(
107  OdDbObjectIdArray& entityIds,
108  OdDbObjectId targetId);
109 
116  void swapOrder(
117  OdDbObjectId firstId,
118  OdDbObjectId secondId);
119 
124 
127 
138  OdDbObjectId firstID,
139  OdDbObjectId secondID) const;
140 
158  OdDbObjectIdArray& entityIds,
159  OdUInt8 honorSortentsMask = 0) const;
160 
177  OdDbObjectIdArray& entityIds,
178  OdUInt8 honorSortentsMask = 0) const;
179 
180 
192  const OdDbObjectIdArray& entityIds);
193 
203  const HandlePairsArray& handlePairs);
204 
214  HandlePairsArray& handlePairs);
215 
217  OdDbDwgFiler* pFiler);
218 
219  virtual void dwgOutFields(
220  OdDbDwgFiler* pFiler) const;
221 
223  OdDbDxfFiler* pFiler);
224 
225  virtual void dxfOutFields(
226  OdDbDxfFiler* pFiler) const;
227 
229  void* pClsid) const;
230 };
231 
232 
237 
238 //FELIX_CHANGE_BEGIN
239 //issue: 38372
242 //FELIX_CHANGE_END
243 
244 #include "TD_PackPop.h"
245 
246 #endif //OD_DBSORTENTSTABLE_H
247 
OdResult
OdResult
Definition: OdResult.h:29
OdDbSortentsTable::blockId
OdDbObjectId blockId() const
OdDbSortentsTable::moveToTop
void moveToTop(OdDbObjectIdArray &entityIds)
OdDbSortentsTable::moveBelow
void moveBelow(OdDbObjectIdArray &entityIds, OdDbObjectId targetId)
OdDbSortentsTable::moveAbove
void moveAbove(OdDbObjectIdArray &entityIds, OdDbObjectId targetId)
OdDbSortentsTable::moveToBottom
void moveToBottom(OdDbObjectIdArray &entityIds)
OdUInt8
unsigned char OdUInt8
Definition: OdPlatformSettings.h:759
OdDbSortentsTable::getSortHandle
void getSortHandle(const OdDbObjectId &id, OdDbHandle &h) const
fxGetTop
TOOLKIT_EXPORT OdDbObjectId fxGetTop(OdDbSortentsTablePtr p, const OdDbObjectIdArray &objects)
DbObject.h
OdDbSortentsTable::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbSortentsTable::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbSortentsTable::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
OdDbSortentsTablePtr
OdSmartPtr< OdDbSortentsTable > OdDbSortentsTablePtr
Definition: DbSortentsTable.h:236
HandlePair
std::pair< OdDbHandle, OdDbSoftPointerId > HandlePair
Definition: DbSortentsTable.h:40
OdDbSortentsTable::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbSortentsTable::setRelativeDrawOrder
void setRelativeDrawOrder(const OdDbObjectIdArray &entityIds)
OdDbObjectId
Definition: DbObjectId.h:99
OdaSTL.h
OdDbSortentsTable::getAbsoluteDrawOrder
void getAbsoluteDrawOrder(HandlePairsArray &handlePairs)
OdArray
Definition: OdArray.h:591
TD_PackPop.h
OdDbSortentsTable::setAbsoluteDrawOrder
void setAbsoluteDrawOrder(const HandlePairsArray &handlePairs)
OdSmartPtr
Definition: SmartPtr.h:58
OdDbSortentsTable::getFullDrawOrder
void getFullDrawOrder(OdDbObjectIdArray &entityIds, OdUInt8 honorSortentsMask=0) const
OdDbSortentsTable::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbSortentsTable::firstEntityIsDrawnBeforeSecond
bool firstEntityIsDrawnBeforeSecond(OdDbObjectId firstID, OdDbObjectId secondID) const
OdDbSortentsTable::swapOrder
void swapOrder(OdDbObjectId firstId, OdDbObjectId secondId)
OdDbSortentsTable::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbSortentsTable)
TD_PackPush.h
HandlePairsArray
OdArray< HandlePair > HandlePairsArray
Definition: DbSortentsTable.h:45
OdDbSortentsTable::OdDbSortentsTable
OdDbSortentsTable()
OdDbHandle
Definition: DbHandle.h:67
OdDbSortentsTable::getRelativeDrawOrder
void getRelativeDrawOrder(OdDbObjectIdArray &entityIds, OdUInt8 honorSortentsMask=0) const
fxGetBottom
TOOLKIT_EXPORT OdDbObjectId fxGetBottom(OdDbSortentsTablePtr p, const OdDbObjectIdArray &objects)
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbSortentsTable
Definition: DbSortentsTable.h:63
OdDbObject
Definition: DbObject.h:211
OdDbDwgFiler
Definition: DbFiler.h:1031