OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | List of all members
marray::ViewExpression< E, T > Class Template Reference

#include <marray.hxx>

+ Inheritance diagram for marray::ViewExpression< E, T >:
+ Collaboration diagram for marray::ViewExpression< E, T >:

Public Types

typedef E expression_type
 
typedef T value_type
 

Public Member Functions

const size_t dimension () const
 
const size_t size () const
 
const size_t shape (const size_t j) const
 
const size_tshapeBegin () const
 
const size_tshapeEnd () const
 
template<class Tv , bool isConst, class A >
bool overlaps (const View< Tv, isConst, A > &v) const
 
const CoordinateOrdercoordinateOrder () const
 
const bool isSimple () const
 
template<class Accessor >
const T & operator() (Accessor it) const
 
const T & operator() (const size_t c0, const size_t c1) const
 
const T & operator() (const size_t c0, const size_t c1, const size_t c2) const
 
const T & operator() (const size_t c0, const size_t c1, const size_t c2, const size_t c3) const
 
const T & operator() (const size_t c0, const size_t c1, const size_t c2, const size_t c3, const size_t c4) const
 
const T & operator[] (const size_t offset) const
 
 operator E & ()
 
 operator E const & () const
 

Detailed Description

template<class E, class T>
class marray::ViewExpression< E, T >

Definition at line 32 of file marray.hxx.

Member Typedef Documentation

template<class E, class T>
typedef E marray::ViewExpression< E, T >::expression_type

Definition at line 5323 of file marray.hxx.

template<class E, class T>
typedef T marray::ViewExpression< E, T >::value_type

Definition at line 5324 of file marray.hxx.

Member Function Documentation

template<class E, class T>
const CoordinateOrder& marray::ViewExpression< E, T >::coordinateOrder ( ) const
inline

Definition at line 5339 of file marray.hxx.

+ Here is the caller graph for this function:

template<class E, class T>
const size_t marray::ViewExpression< E, T >::dimension ( ) const
inline

Definition at line 5326 of file marray.hxx.

+ Here is the caller graph for this function:

template<class E, class T>
const bool marray::ViewExpression< E, T >::isSimple ( ) const
inline

Definition at line 5341 of file marray.hxx.

template<class E, class T>
marray::ViewExpression< E, T >::operator E & ( )
inline

Definition at line 5356 of file marray.hxx.

template<class E, class T>
marray::ViewExpression< E, T >::operator E const & ( ) const
inline

Definition at line 5358 of file marray.hxx.

template<class E, class T>
template<class Accessor >
const T& marray::ViewExpression< E, T >::operator() ( Accessor  it) const
inline

Definition at line 5344 of file marray.hxx.

template<class E, class T>
const T& marray::ViewExpression< E, T >::operator() ( const size_t  c0,
const size_t  c1 
) const
inline

Definition at line 5346 of file marray.hxx.

template<class E, class T>
const T& marray::ViewExpression< E, T >::operator() ( const size_t  c0,
const size_t  c1,
const size_t  c2 
) const
inline

Definition at line 5348 of file marray.hxx.

template<class E, class T>
const T& marray::ViewExpression< E, T >::operator() ( const size_t  c0,
const size_t  c1,
const size_t  c2,
const size_t  c3 
) const
inline

Definition at line 5350 of file marray.hxx.

template<class E, class T>
const T& marray::ViewExpression< E, T >::operator() ( const size_t  c0,
const size_t  c1,
const size_t  c2,
const size_t  c3,
const size_t  c4 
) const
inline

Definition at line 5352 of file marray.hxx.

template<class E, class T>
const T& marray::ViewExpression< E, T >::operator[] ( const size_t  offset) const
inline

Definition at line 5354 of file marray.hxx.

template<class E, class T>
template<class Tv , bool isConst, class A >
bool marray::ViewExpression< E, T >::overlaps ( const View< Tv, isConst, A > &  v) const
inline

Definition at line 5337 of file marray.hxx.

+ Here is the caller graph for this function:

template<class E, class T>
const size_t marray::ViewExpression< E, T >::shape ( const size_t  j) const
inline

Definition at line 5330 of file marray.hxx.

+ Here is the caller graph for this function:

template<class E, class T>
const size_t* marray::ViewExpression< E, T >::shapeBegin ( ) const
inline

Definition at line 5332 of file marray.hxx.

template<class E, class T>
const size_t* marray::ViewExpression< E, T >::shapeEnd ( ) const
inline

Definition at line 5334 of file marray.hxx.

template<class E, class T>
const size_t marray::ViewExpression< E, T >::size ( ) const
inline

Definition at line 5328 of file marray.hxx.

+ Here is the caller graph for this function: