Expression wrap of non-const reference to List. More...
#include <ListExpression.H>


Public Types | |
| typedef T | value_type |
| typedef List< T >::const_iterator | const_iterator |
| typedef List< T >::iterator | iterator |
Public Member Functions | |
| ListRefWrap (ListRefWrap< T > &w) | |
| Copy construct. | |
| ListRefWrap (ListRefWrap< T > &&elems) | |
| Move construct. | |
| ListRefWrap (const label size, List< T > &elems) | |
| Construct from List and expected size. This is to enforce that our size() member function returns the correct size. Use the construct-from-expression otherwise. | |
| template<typename E> | |
| ListRefWrap (List< T > &elems, const ListExpression< E > &expr) | |
| template<typename E> | |
| void | operator= (const ListExpression< E > &expr) |
| Assignment. | |
| const auto & | data () const |
| auto & | data () |
| value_type | operator[] (const label i) const |
| value_type & | operator[] (const label i) |
| auto | size () const noexcept |
| auto | cbegin () const |
| auto | cend () const |
| auto | begin () |
| auto | end () |
| Public Member Functions inherited from ListExpression< ListRefWrap< 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< ListRefWrap< T > > | |
| static constexpr bool | is_leaf |
Expression wrap of non-const reference to List.
Definition at line 244 of file ListExpression.H.
| typedef T value_type |
Definition at line 253 of file ListExpression.H.
| typedef List<T>::const_iterator const_iterator |
Definition at line 332 of file ListExpression.H.
Definition at line 342 of file ListExpression.H.
Copy construct.
Definition at line 258 of file ListExpression.H.
Move construct.
Definition at line 266 of file ListExpression.H.
Construct from List and expected size. This is to enforce that our size() member function returns the correct size. Use the construct-from-expression otherwise.
Definition at line 276 of file ListExpression.H.
|
inline |
Definition at line 285 of file ListExpression.H.
Assignment.
Definition at line 300 of file ListExpression.H.
|
inline |
Definition at line 306 of file ListExpression.H.
|
inline |
Definition at line 312 of file ListExpression.H.
|
inline |
Definition at line 317 of file ListExpression.H.
|
inline |
Definition at line 322 of file ListExpression.H.
|
inlinenoexcept |
Definition at line 327 of file ListExpression.H.
|
inline |
Definition at line 333 of file ListExpression.H.
|
inline |
Definition at line 337 of file ListExpression.H.
|
inline |
Definition at line 343 of file ListExpression.H.
|
inline |
Definition at line 347 of file ListExpression.H.
|
staticconstexpr |
Definition at line 251 of file ListExpression.H.