SourceForge Logo Tiny Vector Matrix library using Expression Templates Sourceforge Project Page

tvmet::IoPrintHelper< C > Class Template Reference

#include <tvmet/Io.h>

List of all members.


Detailed Description

template<class C>
class tvmet::IoPrintHelper< C >

Determines the number of digits regarding the sign of the container.

This class is nesessary due to the complex type and the function min(), which are not defined for this type. So we have to dispatch between pod and complex types to get an information about the extra space for signs.


Static Public Member Functions

static std::streamsize width (dispatch< true >, const C &e)
static std::streamsize width (dispatch< false >, const C &e)

Private Member Functions

 IoPrintHelper ()
 IoPrintHelper (const IoPrintHelper &)
IoPrintHelperoperator= (const IoPrintHelper &)

Static Private Member Functions

static std::streamsize width (const C &e)


Constructor & Destructor Documentation

template<class C>
tvmet::IoPrintHelper< C >::IoPrintHelper (  )  [private]

template<class C>
tvmet::IoPrintHelper< C >::IoPrintHelper ( const IoPrintHelper< C > &   )  [private]


Member Function Documentation

template<class C>
IoPrintHelper& tvmet::IoPrintHelper< C >::operator= ( const IoPrintHelper< C > &   )  [private]

template<class C>
static std::streamsize tvmet::IoPrintHelper< C >::width ( const C &  e  )  [inline, static, private]

template<class C>
static std::streamsize tvmet::IoPrintHelper< C >::width ( dispatch< true >  ,
const C &  e 
) [inline, static]

template<class C>
static std::streamsize tvmet::IoPrintHelper< C >::width ( dispatch< false >  ,
const C &  e 
) [inline, static]


Author: