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. | |
Public Attributes | |
std::string | elemDelim_ |
Delimiter string between vector elements. | |
std::string | startDelim_ |
Starting string before first vector element. | |
std::string | endDelim_ |
Ending string after last vector element. | |
unsigned | precision_ |
Number of significant digits to output. | |
unsigned | width_ |
Width of output field for nice alignment. | |
bool | skipElemDelim_ |
Must we skip a word between elements ? | |
bool | skipStartDelim_ |
Must we skip a word at start of vector ? | |
bool | skipEndDelim_ |
Must we skip a word at end of vector ? |
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()
.
|
Constructor.
|