KMatrix
.
More...
#include <kmatrix_impl.hpp>
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 | rowDelim_ |
Delimiter string at the end of each row. | |
std::string | startDelim_ |
Starting string before first matrix element. | |
std::string | endDelim_ |
Ending string after last matrix 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 | skipRowDelim_ |
Must we skip a word at the end of the row ? | |
bool | skipStartDelim_ |
Must we skip a word at start of vector ? | |
bool | skipEndDelim_ |
Must we skip a word at end of vector ? |
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()
.
|
Constructor.
|