Functions to load objects from text file. More...
#include <vcl_iostream.h>
#include <vcl_string.h>
#include <vcl_vector.h>
Go to the source code of this file.
Functions | |
template<class T > | |
bool | mbl_load_text_file (vcl_vector< T > &v, const vcl_string &path) |
Load vector from file with format "v1 v2 ..\ vn". | |
template<class T > | |
bool | mbl_load_text_file (vcl_vector< T > &v, vcl_istream &is) |
Load vector from file with format "v1 v2 ..\ vn". |
Functions to load objects from text file.
Definition in file mbl_load_text_file.h.
bool mbl_load_text_file | ( | vcl_vector< T > & | v, |
const vcl_string & | path | ||
) |
Load vector from file with format "v1 v2 ..\ vn".
on | error, or returns false if exceptions are disabled. |
Definition at line 18 of file mbl_load_text_file.txx.
bool mbl_load_text_file | ( | vcl_vector< T > & | v, |
vcl_istream & | is | ||
) |
Load vector from file with format "v1 v2 ..\ vn".
on | error, or returns false if exceptions are disabled. |
Definition at line 42 of file mbl_load_text_file.txx.