Functions to load objects from text file. More...
#include "mbl_load_text_file.h"
#include <mbl/mbl_exception.h>
#include <vcl_fstream.h>
#include <vcl_iterator.h>
#include <vcl_algorithm.h>
#include <vcl_cerrno.h>
Go to the source code of this file.
Defines | |
#define | mbl_load_text_file_txx_ |
#define | MBL_LOAD_TEXT_FILE_INSTANTIATE_PATH(T) template bool mbl_load_text_file(vcl_vector<T >& v, const vcl_string& path) |
#define | MBL_LOAD_TEXT_FILE_INSTANTIATE_STREAM(T) template bool mbl_load_text_file(vcl_vector<T >& v, vcl_istream& is) |
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.txx.
#define MBL_LOAD_TEXT_FILE_INSTANTIATE_PATH | ( | T | ) | template bool mbl_load_text_file(vcl_vector<T >& v, const vcl_string& path) |
Definition at line 70 of file mbl_load_text_file.txx.
#define MBL_LOAD_TEXT_FILE_INSTANTIATE_STREAM | ( | T | ) | template bool mbl_load_text_file(vcl_vector<T >& v, vcl_istream& is) |
Definition at line 73 of file mbl_load_text_file.txx.
#define mbl_load_text_file_txx_ |
Definition at line 2 of file mbl_load_text_file.txx.
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.