BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Private Attributes | List of all members
Fiber::CollectionOf1dSlicesOf4dArrays< T > Class Template Reference

Public Member Functions

 CollectionOf1dSlicesOf4dArrays (CollectionOf4dArrays< T > &collection, size_t index1, size_t index2, size_t index3)
 
CollectionOf1dSlicesOf4dArraysself ()
 Returns a reference to self. More...
 
_1dSliceOfConst4dArray< T > operator[] (size_t index) const
 
_1dSliceOf4dArray< T > operator[] (size_t index)
 
size_t size () const
 

Private Attributes

CollectionOf4dArrays< T > & m_collection
 
size_t m_index1
 
size_t m_index2
 
size_t m_index3
 

Member Function Documentation

template<typename T >
CollectionOf1dSlicesOf4dArrays< T > & Fiber::CollectionOf1dSlicesOf4dArrays< T >::self ( )
inline

Returns a reference to self.

Useful to make a temporary CollectionOf1dSlicesOf4dArrays<T> an rvalue and pass it to a function accepting a reference to a non-const CollectionOf1dSlicesOf4dArrays<T>.

Once we switch to C++11, this function can be removed because of the new support for rvalue references.


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