dune-grid-glue  2.3.0
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 remove_const< T >
::type > 
MutableProxy
 
typedef MultiDataProxy< const
typename 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>
TypeTraits< typename
tuple_element< N, T >::type >
::ReferredType::reference 
get ()
 
template<size_t N>
TypeTraits< typename
tuple_element< N, T >::type >
::ReferredType::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

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename T>
template<size_t N>
TypeTraits<typename tuple_element<N,T>::type>::ReferredType::reference Dune::MultiDataProxy< T >::get ( )
inline
template<typename T>
template<size_t N>
TypeTraits<typename tuple_element<N,T>::type>::ReferredType::const_reference Dune::MultiDataProxy< T >::get ( ) const
inline
template<typename T>
bool Dune::MultiDataProxy< T >::operator!= ( const MultiDataProxy< T > &  other) const
inline
template<typename T>
bool Dune::MultiDataProxy< T >::operator< ( const MultiDataProxy< T > &  other) const
inline
template<typename T>
MultiDataProxy& Dune::MultiDataProxy< T >::operator= ( const ConstProxy other)
inline
template<typename T>
MultiDataProxy& Dune::MultiDataProxy< T >::operator= ( const MutableProxy other)
inline
template<typename T>
bool Dune::MultiDataProxy< T >::operator== ( const MultiDataProxy< T > &  other) const
inline
template<typename T>
bool Dune::MultiDataProxy< T >::operator> ( const MultiDataProxy< T > &  other) const
inline

Member Data Documentation

template<typename T>
T& Dune::MultiDataProxy< T >::_vectors
template<typename T>
std::string Dune::MultiDataProxy< T >::name
template<typename T>
int Dune::MultiDataProxy< T >::pos

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