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

Expression wrap of const tmp to List. More...

#include <ListExpression.H>

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

Classes

struct  const_iterator
 Define our own iterator so we can refer to it. 'normal', e.g. double*. More...

Public Types

typedef T::value_type value_type

Public Member Functions

 ListConstTmpWrap (const tmp< T > &elems)
const Tdata () const
value_type operator[] (const label i) const
auto size () const noexcept
auto cbegin () const
auto cend () const
Public Member Functions inherited from ListExpression< ListConstTmpWrap< 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
 Have expressions use copy to maintain tmp refCount.
Static Public Attributes inherited from ListExpression< ListConstTmpWrap< T > >
static constexpr bool is_leaf

Detailed Description

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

Expression wrap of const tmp to List.

Definition at line 628 of file ListExpression.H.

Member Typedef Documentation

◆ value_type

template<class T>
typedef T::value_type value_type

Definition at line 641 of file ListExpression.H.

Constructor & Destructor Documentation

◆ ListConstTmpWrap()

template<class T>
ListConstTmpWrap ( const tmp< T > & elems)
inline

Definition at line 644 of file ListExpression.H.

Member Function Documentation

◆ data()

template<class T>
const T & data ( ) const
inline

Definition at line 650 of file ListExpression.H.

◆ operator[]()

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

Definition at line 655 of file ListExpression.H.

◆ size()

template<class T>
auto size ( ) const
inlinenoexcept

Definition at line 660 of file ListExpression.H.

◆ cbegin()

template<class T>
auto cbegin ( ) const
inline

Definition at line 763 of file ListExpression.H.

Referenced by ListConstTmpWrap< Field< value_type > >::cbegin().

Here is the caller graph for this function:

◆ cend()

template<class T>
auto cend ( ) const
inline

Definition at line 767 of file ListExpression.H.

Referenced by ListConstTmpWrap< Field< value_type > >::cend().

Here is the caller graph for this function:

Member Data Documentation

◆ is_leaf

template<class T>
bool is_leaf = false
staticconstexpr

Have expressions use copy to maintain tmp refCount.

Definition at line 639 of file ListExpression.H.


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