Colibri Core
Public Member Functions | Static Public Attributes | List of all members
ArrayValueHandler< T, N, countindex > Class Template Reference

#include <patternstore.h>

Inheritance diagram for ArrayValueHandler< T, N, countindex >:
AbstractValueHandler< T >

Public Member Functions

virtual std::string id ()
 
void read (std::istream *in, std::array< T, N > &a)
 
void write (std::ostream *out, std::array< T, N > &a)
 
std::string tostring (std::array< T, N > &a)
 
unsigned int count (std::array< T, N > &a) const
 
void add (std::array< T, N > *value, const IndexReference &ref) const
 
- Public Member Functions inherited from AbstractValueHandler< T >
virtual void read (std::istream *in, T &value)=0
 
virtual void write (std::ostream *out, T &value)=0
 
virtual std::string tostring (T &value)=0
 
virtual unsigned int count (T &value) const =0
 
virtual void add (T *value, const IndexReference &ref) const =0
 
virtual void convertto (T *source, T *&target) const
 

Static Public Attributes

static const bool indexed = false
 

Member Function Documentation

template<class T , size_t N, int countindex = 0>
void ArrayValueHandler< T, N, countindex >::add ( std::array< T, N > *  value,
const IndexReference ref 
) const
inline
template<class T , size_t N, int countindex = 0>
unsigned int ArrayValueHandler< T, N, countindex >::count ( std::array< T, N > &  a) const
inline
template<class T , size_t N, int countindex = 0>
virtual std::string ArrayValueHandler< T, N, countindex >::id ( )
inlinevirtual

Reimplemented from AbstractValueHandler< T >.

template<class T , size_t N, int countindex = 0>
void ArrayValueHandler< T, N, countindex >::read ( std::istream *  in,
std::array< T, N > &  a 
)
inline
template<class T , size_t N, int countindex = 0>
std::string ArrayValueHandler< T, N, countindex >::tostring ( std::array< T, N > &  a)
inline
template<class T , size_t N, int countindex = 0>
void ArrayValueHandler< T, N, countindex >::write ( std::ostream *  out,
std::array< T, N > &  a 
)
inline

Member Data Documentation

template<class T , size_t N, int countindex = 0>
const bool ArrayValueHandler< T, N, countindex >::indexed = false
static

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