Eigen::WithFormat< ExpressionType > Class Template Reference

Pseudo expression providing matrix output with given format. More...

Public Member Functions

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

Protected Attributes

IOFormat m_format
 
ExpressionType::Nested m_matrix
 

Detailed Description

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

Pseudo expression providing matrix output with given format.

Template 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 98 of file IO.h.

Constructor & Destructor Documentation

◆ WithFormat()

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

Definition at line 102 of file IO.h.

103  : m_matrix(matrix), m_format(format)
104  {}
IOFormat m_format
Definition: IO.h:113
ExpressionType::Nested m_matrix
Definition: IO.h:112

Member Data Documentation

◆ m_format

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

Definition at line 113 of file IO.h.

◆ m_matrix

template<typename ExpressionType >
ExpressionType::Nested Eigen::WithFormat< ExpressionType >::m_matrix
protected

Definition at line 112 of file IO.h.


The documentation for this class was generated from the following file: