Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::ItemInternalVectorView Class Reference

Internal view on an array of entities. More...

#include <arcane/core/ItemInternalVectorView.h>

Collaboration diagram for Arcane::ItemInternalVectorView:

Public Types

using const_iterator = ItemInternalVectorViewConstIterator

Public Member Functions

Integer size () const
 Number of elements in the vector.
Int32ConstArrayView localIds () const
 Array of local entity IDs.
ItemInternal * operator[] (Integer index) const
 Accesses the i-th element of the vector.
ItemInternalArrayView items () const
 Array of entities.
const_iterator begin () const
const_iterator end () const

Public Attributes

friend ItemInternal

Protected Member Functions

Int32 localIdOffset () const

Protected Attributes

Int32ConstArrayView m_local_ids
ItemSharedInfom_shared_info = ItemSharedInfo::nullInstance()
Int32 m_local_id_offset = 0

Private Member Functions

 ItemInternalVectorView (ItemSharedInfo *si, Int32ConstArrayView local_ids, Int32 local_id_offset)
 ItemInternalVectorView (ItemSharedInfo *si, const impl::ItemLocalIdListContainerView &local_ids)
 ItemInternalVectorView (const impl::ItemIndexedListView< DynExtent > &view)
bool _isValid ()
ItemInternalArrayView _items () const

Friends

class ItemVectorView
class ItemInternalConnectivityList
class ItemBase
class ItemEnumeratorBase
class SimdItemEnumeratorBase
class ItemInternalEnumerator
template<int Extent>
class ItemConnectedListView
template<typename T>
class ItemEnumeratorBaseT

Detailed Description

Internal view on an array of entities.

This class is only useful for constructing entity lists used internally by Arcane. The user version of this class is ItemVectorView.

See also
ItemVectorView

Definition at line 139 of file ItemInternalVectorView.h.

Member Typedef Documentation

◆ const_iterator

using Arcane::ItemInternalVectorView::const_iterator = ItemInternalVectorViewConstIterator

Definition at line 152 of file ItemInternalVectorView.h.

Constructor & Destructor Documentation

◆ ItemInternalVectorView() [1/3]

Arcane::ItemInternalVectorView::ItemInternalVectorView ( ItemSharedInfo * si,
Int32ConstArrayView local_ids,
Int32 local_id_offset )
inlineprivate

Definition at line 160 of file ItemInternalVectorView.h.

◆ ItemInternalVectorView() [2/3]

Arcane::ItemInternalVectorView::ItemInternalVectorView ( ItemSharedInfo * si,
const impl::ItemLocalIdListContainerView & local_ids )
inlineprivate

Definition at line 178 of file ItemInternalVectorView.h.

◆ ItemInternalVectorView() [3/3]

Arcane::ItemInternalVectorView::ItemInternalVectorView ( const impl::ItemIndexedListView< DynExtent > & view)
inlineprivate

Definition at line 186 of file ItemInternalVectorView.h.

Member Function Documentation

◆ _isValid()

bool Arcane::ItemInternalVectorView::_isValid ( )
private

Definition at line 251 of file ItemInternal.cc.

◆ _items()

ItemInternalArrayView Arcane::ItemInternalVectorView::_items ( ) const
inlineprivate

Definition at line 241 of file ItemInternalVectorView.h.

◆ begin()

const_iterator Arcane::ItemInternalVectorView::begin ( ) const
inline

Definition at line 217 of file ItemInternalVectorView.h.

◆ end()

const_iterator Arcane::ItemInternalVectorView::end ( ) const
inline

Definition at line 223 of file ItemInternalVectorView.h.

◆ items()

ItemInternalArrayView Arcane::ItemInternalVectorView::items ( ) const
inline

Array of entities.

Definition at line 214 of file ItemInternalVectorView.h.

References items().

Referenced by items().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ localIdOffset()

Int32 Arcane::ItemInternalVectorView::localIdOffset ( ) const
inlineprotected

Definition at line 230 of file ItemInternalVectorView.h.

◆ localIds()

Int32ConstArrayView Arcane::ItemInternalVectorView::localIds ( ) const
inline

Array of local entity IDs.

Definition at line 199 of file ItemInternalVectorView.h.

◆ operator[]()

ItemInternal * Arcane::ItemInternalVectorView::operator[] ( Integer index) const
inline

Accesses the i-th element of the vector.

This method is obsolete. You must construct an 'ItemVectorView' instead and use the associated 'operator[]'.

Definition at line 210 of file ItemInternalVectorView.h.

◆ size()

Integer Arcane::ItemInternalVectorView::size ( ) const
inline

Number of elements in the vector.

Definition at line 195 of file ItemInternalVectorView.h.

◆ ItemBase

friend class ItemBase
friend

Definition at line 145 of file ItemInternalVectorView.h.

◆ ItemConnectedListView

template<int Extent>
friend class ItemConnectedListView
friend

Definition at line 149 of file ItemInternalVectorView.h.

◆ ItemEnumeratorBase

friend class ItemEnumeratorBase
friend

Definition at line 146 of file ItemInternalVectorView.h.

◆ ItemEnumeratorBaseT

template<typename T>
friend class ItemEnumeratorBaseT
friend

Definition at line 151 of file ItemInternalVectorView.h.

◆ ItemInternalConnectivityList

friend class ItemInternalConnectivityList
friend

Definition at line 144 of file ItemInternalVectorView.h.

◆ ItemInternalEnumerator

friend class ItemInternalEnumerator
friend

Definition at line 148 of file ItemInternalVectorView.h.

◆ ItemVectorView

friend class ItemVectorView
friend

Definition at line 143 of file ItemInternalVectorView.h.

◆ SimdItemEnumeratorBase

friend class SimdItemEnumeratorBase
friend

Definition at line 147 of file ItemInternalVectorView.h.

Member Data Documentation

◆ ItemInternal

friend Arcane::ItemInternalVectorView::ItemInternal

Definition at line 150 of file ItemInternalVectorView.h.

◆ m_local_id_offset

Int32 Arcane::ItemInternalVectorView::m_local_id_offset = 0
protected

Definition at line 236 of file ItemInternalVectorView.h.

◆ m_local_ids

Int32ConstArrayView Arcane::ItemInternalVectorView::m_local_ids
protected

Definition at line 234 of file ItemInternalVectorView.h.

◆ m_shared_info

ItemSharedInfo* Arcane::ItemInternalVectorView::m_shared_info = ItemSharedInfo::nullInstance()
protected

Definition at line 235 of file ItemInternalVectorView.h.


The documentation for this class was generated from the following files: