Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::ItemConnectedListView< Extent > Class Template Reference

View of a list of entities connected to another entity. More...

#include <arcane/core/ItemConnectedListView.h>

Public Types

using const_iterator = ItemConnectedListViewConstIterator
using difference_type = std::ptrdiff_t
using value_type = Item
using reference_type = Item&
using const_reference_type = const Item&
using SentinelType = const_iterator

Public Member Functions

Item operator[] (Integer index) const
 index-th connected entity
Int32 size () const
 Number of elements in the vector.
const_iterator begin () const
 Iterator over the first connected entity.
SentinelType end () const
 Iterator after the last connected entity.
const_iterator endIterator () const
 Iterator after the last connected entity.
Int32ConstArrayView localIds () const
 operator ItemInternalVectorView () const
ItemEnumerator enumerator () const

Protected Member Functions

 ItemConnectedListView (const impl::ItemIndexedListView< DynExtent > &view)
 ItemConnectedListView (ItemSharedInfo *shared_info, ConstArrayView< Int32 > local_ids, Int32 local_id_offset)
const Int32_localIdsData () const
Int32 _localIdOffset () const

Protected Attributes

ItemIndexArrayView m_index_view
ItemSharedInfom_shared_info = ItemSharedInfo::nullInstance()

Friends

class ItemEnumeratorBase
class ItemVectorView
class ItemConnectedEnumeratorBase
template<typename ItemType>
class ItemEnumeratorBaseT
std::ostream & operator<< (std::ostream &o, const ItemConnectedListView< Extent > &a)

Detailed Description

template<int Extent>
class Arcane::ItemConnectedListView< Extent >

View of a list of entities connected to another entity.

View over a connectivity list.

Warning
the view is only valid as long as the associated array is not modified and the entity family associated with this array is not modified itself.

Definition at line 227 of file ItemConnectedListView.h.

Member Typedef Documentation

◆ const_iterator

template<int Extent>
using Arcane::ItemConnectedListView< Extent >::const_iterator = ItemConnectedListViewConstIterator

Definition at line 237 of file ItemConnectedListView.h.

◆ const_reference_type

template<int Extent>
using Arcane::ItemConnectedListView< Extent >::const_reference_type = const Item&

Definition at line 241 of file ItemConnectedListView.h.

◆ difference_type

template<int Extent>
using Arcane::ItemConnectedListView< Extent >::difference_type = std::ptrdiff_t

Definition at line 238 of file ItemConnectedListView.h.

◆ reference_type

template<int Extent>
using Arcane::ItemConnectedListView< Extent >::reference_type = Item&

Definition at line 240 of file ItemConnectedListView.h.

◆ SentinelType

template<int Extent>
using Arcane::ItemConnectedListView< Extent >::SentinelType = const_iterator

Definition at line 243 of file ItemConnectedListView.h.

◆ value_type

template<int Extent>
using Arcane::ItemConnectedListView< Extent >::value_type = Item

Definition at line 239 of file ItemConnectedListView.h.

Constructor & Destructor Documentation

◆ ItemConnectedListView() [1/2]

template<int Extent>
Arcane::ItemConnectedListView< Extent >::ItemConnectedListView ( const impl::ItemIndexedListView< DynExtent > & view)
inlineprotected

Definition at line 251 of file ItemConnectedListView.h.

◆ ItemConnectedListView() [2/2]

template<int Extent>
Arcane::ItemConnectedListView< Extent >::ItemConnectedListView ( ItemSharedInfo * shared_info,
ConstArrayView< Int32 > local_ids,
Int32 local_id_offset )
inlineprotected

Definition at line 255 of file ItemConnectedListView.h.

Member Function Documentation

◆ _localIdOffset()

template<int Extent>
Int32 Arcane::ItemConnectedListView< Extent >::_localIdOffset ( ) const
inlineprotected

Definition at line 336 of file ItemConnectedListView.h.

◆ _localIdsData()

template<int Extent>
const Int32 * Arcane::ItemConnectedListView< Extent >::_localIdsData ( ) const
inlineprotected

Definition at line 335 of file ItemConnectedListView.h.

◆ begin()

template<int Extent>
const_iterator Arcane::ItemConnectedListView< Extent >::begin ( ) const
inline

Iterator over the first connected entity.

Definition at line 272 of file ItemConnectedListView.h.

◆ end()

template<int Extent>
SentinelType Arcane::ItemConnectedListView< Extent >::end ( ) const
inline

Iterator after the last connected entity.

Definition at line 278 of file ItemConnectedListView.h.

◆ endIterator()

template<int Extent>
const_iterator Arcane::ItemConnectedListView< Extent >::endIterator ( ) const
inline

Iterator after the last connected entity.

Definition at line 284 of file ItemConnectedListView.h.

Referenced by Arcane::ItemConnectedListView< DynExtent >::end().

◆ enumerator()

template<int Extent>
ItemEnumerator Arcane::ItemConnectedListView< Extent >::enumerator ( ) const
inline

Definition at line 347 of file ItemEnumerator.h.

◆ localIds()

template<int Extent>
Int32ConstArrayView Arcane::ItemConnectedListView< Extent >::localIds ( ) const
inline

Definition at line 296 of file ItemConnectedListView.h.

◆ operator ItemInternalVectorView()

template<int Extent>
Arcane::ItemConnectedListView< Extent >::operator ItemInternalVectorView ( ) const
inline

Definition at line 306 of file ItemConnectedListView.h.

◆ operator[]()

template<int Extent>
Item Arcane::ItemConnectedListView< Extent >::operator[] ( Integer index) const
inline

index-th connected entity

Definition at line 263 of file ItemConnectedListView.h.

◆ size()

template<int Extent>
Int32 Arcane::ItemConnectedListView< Extent >::size ( ) const
inline

Number of elements in the vector.

Definition at line 269 of file ItemConnectedListView.h.

Referenced by Arcane::ItemConnectedListViewT< Node >::endIterator().

◆ ItemConnectedEnumeratorBase

template<int Extent>
friend class ItemConnectedEnumeratorBase
friend

Definition at line 232 of file ItemConnectedListView.h.

◆ ItemEnumeratorBase

template<int Extent>
friend class ItemEnumeratorBase
friend

Definition at line 230 of file ItemConnectedListView.h.

◆ ItemEnumeratorBaseT

template<int Extent>
template<typename ItemType>
friend class ItemEnumeratorBaseT
friend

Definition at line 233 of file ItemConnectedListView.h.

◆ ItemVectorView

template<int Extent>
friend class ItemVectorView
friend

Definition at line 231 of file ItemConnectedListView.h.

◆ operator<<

template<int Extent>
std::ostream & operator<< ( std::ostream & o,
const ItemConnectedListView< Extent > & a )
friend

Definition at line 289 of file ItemConnectedListView.h.

Member Data Documentation

◆ m_index_view

template<int Extent>
ItemIndexArrayView Arcane::ItemConnectedListView< Extent >::m_index_view
protected

Definition at line 330 of file ItemConnectedListView.h.

◆ m_shared_info

template<int Extent>
ItemSharedInfo* Arcane::ItemConnectedListView< Extent >::m_shared_info = ItemSharedInfo::nullInstance()
protected

Definition at line 331 of file ItemConnectedListView.h.


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