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

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

#include <arcane/core/ItemConnectedListView.h>

Public Types

using const_iterator = ItemConnectedListViewConstIteratorT<ItemType>
using difference_type = std::ptrdiff_t
using value_type = ItemType
using SentinelType = const_iterator
Public Types inherited from Arcane::ItemConnectedListView< Extent >
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

ItemType operator[] (Integer index) const
 index-th connected entity
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.
ItemEnumeratorT< ItemType > enumerator () const
Public Member Functions inherited from Arcane::ItemConnectedListView< Extent >
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

 ItemConnectedListViewT (ItemSharedInfo *shared_info, ConstArrayView< Int32 > local_ids, Int32 local_id_offset)
Protected Member Functions inherited from Arcane::ItemConnectedListView< Extent >
 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

Friends

class ItemVectorT< ItemType >
class ItemEnumeratorBaseT< ItemType >
class ItemEnumerator
class Item
class ItemWithNodes
class Node
class Edge
class Face
class Cell
class Particle
class DoF
template<typename T>
class ItemConnectedEnumeratorBaseT

Additional Inherited Members

Protected Attributes inherited from Arcane::ItemConnectedListView< Extent >
ItemIndexArrayView m_index_view
ItemSharedInfom_shared_info = ItemSharedInfo::nullInstance()

Detailed Description

template<typename ItemType, int Extent>
class Arcane::ItemConnectedListViewT< ItemType, Extent >

View of a list of entities connected to another.

Definition at line 346 of file ItemConnectedListView.h.

Member Typedef Documentation

◆ const_iterator

template<typename ItemType, int Extent>
using Arcane::ItemConnectedListViewT< ItemType, Extent >::const_iterator = ItemConnectedListViewConstIteratorT<ItemType>

Definition at line 368 of file ItemConnectedListView.h.

◆ difference_type

template<typename ItemType, int Extent>
using Arcane::ItemConnectedListViewT< ItemType, Extent >::difference_type = std::ptrdiff_t

Definition at line 369 of file ItemConnectedListView.h.

◆ SentinelType

template<typename ItemType, int Extent>
using Arcane::ItemConnectedListViewT< ItemType, Extent >::SentinelType = const_iterator

Definition at line 372 of file ItemConnectedListView.h.

◆ value_type

template<typename ItemType, int Extent>
using Arcane::ItemConnectedListViewT< ItemType, Extent >::value_type = ItemType

Definition at line 370 of file ItemConnectedListView.h.

Constructor & Destructor Documentation

◆ ItemConnectedListViewT()

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

Definition at line 386 of file ItemConnectedListView.h.

Member Function Documentation

◆ begin()

template<typename ItemType, int Extent>
const_iterator Arcane::ItemConnectedListViewT< ItemType, Extent >::begin ( ) const
inline

Iterator over the first connected entity.

Definition at line 401 of file ItemConnectedListView.h.

◆ end()

template<typename ItemType, int Extent>
SentinelType Arcane::ItemConnectedListViewT< ItemType, Extent >::end ( ) const
inline

Iterator after the last connected entity.

Definition at line 406 of file ItemConnectedListView.h.

◆ endIterator()

template<typename ItemType, int Extent>
const_iterator Arcane::ItemConnectedListViewT< ItemType, Extent >::endIterator ( ) const
inline

Iterator after the last connected entity.

Definition at line 411 of file ItemConnectedListView.h.

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

◆ enumerator()

template<typename ItemType, int Extent>
ItemEnumeratorT< ItemType > Arcane::ItemConnectedListViewT< ItemType, Extent >::enumerator ( ) const
inline

Definition at line 424 of file ItemConnectedListView.h.

◆ operator[]()

template<typename ItemType, int Extent>
ItemType Arcane::ItemConnectedListViewT< ItemType, Extent >::operator[] ( Integer index) const
inline

index-th connected entity

Definition at line 393 of file ItemConnectedListView.h.

◆ Cell

template<typename ItemType, int Extent>
friend class Cell
friend

Definition at line 357 of file ItemConnectedListView.h.

◆ DoF

template<typename ItemType, int Extent>
friend class DoF
friend

Definition at line 359 of file ItemConnectedListView.h.

◆ Edge

template<typename ItemType, int Extent>
friend class Edge
friend

Definition at line 355 of file ItemConnectedListView.h.

◆ Face

template<typename ItemType, int Extent>
friend class Face
friend

Definition at line 356 of file ItemConnectedListView.h.

◆ Item

template<typename ItemType, int Extent>
friend class Item
friend

Definition at line 352 of file ItemConnectedListView.h.

◆ ItemConnectedEnumeratorBaseT

template<typename ItemType, int Extent>
template<typename T>
friend class ItemConnectedEnumeratorBaseT
friend

Definition at line 360 of file ItemConnectedListView.h.

◆ ItemEnumerator

template<typename ItemType, int Extent>
friend class ItemEnumerator
friend

Definition at line 351 of file ItemConnectedListView.h.

◆ ItemEnumeratorBaseT< ItemType >

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

Definition at line 336 of file ItemConnectedListView.h.

◆ ItemVectorT< ItemType >

template<typename ItemType, int Extent>
friend class ItemVectorT< ItemType >
friend

Definition at line 336 of file ItemConnectedListView.h.

◆ ItemWithNodes

template<typename ItemType, int Extent>
friend class ItemWithNodes
friend

Definition at line 353 of file ItemConnectedListView.h.

◆ Node

template<typename ItemType, int Extent>
friend class Node
friend

Definition at line 354 of file ItemConnectedListView.h.

◆ Particle

template<typename ItemType, int Extent>
friend class Particle
friend

Definition at line 358 of file ItemConnectedListView.h.


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