Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Protected Attributes | Friends
Eigen::WithFormat< ExpressionType > Class Template Reference

Detailed Description

template<typename ExpressionType>
class Eigen::WithFormat< ExpressionType >

Pseudo expression providing matrix output with given format.

Parameters:
ExpressionTypethe 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 DenseBase::format() and most of the time this is the only way it is used.

See class IOFormat for some examples.

See also:
DenseBase::format(), class IOFormat

Definition at line 105 of file Core.

List of all members.

Public Member Functions

 WithFormat (const ExpressionType &matrix, const IOFormat &format)

Protected Attributes

const ExpressionType::Nested m_matrix
IOFormat m_format

Friends

std::ostream & operator<< (std::ostream &s, const WithFormat &wf)

Constructor & Destructor Documentation

template<typename ExpressionType >
Eigen::WithFormat< ExpressionType >::WithFormat ( const ExpressionType &  matrix,
const IOFormat format 
) [inline]

Definition at line 109 of file Core.


Friends And Related Function Documentation

template<typename ExpressionType >
std::ostream& operator<< ( std::ostream &  s,
const WithFormat< ExpressionType > &  wf 
) [friend]

Definition at line 113 of file Core.


Member Data Documentation

template<typename ExpressionType >
IOFormat Eigen::WithFormat< ExpressionType >::m_format [protected]

Definition at line 120 of file Core.

template<typename ExpressionType >
const ExpressionType::Nested Eigen::WithFormat< ExpressionType >::m_matrix [protected]

Definition at line 119 of file Core.




Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 Hosted on:
SourceForge.net Logo