CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbSortentsTable.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 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
40typedef std::pair<OdDbHandle, OdDbSoftPointerId> HandlePair;
41
46
47
63{
64public:
66
68
72 void getSortHandle(const OdDbObjectId& id, OdDbHandle& h) const;
73
80 OdDbObjectIdArray& entityIds);
81
88 OdDbObjectIdArray& entityIds);
89
97 OdDbObjectIdArray& entityIds,
98 OdDbObjectId targetId);
99
107 OdDbObjectIdArray& entityIds,
108 OdDbObjectId targetId);
109
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
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
TOOLKIT_EXPORT OdDbObjectId fxGetTop(OdDbSortentsTablePtr p, const OdDbObjectIdArray &objects)
OdArray< HandlePair > HandlePairsArray
OdSmartPtr< OdDbSortentsTable > OdDbSortentsTablePtr
TOOLKIT_EXPORT OdDbObjectId fxGetBottom(OdDbSortentsTablePtr p, const OdDbObjectIdArray &objects)
std::pair< OdDbHandle, OdDbSoftPointerId > HandlePair
unsigned char OdUInt8
OdResult
Definition: OdResult.h:29
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void moveAbove(OdDbObjectIdArray &entityIds, OdDbObjectId targetId)
void getRelativeDrawOrder(OdDbObjectIdArray &entityIds, OdUInt8 honorSortentsMask=0) const
bool firstEntityIsDrawnBeforeSecond(OdDbObjectId firstID, OdDbObjectId secondID) const
ODDB_DECLARE_MEMBERS(OdDbSortentsTable)
void setAbsoluteDrawOrder(const HandlePairsArray &handlePairs)
void setRelativeDrawOrder(const OdDbObjectIdArray &entityIds)
void getSortHandle(const OdDbObjectId &id, OdDbHandle &h) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void getAbsoluteDrawOrder(HandlePairsArray &handlePairs)
void moveToBottom(OdDbObjectIdArray &entityIds)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void moveToTop(OdDbObjectIdArray &entityIds)
void swapOrder(OdDbObjectId firstId, OdDbObjectId secondId)
void getFullDrawOrder(OdDbObjectIdArray &entityIds, OdUInt8 honorSortentsMask=0) const
virtual OdResult subGetClassID(void *pClsid) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
void moveBelow(OdDbObjectIdArray &entityIds, OdDbObjectId targetId)
OdDbObjectId blockId() const