IOFormat Class Reference

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

#include <IO.h>

List of all members.

Public Member Functions

 IOFormat (int _precision=4, int _flags=Raw, 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="")

Public Attributes

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

Detailed Description

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

List of available parameters:

Example:

Output:

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

Definition at line 50 of file IO.h.


Constructor & Destructor Documentation

IOFormat::IOFormat ( int  _precision = 4,
int  _flags = Raw,
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 53 of file IO.h.


Member Data Documentation

Definition at line 70 of file IO.h.

Definition at line 72 of file IO.h.

std::string IOFormat::matPrefix

Definition at line 68 of file IO.h.

std::string IOFormat::matSuffix

Definition at line 68 of file IO.h.

Definition at line 71 of file IO.h.

std::string IOFormat::rowPrefix

Definition at line 69 of file IO.h.

Definition at line 69 of file IO.h.

std::string IOFormat::rowSpacer

Definition at line 69 of file IO.h.

std::string IOFormat::rowSuffix

Definition at line 69 of file IO.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:05 2013