$search
Read and write data at every iterations in a file. More...
#include <gnugraph.h>
Public Member Functions | |
IO_matrix_file (const std::string &filename) | |
short | read (std::vector< Matrix > &data, std::vector< std::string > &title) |
short | read (std::vector< Matrix > &data) |
short | read_all (std::vector< Matrix > &data, std::vector< std::string > &data_title) |
short | write (const std::vector< Matrix > &data, const std::vector< std::string > &title) |
short | write (const std::vector< Matrix > &data) |
Private Attributes | |
std::string | filename |
File name. | |
int | nb_element |
Number of elements to read or write. | |
int | nb_iterations_read |
Number of iterations in reading mode. | |
int | nb_iterations_write |
Number of iterations in writing mode. | |
int | position_read |
Position to read the file. |
Read and write data at every iterations in a file.
Definition at line 201 of file gnugraph.h.
IO_matrix_file::IO_matrix_file | ( | const std::string & | filename | ) |
short IO_matrix_file::read | ( | std::vector< Matrix > & | data, | |
std::vector< std::string > & | title | |||
) |
short IO_matrix_file::read | ( | std::vector< Matrix > & | data | ) |
short IO_matrix_file::read_all | ( | std::vector< Matrix > & | data, | |
std::vector< std::string > & | data_title | |||
) |
short IO_matrix_file::write | ( | const std::vector< Matrix > & | data, | |
const std::vector< std::string > & | title | |||
) |
short IO_matrix_file::write | ( | const std::vector< Matrix > & | data | ) |
std::string IO_matrix_file::filename [private] |
File name.
Definition at line 215 of file gnugraph.h.
int IO_matrix_file::nb_element [private] |
Number of elements to read or write.
Definition at line 211 of file gnugraph.h.
int IO_matrix_file::nb_iterations_read [private] |
Number of iterations in reading mode.
Definition at line 211 of file gnugraph.h.
int IO_matrix_file::nb_iterations_write [private] |
Number of iterations in writing mode.
Definition at line 211 of file gnugraph.h.
int IO_matrix_file::position_read [private] |
Position to read the file.
Definition at line 211 of file gnugraph.h.