Pseudo expression providing matrix output with given format. More...
#include <IO.h>
Public Member Functions | |
WithFormat (const ExpressionType &matrix, const IOFormat &format) | |
Protected Attributes | |
IOFormat | m_format |
const ExpressionType::Nested | m_matrix |
Friends | |
std::ostream & | operator<< (std::ostream &s, const WithFormat &wf) |
Pseudo expression providing matrix output with given format.
ExpressionType | the type of the object on which IO stream operations are performed |
This class represents an expression with stream operators controlled by a given IOFormat. It is the return type of MatrixBase::format() and most of the time this is the only way it is used.
See class IOFormat for some examples.
Definition at line 90 of file IO.h.
WithFormat< ExpressionType >::WithFormat | ( | const ExpressionType & | matrix, | |
const IOFormat & | format | |||
) | [inline] |
std::ostream& operator<< | ( | std::ostream & | s, | |
const WithFormat< ExpressionType > & | wf | |||
) | [friend] |
IOFormat WithFormat< ExpressionType >::m_format [protected] |
const ExpressionType::Nested WithFormat< ExpressionType >::m_matrix [protected] |