Loading...
Searching...
No Matches
IndirectConstWrap< E1 > Class Template Reference

Expression wrap of indirection. More...

#include <ListExpression.H>

Inheritance diagram for IndirectConstWrap< E1 >:
Collaboration diagram for IndirectConstWrap< E1 >:

Classes

struct  const_iterator

Public Types

typedef E1::value_type value_type

Public Member Functions

 IndirectConstWrap (const E1 &values, const labelUList &addr)
value_type operator[] (const label i) const
label size () const
auto cbegin () const
auto cend () const
Public Member Functions inherited from ListExpression< IndirectConstWrap< E1 > >
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< IndirectConstWrap< E1 > >
static constexpr bool is_leaf

Detailed Description

template<typename E1>
class Foam::Expression::IndirectConstWrap< E1 >

Expression wrap of indirection.

Template Parameters
E1: expression to get value of element i

Definition at line 785 of file ListExpression.H.

Member Typedef Documentation

◆ value_type

template<typename E1>
typedef E1::value_type value_type

Definition at line 809 of file ListExpression.H.

Constructor & Destructor Documentation

◆ IndirectConstWrap()

template<typename E1>
IndirectConstWrap ( const E1 & values,
const labelUList & addr )
inline

Definition at line 812 of file ListExpression.H.

Member Function Documentation

◆ operator[]()

template<typename E1>
value_type operator[] ( const label i) const
inline

Definition at line 822 of file ListExpression.H.

◆ size()

template<typename E1>
label size ( ) const
inline

Definition at line 826 of file ListExpression.H.

◆ cbegin()

template<typename E1>
auto cbegin ( ) const
inline

Definition at line 939 of file ListExpression.H.

◆ cend()

template<typename E1>
auto cend ( ) const
inline

Definition at line 943 of file ListExpression.H.

Member Data Documentation

◆ is_leaf

template<typename E1>
bool is_leaf = false
staticconstexpr

Definition at line 807 of file ListExpression.H.


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