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

Expression wrap of a uniform value without a List size. More...

#include <ListExpression.H>

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

Classes

struct  const_iterator

Public Types

typedef T value_type

Public Member Functions

 UniformListWrap2 (const T val)
 UniformListWrap2 (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< UniformListWrap2< 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< UniformListWrap2< T > >
static constexpr bool is_leaf

Detailed Description

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

Expression wrap of a uniform value without a List size.

Definition at line 2131 of file ListExpression.H.

Member Typedef Documentation

◆ value_type

template<class T>
typedef T value_type

Definition at line 2144 of file ListExpression.H.

Constructor & Destructor Documentation

◆ UniformListWrap2() [1/2]

template<class T>
UniformListWrap2 ( const T val)
inline

Definition at line 2147 of file ListExpression.H.

References Foam::T().

Here is the call graph for this function:

◆ UniformListWrap2() [2/2]

template<class T>
UniformListWrap2 ( const dimensioned< T > & val)
inline

Definition at line 2153 of file ListExpression.H.

Member Function Documentation

◆ operator[]()

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

Definition at line 2158 of file ListExpression.H.

References Foam::T().

Here is the call graph for this function:

◆ size()

template<class T>
auto size ( ) const
inlinenoexcept

Definition at line 2162 of file ListExpression.H.

References Foam::noexcept.

◆ cbegin()

template<class T>
auto cbegin ( ) const
inline

Definition at line 2255 of file ListExpression.H.

◆ cend()

template<class T>
auto cend ( ) const
inline

Definition at line 2259 of file ListExpression.H.

Member Data Documentation

◆ is_leaf

template<class T>
bool is_leaf = false
staticconstexpr

Definition at line 2142 of file ListExpression.H.


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