Functions to save objects to text file. More...
#include <vcl_ostream.h>
#include <vcl_string.h>
#include <vcl_vector.h>
Go to the source code of this file.
Functions | |
template<class T > | |
bool | mbl_save_text_file (const vcl_vector< T > &v, const vcl_string &path) |
Save vector to file with format "v1 v2 ..\ vn". | |
template<class T > | |
bool | mbl_save_text_file (const vcl_vector< T > &v, vcl_ostream &os, const vcl_string &delim="\n") |
Save vector to stream with format "v1 v2 ..\ vn". |
Functions to save objects to text file.
Definition in file mbl_save_text_file.h.
bool mbl_save_text_file | ( | const vcl_vector< T > & | v, |
const vcl_string & | path | ||
) |
Save vector to file with format "v1 v2 ..\ vn".
Definition at line 15 of file mbl_save_text_file.txx.
bool mbl_save_text_file | ( | const vcl_vector< T > & | v, |
vcl_ostream & | os, | ||
const vcl_string & | delim | ||
) |
Save vector to stream with format "v1 v2 ..\ vn".
Definition at line 35 of file mbl_save_text_file.txx.