dune-grid-glue  2.5-git
Public Types | Public Member Functions | Public Attributes | List of all members
Dune::MultiDataProxy< T > Struct Template Reference

#include <dune/grid-glue/common/multivector.hh>

Public Types

typedef MultiDataProxy< typename std::remove_const< T >::type > MutableProxy
 
typedef MultiDataProxy< const typename std::remove_const< T >::type > ConstProxy
 

Public Member Functions

 MultiDataProxy (T &v, size_t pos, std::string _n)
 
 MultiDataProxy (ConstProxy &other)
 
 MultiDataProxy (MutableProxy &other)
 
bool operator== (const MultiDataProxy &other) const
 
bool operator!= (const MultiDataProxy &other) const
 
bool operator< (const MultiDataProxy &other) const
 
bool operator> (const MultiDataProxy &other) const
 
MultiDataProxyoperator= (const ConstProxy &other)
 
MultiDataProxyoperator= (const MutableProxy &other)
 
template<size_t N>
std::remove_reference< typename tuple_element< N, T >::type >::type::reference get ()
 
template<size_t N>
std::remove_reference< typename tuple_element< N, T >::type >::type::const_reference get () const
 

Public Attributes

T & _vectors
 
int pos
 
std::string name
 

Detailed Description

template<typename T>
struct Dune::MultiDataProxy< T >

proxy object to give access

Template Parameters
Tthe tuple< vector<...> > type

Member Typedef Documentation

§ ConstProxy

template<typename T>
typedef MultiDataProxy<const typename std::remove_const<T>::type> Dune::MultiDataProxy< T >::ConstProxy

§ MutableProxy

template<typename T>
typedef MultiDataProxy<typename std::remove_const<T>::type> Dune::MultiDataProxy< T >::MutableProxy

Constructor & Destructor Documentation

§ MultiDataProxy() [1/3]

template<typename T>
Dune::MultiDataProxy< T >::MultiDataProxy ( T &  v,
size_t  pos,
std::string  _n 
)
inline

§ MultiDataProxy() [2/3]

template<typename T>
Dune::MultiDataProxy< T >::MultiDataProxy ( ConstProxy other)
inline

§ MultiDataProxy() [3/3]

template<typename T>
Dune::MultiDataProxy< T >::MultiDataProxy ( MutableProxy other)
inline

Member Function Documentation

§ get() [1/2]

template<typename T>
template<size_t N>
std::remove_reference<typename tuple_element<N,T>::type>::type::reference Dune::MultiDataProxy< T >::get ( )
inline

§ get() [2/2]

template<typename T>
template<size_t N>
std::remove_reference<typename tuple_element<N,T>::type>::type::const_reference Dune::MultiDataProxy< T >::get ( ) const
inline

§ operator!=()

template<typename T>
bool Dune::MultiDataProxy< T >::operator!= ( const MultiDataProxy< T > &  other) const
inline

§ operator<()

template<typename T>
bool Dune::MultiDataProxy< T >::operator< ( const MultiDataProxy< T > &  other) const
inline

§ operator=() [1/2]

template<typename T>
MultiDataProxy& Dune::MultiDataProxy< T >::operator= ( const ConstProxy other)
inline

§ operator=() [2/2]

template<typename T>
MultiDataProxy& Dune::MultiDataProxy< T >::operator= ( const MutableProxy other)
inline

§ operator==()

template<typename T>
bool Dune::MultiDataProxy< T >::operator== ( const MultiDataProxy< T > &  other) const
inline

§ operator>()

template<typename T>
bool Dune::MultiDataProxy< T >::operator> ( const MultiDataProxy< T > &  other) const
inline

Member Data Documentation

§ _vectors

template<typename T>
T& Dune::MultiDataProxy< T >::_vectors

§ name

template<typename T>
std::string Dune::MultiDataProxy< T >::name

§ pos

template<typename T>
int Dune::MultiDataProxy< T >::pos

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