83class ARCANE_CORE_EXPORT GroupIndexTable
88 typedef Int32 KeyTypeValue;
89 typedef Int32 ValueType;
91 typedef KeyTraitsType::KeyTypeConstRef KeyTypeConstRef;
105 ValueType operator[](
Int32 i)
const {
return _lookup(i); }
107 KeyTypeValue keyLocalId(
Int32 i)
const {
return m_key_buffer[i]; }
109 Int32 size()
const {
return m_key_buffer.size(); }
113 ARCANE_ASSERT((_initialized()), (
"GroupIndexTable not initialized"));
114 ARCANE_ASSERT((_checkIntegrity(
false)), (
"GroupIndexTable integrity failed"));
126 Int32 _hash(KeyTypeConstRef
id)
const
128 ARCANE_ASSERT((_initialized()), (
"GroupIndexTable not initialized"));
129 return m_view._hash(
id);
132 bool _hasKey(KeyTypeConstRef
id)
const;
135 Int32 _lookupBucket(
Int32 bucket, KeyTypeConstRef
id)
const
137 ARCANE_ASSERT((_initialized()), (
"GroupIndexTable not initialized"));
138 return m_view._lookupBucket(bucket,
id);
142 Int32 _lookup(KeyTypeConstRef
id)
const
144 ARCANE_ASSERT((_checkIntegrity(
false)), (
"GroupIndexTable integrity failed"));
145 return _lookupBucket(_hash(
id),
id);
149 bool _initialized()
const;
152 bool _checkIntegrity(
bool full =
true)
const;
160 bool m_disable_check_integrity =
false;