#include <genesis/utils/containers/matrix/simple_reader.hpp>
Definition at line 60 of file utils/containers/matrix/simple_reader.hpp.
Public Member Functions | |
MatrixSimpleReader (char separator_char='\t') | |
MatrixSimpleReader (MatrixSimpleReader &&)=default | |
MatrixSimpleReader (MatrixSimpleReader const &)=default | |
~MatrixSimpleReader ()=default | |
MatrixSimpleReader & | convert_value_functor (std::function< T(std::string const &)> functor) |
MatrixSimpleReader & | operator= (MatrixSimpleReader &&)=default |
MatrixSimpleReader & | operator= (MatrixSimpleReader const &)=default |
MatrixSimpleReader & | parse_value_functor (std::function< T(utils::InputStream &)> functor) |
Provide a function to parse an InputStream and return a value of the Matrix. More... | |
Matrix< T > | read (std::shared_ptr< BaseInputSource > source) const |
char | separator_char () const |
MatrixSimpleReader & | separator_char (char value) |
bool | skip_first_col () const |
MatrixSimpleReader & | skip_first_col (bool value) |
bool | skip_first_row () const |
MatrixSimpleReader & | skip_first_row (bool value) |
|
inlineexplicit |
Definition at line 68 of file utils/containers/matrix/simple_reader.hpp.
|
default |
|
default |
|
default |
|
inline |
Definition at line 138 of file utils/containers/matrix/simple_reader.hpp.
|
default |
|
default |
|
inline |
Provide a function to parse an InputStream and return a value of the Matrix.
The parser functor is expected to leave the stream at the next character, that is, either the separator char, end of line, or end of file.
Definition at line 132 of file utils/containers/matrix/simple_reader.hpp.
|
inline |
Definition at line 83 of file utils/containers/matrix/simple_reader.hpp.
|
inline |
Definition at line 93 of file utils/containers/matrix/simple_reader.hpp.
|
inline |
Definition at line 108 of file utils/containers/matrix/simple_reader.hpp.
|
inline |
Definition at line 98 of file utils/containers/matrix/simple_reader.hpp.
|
inline |
Definition at line 114 of file utils/containers/matrix/simple_reader.hpp.
|
inline |
Definition at line 103 of file utils/containers/matrix/simple_reader.hpp.
|
inline |
Definition at line 120 of file utils/containers/matrix/simple_reader.hpp.