6 #ifndef _INC_cUIDManagerTable_H
7 #define _INC_cUIDManagerTable_H
38 static const int k_RANGE_SIZE = 10000;
41 static const char k_FreePostfix[5];
50 cString get_StatusString()
const;
51 bool IsFreeOrDeleted(
UID_t uid)
const;
59 void DeleteUIDIndex(
UID_t uid,
bool bFree,
bool bWasSaved);
60 void DeleteUID(
cXObject* pObj,
bool bFree);
71 const char* get_TableName() const noexcept
74 return m_pszTableName;
82 void Dump_DeletedUIDs();
95 const char* m_pszTableName;
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cSQLDatabasePool.h:18
Definition: cSQLDatabase.h:30
Definition: cSQLStatement.h:109
Definition: cUIDManagerTable.h:29
UNITTEST_FRIEND(cUIDManagerTable)
const cUIDRangeMask m_UIDRange
Mask of the range of valid UID's (allow high bits to float)
Definition: cUIDManagerTable.h:85
cHashTableRef< cXObject, UID_t, 9 > m_UsedUIDs
9 bits = 512 buckets
Definition: cUIDManagerTable.h:88
bool m_bLogDelete
track deletes. in log
Definition: cUIDManagerTable.h:89
Definition: cXObject.h:78
Definition: cHashTable.h:20
Definition: cHashTable.h:191
Definition: cThreadLock.h:498
int UIDINDEX_t
non dressed (partial) UID_t. just an index in a range inside the UID_t. k_HASHCODE_CLEAR
Definition: cUID.h:69
UNITTEST2_PREDEF(cQuadtree)
HASHCODE32_t UID_t
Sort of the same as a HASHCODE_t. not the same as UIDINDEX_t.
Definition: cUID.h:18
uint16 index
Definition: sample3.cpp:29