Loading...
Searching...
No Matches
ListExpression< E > Class Template Reference

Expression templates for List. More...

#include <ListExpression.H>

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.
template<class Container>
Container & evaluate (Container &lst) const
 Helper: assign to passed in list.

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 72 of file ListExpression.H.

Member Function Documentation

◆ operator[]()

template<typename E>
auto operator[] ( const label i) const
inline

Definition at line 77 of file ListExpression.H.

◆ size()

template<typename E>
auto size ( ) const
inlinenoexcept

Definition at line 83 of file ListExpression.H.

References Foam::noexcept.

Referenced by evaluate(), and fill().

Here is the caller graph for this function:

◆ fill()

template<typename E>
template<class Container>
Container & fill ( Container & lst) const
inline

Helper: assign to passed in list.

Definition at line 89 of file ListExpression.H.

References size().

Referenced by evaluate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ evaluate()

template<typename E>
template<class Container>
Container & evaluate ( Container & lst) const
inline

Helper: assign to passed in list.

Definition at line 121 of file ListExpression.H.

References fill(), and size().

Here is the call graph for this function:

Member Data Documentation

◆ is_leaf

template<typename E>
bool is_leaf = false
staticconstexpr

Definition at line 75 of file ListExpression.H.


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