Loading...
Searching...
No Matches
ListsConstRefWrap< V > Class Template Reference

Expression wrap of multiple lists (e.g. FieldField). More...

#include <ListExpression.H>

Inheritance diagram for ListsConstRefWrap< V >:
Collaboration diagram for ListsConstRefWrap< V >:

Classes

struct  const_iterator

Public Types

using value_type = typename V::value_type
typedef ListsConstRefWrap< Vthis_type
typedef value_typepointer
typedef value_typereference
typedef const value_typeconst_pointer
typedef const value_typeconst_reference
typedef label difference_type

Public Member Functions

 ListsConstRefWrap ()=delete
 ListsConstRefWrap (const UList< const V * > &d)
 ListsConstRefWrap (List< const V * > &&d)
template<class Container>
 ListsConstRefWrap (const Container &ds)
template<class Container>
 ListsConstRefWrap (const Container &ds, const labelUList &elems)
void push_back (const V *vec)
value_type operator[] (label i) const
label size () const
auto cbegin () const
auto cend () const
Public Member Functions inherited from ListExpression< ListsConstRefWrap< V > >
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< ListsConstRefWrap< V > >
static constexpr bool is_leaf

Detailed Description

template<class V>
class Foam::Expression::ListsConstRefWrap< V >

Expression wrap of multiple lists (e.g. FieldField).

Definition at line 2270 of file ListExpression.H.

Member Typedef Documentation

◆ value_type

template<class V>
using value_type = typename V::value_type

Definition at line 2292 of file ListExpression.H.

◆ this_type

template<class V>
typedef ListsConstRefWrap<V> this_type

Definition at line 2293 of file ListExpression.H.

◆ pointer

template<class V>
typedef value_type* pointer

Definition at line 2355 of file ListExpression.H.

◆ reference

template<class V>
typedef value_type& reference

Definition at line 2356 of file ListExpression.H.

◆ const_pointer

template<class V>
typedef const value_type* const_pointer

Definition at line 2357 of file ListExpression.H.

◆ const_reference

template<class V>
typedef const value_type& const_reference

Definition at line 2358 of file ListExpression.H.

◆ difference_type

template<class V>
typedef label difference_type

Definition at line 2359 of file ListExpression.H.

Constructor & Destructor Documentation

◆ ListsConstRefWrap() [1/5]

template<class V>
ListsConstRefWrap ( )
delete

◆ ListsConstRefWrap() [2/5]

template<class V>
ListsConstRefWrap ( const UList< const V * > & d)
inline

Definition at line 2297 of file ListExpression.H.

◆ ListsConstRefWrap() [3/5]

template<class V>
ListsConstRefWrap ( List< const V * > && d)
inline

Definition at line 2303 of file ListExpression.H.

◆ ListsConstRefWrap() [4/5]

template<class V>
template<class Container>
ListsConstRefWrap ( const Container & ds)
inline

Definition at line 2310 of file ListExpression.H.

References forAll, and Foam::Expression::V().

Here is the call graph for this function:

◆ ListsConstRefWrap() [5/5]

template<class V>
template<class Container>
ListsConstRefWrap ( const Container & ds,
const labelUList & elems )
inline

Definition at line 2321 of file ListExpression.H.

References forAll, UList< T >::size(), and Foam::Expression::V().

Here is the call graph for this function:

Member Function Documentation

◆ push_back()

template<class V>
void push_back ( const V * vec)
inline

Definition at line 2332 of file ListExpression.H.

References Foam::Expression::V().

Here is the call graph for this function:

◆ operator[]()

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

Definition at line 2339 of file ListExpression.H.

◆ size()

template<class V>
label size ( ) const
inline

Definition at line 2352 of file ListExpression.H.

Referenced by cend().

Here is the caller graph for this function:

◆ cbegin()

template<class V>
auto cbegin ( ) const
inline

Definition at line 2480 of file ListExpression.H.

◆ cend()

template<class V>
auto cend ( ) const
inline

Definition at line 2484 of file ListExpression.H.

References size().

Here is the call graph for this function:

Member Data Documentation

◆ is_leaf

template<class V>
bool is_leaf = false
staticconstexpr

Definition at line 2290 of file ListExpression.H.


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