Kalman::KVectorContextImpl Class Reference

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

#include <kvector_impl.hpp>

List of all members.

Public Member Functions

 KVectorContextImpl (std::string elemDelim=" ", std::string startDelim=std::string(), std::string endDelim=std::string(), unsigned prec=4)
 Constructor.

Public Attributes

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

Detailed Description

Contains necessary informations to print a formatted KVector.

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

Definition at line 45 of file kvector_impl.hpp.


Constructor & Destructor Documentation

Kalman::KVectorContextImpl::KVectorContextImpl ( std::string  elemDelim = " ",
std::string  startDelim = std::string(),
std::string  endDelim = std::string(),
unsigned  prec = 4 
) [inline, explicit]

Constructor.

Parameters:
elemDelim Delimiter string between vector elements.
startDelim Starting string before first vector element.
endDelim Ending string after last vector element.
prec Number of significant digits to output.
Warning:
This constructor should never be called directly. Use createKVectorContext() function instead.

Definition at line 56 of file kvector_impl.hpp.


Member Data Documentation

Delimiter string between vector elements.

Definition at line 72 of file kvector_impl.hpp.

Ending string after last vector element.

Definition at line 74 of file kvector_impl.hpp.

Number of significant digits to output.

Definition at line 75 of file kvector_impl.hpp.

Must we skip a word between elements ?

Definition at line 77 of file kvector_impl.hpp.

Must we skip a word at end of vector ?

Definition at line 79 of file kvector_impl.hpp.

Must we skip a word at start of vector ?

Definition at line 78 of file kvector_impl.hpp.

Starting string before first vector element.

Definition at line 73 of file kvector_impl.hpp.

Width of output field for nice alignment.

Definition at line 76 of file kvector_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