Loading...
Searching...
No Matches
ListConstRefWrap< T > Class Template Reference

Expression wrap of const reference to UList. More...

#include <ListExpression.H>

Inheritance diagram for ListConstRefWrap< T >:
Collaboration diagram for ListConstRefWrap< T >:

Classes

struct  const_iterator

Public Types

typedef T value_type

Public Member Functions

 ListConstRefWrap (const UList< T > &elems)
const auto & data () const
value_type operator[] (const label i) const
auto size () const noexcept
auto cbegin () const
auto cend () const
Public Member Functions inherited from ListExpression< ListConstRefWrap< T > >
auto operator[] (const label i) const
auto size () const noexcept
Container & fill (Container &lst) const
 Helper: assign to passed in list.
Container & evaluate (Container &lst) const
 Helper: assign to passed in list.

Static Public Attributes

static constexpr bool is_leaf = false
Static Public Attributes inherited from ListExpression< ListConstRefWrap< T > >
static constexpr bool is_leaf

Detailed Description

template<class T>
class Foam::Expression::ListConstRefWrap< T >

Expression wrap of const reference to UList.

Definition at line 362 of file ListExpression.H.

Member Typedef Documentation

◆ value_type

template<class T>
typedef T value_type

Definition at line 373 of file ListExpression.H.

Constructor & Destructor Documentation

◆ ListConstRefWrap()

template<class T>
ListConstRefWrap ( const UList< T > & elems)
inline

Definition at line 376 of file ListExpression.H.

Member Function Documentation

◆ data()

template<class T>
const auto & data ( ) const
inline

Definition at line 382 of file ListExpression.H.

◆ operator[]()

template<class T>
value_type operator[] ( const label i) const
inline

Definition at line 387 of file ListExpression.H.

◆ size()

template<class T>
auto size ( ) const
inlinenoexcept

Definition at line 392 of file ListExpression.H.

◆ cbegin()

template<class T>
auto cbegin ( ) const
inline

Definition at line 515 of file ListExpression.H.

◆ cend()

template<class T>
auto cend ( ) const
inline

Definition at line 519 of file ListExpression.H.

Member Data Documentation

◆ is_leaf

template<class T>
bool is_leaf = false
staticconstexpr

Definition at line 371 of file ListExpression.H.


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