Kalman::KMatrixContextImpl Class Reference

Contains necessary informations to print a formatted KMatrix. More...

#include <kmatrix_impl.hpp>

List of all members.

Public Member Functions

 KMatrixContextImpl (std::string elemDelim=" ", std::string rowDelim="\n", std::string startDelim=std::string(), std::string endDelim=std::string(), unsigned prec=4)
 Constructor.

Public Attributes

std::string elemDelim_
 Delimiter string between matrix elements.
std::string endDelim_
 Ending string after last matrix element.
unsigned precision_
 Number of significant digits to output.
std::string rowDelim_
 Delimiter string at the end of each row.
bool skipElemDelim_
 Must we skip a word between elements ?
bool skipEndDelim_
 Must we skip a word at end of vector ?
bool skipRowDelim_
 Must we skip a word at the end of the row ?
bool skipStartDelim_
 Must we skip a word at start of vector ?
std::string startDelim_
 Starting string before first matrix element.
unsigned width_
 Width of output field for nice alignment.

Detailed Description

Contains necessary informations to print a formatted KMatrix.

Instances of this class defines the behaviour of input/output operations of KMatrix instances from/to streams. That is to say, get() and put() as well as corresponding operator>>() and operator<<() depend of the KMatrixContextImpl that has been selected by calling selectKMatrixContext().

Definition at line 45 of file kmatrix_impl.hpp.


Constructor & Destructor Documentation

Kalman::KMatrixContextImpl::KMatrixContextImpl ( std::string  elemDelim = " ",
std::string  rowDelim = "\n",
std::string  startDelim = std::string(),
std::string  endDelim = std::string(),
unsigned  prec = 4 
) [inline]

Constructor.

Parameters:
elemDelim Delimiter string between matrix elements.
rowDelim Delimiter string at the end of each row.
startDelim Starting string before first matrix element.
endDelim Ending string after last matrix element.
prec Number of significant digits to output
Warning:
This constructor should never be called directly. Use createKMatrixContext() function instead.

Definition at line 57 of file kmatrix_impl.hpp.


Member Data Documentation

Delimiter string between matrix elements.

Definition at line 76 of file kmatrix_impl.hpp.

Ending string after last matrix element.

Definition at line 79 of file kmatrix_impl.hpp.

Number of significant digits to output.

Definition at line 80 of file kmatrix_impl.hpp.

Delimiter string at the end of each row.

Definition at line 77 of file kmatrix_impl.hpp.

Must we skip a word between elements ?

Definition at line 82 of file kmatrix_impl.hpp.

Must we skip a word at end of vector ?

Definition at line 85 of file kmatrix_impl.hpp.

Must we skip a word at the end of the row ?

Definition at line 83 of file kmatrix_impl.hpp.

Must we skip a word at start of vector ?

Definition at line 84 of file kmatrix_impl.hpp.

Starting string before first matrix element.

Definition at line 78 of file kmatrix_impl.hpp.

Width of output field for nice alignment.

Definition at line 81 of file kmatrix_impl.hpp.


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


kfilter
Author(s): Vincent Zalzal, Sylvain Marleau, Richard Gourdeau
autogenerated on Wed Jul 23 04:33:42 2014