Public Member Functions | Public Attributes | List of all members
Kalman::KVectorContextImpl Class Reference

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

#include <kvector_impl.hpp>

Public Member Functions

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

Public Attributes

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

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 
)
inlineexplicit

Constructor.

Parameters
elemDelimDelimiter string between vector elements.
startDelimStarting string before first vector element.
endDelimEnding string after last vector element.
precNumber 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

std::string Kalman::KVectorContextImpl::elemDelim_

Delimiter string between vector elements.

Definition at line 72 of file kvector_impl.hpp.

std::string Kalman::KVectorContextImpl::endDelim_

Ending string after last vector element.

Definition at line 74 of file kvector_impl.hpp.

unsigned Kalman::KVectorContextImpl::precision_

Number of significant digits to output.

Definition at line 75 of file kvector_impl.hpp.

bool Kalman::KVectorContextImpl::skipElemDelim_

Must we skip a word between elements ?

Definition at line 77 of file kvector_impl.hpp.

bool Kalman::KVectorContextImpl::skipEndDelim_

Must we skip a word at end of vector ?

Definition at line 79 of file kvector_impl.hpp.

bool Kalman::KVectorContextImpl::skipStartDelim_

Must we skip a word at start of vector ?

Definition at line 78 of file kvector_impl.hpp.

std::string Kalman::KVectorContextImpl::startDelim_

Starting string before first vector element.

Definition at line 73 of file kvector_impl.hpp.

unsigned Kalman::KVectorContextImpl::width_

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:


kfilter
Author(s): Jorge Almeida, Vincent Zalzal, Sylvain Marleau, Richard Gourdeau
autogenerated on Mon Mar 2 2015 01:31:45