77 static const Int32 NULL_INDEX =
static_cast<Int32
>(-1);
91 static ItemSharedInfo* nullInstance() {
return nullItemSharedInfoPointer; }
105 eItemKind itemKind()
const {
return m_item_kind; }
106 IItemFamily* itemFamily()
const {
return m_item_family; }
107 Int32 nbParent()
const {
return m_nb_parent; }
108 ItemTypeInfo* typeInfoFromId(
Int32 type_id)
const;
110 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
111 constexpr
Int32 nbNode()
const {
return 0; }
112 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 0")
113 constexpr
Int32 nbEdge()
const {
return 0; }
114 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 0")
115 constexpr
Int32 nbFace()
const {
return 0; }
116 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 0")
117 constexpr
Int32 nbCell()
const {
return 0; }
118 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 0")
119 constexpr
Int32 nbHParent()
const {
return 0; }
120 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 0")
121 constexpr
Int32 nbHChildren()
const {
return 0; }
123 ARCANE_DEPRECATED_REASON(
"Y2022: This method always throws an exception. Use ItemInternal::typeId() instead")
124 Int32 typeId() const;
126 ARCANE_DEPRECATED_REASON("Y2022: This method always return 0")
127 Int32 firstNode()
const {
return 0; }
128 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
129 Int32 firstEdge()
const {
return 0; }
130 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
131 Int32 firstFace()
const {
return 0; }
132 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
133 Int32 firstCell()
const {
return 0; }
134 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
135 Int32 firstParent()
const {
return 0; }
136 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
137 Int32 firstHParent()
const {
return 0; }
138 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
139 Int32 firstHChild()
const {
return 0; }
141 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
142 constexpr
Int32 neededMemory()
const {
return 0; }
143 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
144 constexpr
Int32 minimumNeededMemory()
const {
return 0; }
145 ARCCORE_DEPRECATED_2021(
"This method always return 'false'")
146 constexpr
bool hasLegacyConnectivity()
const {
return false; }
148 void updateMeshItemInternalList();
152 void print(std::ostream& o)
const;
156 ARCANE_DEPRECATED_REASON(
"Y2022: This list is always empty")
157 ItemInternalVectorView nodes(
Int32) const;
159 ARCANE_DEPRECATED_REASON("Y2020: This list is always empty")
160 ItemInternalVectorView edges(
Int32) const;
162 ARCANE_DEPRECATED_REASON("Y2020: This list is always empty")
163 ItemInternalVectorView faces(
Int32) const;
165 ARCANE_DEPRECATED_REASON("Y2020: This list is always empty")
166 ItemInternalVectorView cells(
Int32) const;
168 ARCANE_DEPRECATED_REASON("Y2020: This list is always empty")
169 ItemInternalVectorView hChildren(
Int32) const;
173 ARCANE_DEPRECATED_REASON("Y2022: This method always throws an exception. Use _parentV2() instead")
174 ItemInternal* parent(Integer,Integer) const;
178 ItemInternal* _parentV2(
Int32 local_id,[[maybe_unused]] Integer aindex)
const
181 ARCANE_ASSERT((aindex==0),(
"Only one parent access implemented"));
182 return _parent(m_parent_item_ids[local_id]);
184 Int32 _parentLocalIdV2(
Int32 local_id,[[maybe_unused]] Integer aindex)
const
187 ARCANE_ASSERT((aindex==0),(
"Only one parent access implemented"));
188 return m_parent_item_ids[local_id];
190 void _setParentV2(
Int32 local_id,Integer aindex,
Int32 parent_local_id);
195 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'nullptr'")
196 ItemInternal* node(
Int32,
Int32)
const {
return nullptr; }
197 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'nullptr'")
198 ItemInternal* edge(
Int32,
Int32)
const {
return nullptr; }
199 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'nullptr'")
200 ItemInternal* face(
Int32,
Int32)
const {
return nullptr; }
201 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'nullptr'")
202 ItemInternal* cell(
Int32,
Int32)
const {
return nullptr; }
203 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'nullptr'")
204 ItemInternal* hParent(Integer,Integer)
const {
return nullptr; }
205 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'nullptr'")
206 ItemInternal* hChild(
Int32,
Int32)
const {
return nullptr; }
210 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'NULL_ITEM_LOCAL_ID'")
212 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'NULL_ITEM_LOCAL_ID'")
214 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'NULL_ITEM_LOCAL_ID'")
216 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'NULL_ITEM_LOCAL_ID'")
218 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'NULL_ITEM_LOCAL_ID'")
219 Integer parentLocalId(Integer,Integer)
const {
return NULL_ITEM_LOCAL_ID; }
220 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'NULL_ITEM_LOCAL_ID'")
221 Int32 hParentLocalId(Integer,Integer)
const {
return NULL_ITEM_LOCAL_ID; }
222 ARCANE_DEPRECATED_REASON(
"Y2020: This method always return 'NULL_ITEM_LOCAL_ID'")
223 Int32 hChildLocalId(Integer,Integer)
const {
return NULL_ITEM_LOCAL_ID; }
227 ARCANE_DEPRECATED_REASON(
"Y2022: This method always throws an exception.")
229 ARCANE_DEPRECATED_REASON("Y2022: This method always throws an exception.")
231 ARCANE_DEPRECATED_REASON("Y2022: This method always throws an exception.")
233 ARCANE_DEPRECATED_REASON("Y2022: This method always throws an exception.")
235 ARCANE_DEPRECATED_REASON("Y2022: This method always throws an exception.")
237 ARCANE_DEPRECATED_REASON("Y2022: This method always throws an exception.")
240 ARCANE_DEPRECATED_REASON("Y2022: This method always throws an exception. Use _setParentV2() instead")
241 void setParent(Integer,Integer,Integer) const;
245 ARCANE_DEPRECATED_REASON("Y2022: This method always return 0")
246 constexpr
Int32 edgeAllocated()
const {
return 0; }
247 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
248 constexpr
Int32 faceAllocated()
const {
return 0; }
249 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
250 constexpr
Int32 cellAllocated()
const {
return 0; }
251 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
252 constexpr
Int32 hParentAllocated()
const {
return 0; }
253 ARCANE_DEPRECATED_REASON(
"Y2022: This method always return 0")
254 constexpr
Int32 hChildAllocated()
const {
return 0; }
258 ARCANE_DEPRECATED_REASON(
"Y2022: This method always returns 'nullptr'")
259 const
Int32* _infos()
const {
return nullptr; }
260 ARCANE_DEPRECATED_REASON(
"Y2022: This method always throws an exception.")
261 void _setInfos(
Int32* ptr);
269 MeshItemInternalList* m_items =
nullptr;
270 ItemInternalConnectivityList* m_connectivity;
271 IItemFamily* m_item_family =
nullptr;
272 ItemTypeMng* m_item_type_mng =
nullptr;
273 Int64ArrayView m_unique_ids;
274 Int32ArrayView m_parent_item_ids;
275 Int32ArrayView m_owners;
276 Int32ArrayView m_flags;
277 Int16ArrayView m_type_ids;
278 eItemKind m_item_kind = IK_Unknown;
279 Int32 m_nb_parent = 0;
285 Int32 owner(Int32) const;
287 void setOwner(Int32,Int32) const;
289 Int32 flags(Int32) const;
291 void setFlags(Int32,Int32) const;
295 Int32 _ownerV2(Int32 local_id)
const {
return m_owners[local_id]; }
296 void _setOwnerV2(Int32 local_id,Int32
aowner) { m_owners[local_id] =
aowner; }
297 Int32 _flagsV2(
Int32 local_id)
const {
return m_flags[local_id]; }
298 void _setFlagsV2(
Int32 local_id,
Int32 f) { m_flags[local_id] = f; }
300 Int16 _typeId(
Int32 local_id)
const {
return m_type_ids[local_id]; }
301 void _setTypeId(
Int32 local_id,
Int16 v) { m_type_ids[local_id] = v; }
306 ARCANE_DEPRECATED_REASON(
"Y2022: COMMON_BASE_MEMORY is always 0")
307 static const
Int32 COMMON_BASE_MEMORY = 0;
311 void _init(eItemKind ik);
313 ItemInternal* _parent(
Int32 id) const;