Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Public Attributes

IOFormat Class Reference


Detailed Description

Stores a set of parameters controlling the way matrices are printed.

List of available parameters:

Example:

Output:

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

Definition at line 63 of file IO.h.

#include <src/Core/IO.h>

List of all members.

Public Member Functions

 IOFormat (int _precision=StreamPrecision, int _flags=0, const std::string &_coeffSeparator=" ", const std::string &_rowSeparator="\n", const std::string &_rowPrefix="", const std::string &_rowSuffix="", const std::string &_matPrefix="", const std::string &_matSuffix="")
 Default contructor, see class IOFormat for the meaning of the parameters.

Public Attributes

std::string matPrefix
std::string matSuffix
std::string rowPrefix
std::string rowSuffix
std::string rowSeparator
std::string rowSpacer
std::string coeffSeparator
int precision
int flags

Constructor & Destructor Documentation

IOFormat::IOFormat ( int  _precision = StreamPrecision,
int  _flags = 0,
const std::string &  _coeffSeparator = " ",
const std::string &  _rowSeparator = "\n",
const std::string &  _rowPrefix = "",
const std::string &  _rowSuffix = "",
const std::string &  _matPrefix = "",
const std::string &  _matSuffix = "" 
) [inline]

Default contructor, see class IOFormat for the meaning of the parameters.

Definition at line 66 of file IO.h.

References matSuffix, and rowSpacer.


Member Data Documentation

Definition at line 83 of file IO.h.

Referenced by internal::print_matrix().

Definition at line 85 of file IO.h.

Referenced by internal::print_matrix().

std::string IOFormat::matPrefix

Definition at line 81 of file IO.h.

Referenced by internal::print_matrix().

std::string IOFormat::matSuffix

Definition at line 81 of file IO.h.

Referenced by IOFormat(), and internal::print_matrix().

Definition at line 84 of file IO.h.

Referenced by internal::print_matrix().

std::string IOFormat::rowPrefix

Definition at line 82 of file IO.h.

Referenced by internal::print_matrix().

Definition at line 82 of file IO.h.

Referenced by internal::print_matrix().

std::string IOFormat::rowSpacer

Definition at line 82 of file IO.h.

Referenced by IOFormat(), and internal::print_matrix().

std::string IOFormat::rowSuffix

Definition at line 82 of file IO.h.

Referenced by internal::print_matrix().




Page generated by Doxygen 1.7.1 for MRPT 0.9.4 SVN: at Mon Jan 10 23:33:19 UTC 2011