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

Expression wrap of a List with a uniform value. More...

#include <ListExpression.H>

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

Classes

struct  const_iterator

Public Types

typedef T value_type

Public Member Functions

 UniformListWrap (const label size, const T val)
 UniformListWrap (const label size, const dimensioned< T > &val)
T operator[] (const label i) const
auto size () const noexcept
auto cbegin () const
auto cend () const
Public Member Functions inherited from ListExpression< UniformListWrap< 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< UniformListWrap< T > >
static constexpr bool is_leaf

Detailed Description

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

Expression wrap of a List with a uniform value.

Definition at line 1982 of file ListExpression.H.

Member Typedef Documentation

◆ value_type

template<class T>
typedef T value_type

Definition at line 1997 of file ListExpression.H.

Constructor & Destructor Documentation

◆ UniformListWrap() [1/2]

template<class T>
UniformListWrap ( const label size,
const T val )
inline

Definition at line 2000 of file ListExpression.H.

◆ UniformListWrap() [2/2]

template<class T>
UniformListWrap ( const label size,
const dimensioned< T > & val )
inline

Definition at line 2007 of file ListExpression.H.

Member Function Documentation

◆ operator[]()

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

Definition at line 2013 of file ListExpression.H.

◆ size()

template<class T>
auto size ( ) const
inlinenoexcept

Definition at line 2017 of file ListExpression.H.

◆ cbegin()

template<class T>
auto cbegin ( ) const
inline

Definition at line 2117 of file ListExpression.H.

◆ cend()

template<class T>
auto cend ( ) const
inline

Definition at line 2121 of file ListExpression.H.

Member Data Documentation

◆ is_leaf

template<class T>
bool is_leaf = false
staticconstexpr

Definition at line 1995 of file ListExpression.H.


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