44 typedef DataTypeT DataType;
46 typedef const DataType& ConstReturnReferenceType;
47 typedef DataType& ReturnReferenceType;
52 typedef typename BaseClass::PrivatePartType PrivatePartType;
53 typedef typename BaseClass::DataTypeReturnReference DataTypeReturnReference;
71 ARCANE_CORE_EXPORT
void fill(
const DataType& value);
73 ARCANE_CORE_EXPORT
void internalSetUsed(
bool v);
77 const DataType& operator[](
const Item& i)
const
79 ARCANE_CHECK_VALID_ITEM_AND_GROUP_KIND(i);
80 ARCANE_ASSERT((m_table.isUsed()),(
"GroupIndexTable expired"));
82 return this->_value(table[i.
localId()]);
84 DataTypeReturnReference operator[](
const Item& i)
86 ARCANE_CHECK_VALID_ITEM_AND_GROUP_KIND(i);
87 ARCANE_ASSERT((m_table.isUsed()),(
"GroupIndexTable expired"));
89 return this->_value(table[i.
localId()]);
94 ARCANE_CHECK_VALID_ITEM_AND_GROUP_KIND(i);
95 return this->_value(i.index());
99 ARCANE_CHECK_VALID_ITEM_AND_GROUP_KIND((*i));
100 ARCANE_CHECK_ENUMERATOR(i,this->itemGroup());
101 return this->_value(i.
index());
105 return this->_value(i.index());
109 ARCANE_CHECK_VALID_ITEM_AND_GROUP_KIND((*i));
110 return this->_value(i.index());
115 ARCANE_CHECK_VALID_ITEM_AND_GROUP_KIND(i);
116 return this->_value(i.index());
120 ARCANE_CHECK_VALID_ITEM_AND_GROUP_KIND((*i));
121 ARCANE_CHECK_ENUMERATOR(i,this->itemGroup());
122 return this->_value(i.
index());
126 return this->_value(i.index());
130 ARCANE_CHECK_VALID_ITEM_AND_GROUP_KIND((*i));
131 return this->_value(i.index());
161 typedef DataTypeT DataType;
162 typedef ItemTypeT ItemType;
164 typedef const DataType& ConstReturnReferenceType;
165 typedef DataType& ReturnReferenceType;
172 typedef typename BaseClass::DataTypeReturnReference DataTypeReturnReference;
185 const DataType& operator[](
const ItemType& i)
const
187 ARCANE_ASSERT((this->m_table.isUsed()),(
"GroupIndexTable expired"));
189 return this->_value(table[i.localId()]);
191 DataTypeReturnReference operator[](
const ItemType& i)
193 ARCANE_ASSERT((this->m_table.isUsed()),(
"GroupIndexTable expired"));
195 return this->_value(table[i.localId()]);
200 return this->_value(i.index());
204 return this->_value(i.index());
208 ARCANE_CHECK_ENUMERATOR(i,this->
itemGroup());
209 return this->_value(i.
index());
213 return this->_value(i.index());
217 ARCANE_CHECK_ENUMERATOR(i,this->
itemGroup());
218 return this->_value(i.
index());
222 return this->_value(i.index());
226 return this->_value(i.index());
230 return this->_value(i.index());
234 ARCANE_CORE_EXPORT GroupType
itemGroup()
const;