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

Static Public Member Functions | Private Member Functions | Static Private Member Functions
tvmet::IoPrintHelper< C > Class Template Reference

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

#include <tvmet/Io.h>

List of all members.

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)

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.


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 ( dispatch< false >  ,
const C &  e 
) [inline, static]
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 ( const C &  e) [inline, static, private]
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines

Author: