|
Tiny Vector Matrix library using Expression Templates | Sourceforge Project Page |
#include <tvmet/Io.h>
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 &) | |
IoPrintHelper & | operator= (const IoPrintHelper &) |
Static Private Member Functions | |
static std::streamsize | width (const C &e) |
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.
tvmet::IoPrintHelper< C >::IoPrintHelper | ( | ) | [private] |
tvmet::IoPrintHelper< C >::IoPrintHelper | ( | const IoPrintHelper< C > & | ) | [private] |
IoPrintHelper& tvmet::IoPrintHelper< C >::operator= | ( | const IoPrintHelper< C > & | ) | [private] |
static std::streamsize tvmet::IoPrintHelper< C >::width | ( | dispatch< false > | , | |
const C & | e | |||
) | [inline, static] |
References tvmet::min(), and tvmet::IoPrintHelper< C >::width().
static std::streamsize tvmet::IoPrintHelper< C >::width | ( | dispatch< true > | , | |
const C & | e | |||
) | [inline, static] |
References tvmet::IoPrintHelper< C >::width().
static std::streamsize tvmet::IoPrintHelper< C >::width | ( | const C & | e | ) | [inline, static, private] |
References tvmet::abs(), tvmet::log10(), and tvmet::max().
Referenced by tvmet::IoPrintHelper< C >::width().
Author: |