Memosa-FVM  0.2
ConstAsArray< T > Class Template Reference

#include <Array.h>

Public Member Functions

 ConstAsArray (const T &c)
 
const T & operator[] (int n) const
 

Private Attributes

const T & _c
 

Detailed Description

template<class T>
class ConstAsArray< T >

Definition at line 507 of file Array.h.

Constructor & Destructor Documentation

template<class T >
ConstAsArray< T >::ConstAsArray ( const T &  c)
inline

Definition at line 510 of file Array.h.

510  :
511  _c(c)
512  {}
const T & _c
Definition: Array.h:517

Member Function Documentation

template<class T >
const T& ConstAsArray< T >::operator[] ( int  n) const
inline

Definition at line 514 of file Array.h.

References ConstAsArray< T >::_c.

514 {return _c;}
const T & _c
Definition: Array.h:517

Member Data Documentation

template<class T >
const T& ConstAsArray< T >::_c
private

Definition at line 517 of file Array.h.

Referenced by ConstAsArray< T >::operator[]().


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