ListExpression< E > Class Template Reference

Expression templates for List. More...

Inheritance diagram for ListExpression< E >:

Public Member Functions

auto operator[] (const label i) const
 
auto size () const noexcept
 
template<class Container >
Container & fill (Container &lst) const
 Helper: assign to passed in list. More...
 
template<class Container >
Container & evaluate (Container &lst) const
 Helper: assign to passed in list. More...
 

Static Public Attributes

static constexpr bool is_leaf = false
 

Detailed Description

template<typename E>
class Foam::Expression::ListExpression< E >

Expression templates for List.

Definition at line 80 of file UList.H.

Member Function Documentation

◆ operator[]()

auto operator[] ( const label  i) const
inline

Definition at line 85 of file ListExpression.H.

◆ size()

auto size ( ) const
inlinenoexcept

Definition at line 91 of file ListExpression.H.

Referenced by ListExpression< List_pow3< E1 > >::evaluate(), and ListExpression< List_pow3< E1 > >::fill().

Here is the caller graph for this function:

◆ fill()

Container& fill ( Container &  lst) const
inline

Helper: assign to passed in list.

Definition at line 97 of file ListExpression.H.

Referenced by ListExpression< List_pow3< E1 > >::evaluate().

Here is the caller graph for this function:

◆ evaluate()

Member Data Documentation

◆ is_leaf

constexpr bool is_leaf = false
static

Definition at line 83 of file ListExpression.H.


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