Functions to save objects to text file. More...
Go to the source code of this file.
Defines | |
| #define | mbl_save_text_file_txx_ |
| #define | MBL_SAVE_TEXT_FILE_INSTANTIATE_PATH(T) template bool mbl_save_text_file(const vcl_vector<T >& v, const vcl_string& path) |
| #define | MBL_SAVE_TEXT_FILE_INSTANTIATE_STREAM(T) template bool mbl_save_text_file(const vcl_vector<T >& v, vcl_ostream &os, const vcl_string &delim) |
Functions | |
| template<class T > | |
| bool | mbl_save_text_file (const vcl_vector< T > &v, const vcl_string &path) |
| Save vector to file with format { n v1 v2 ..\ vn }. | |
| template<class T > | |
| bool | mbl_save_text_file (const vcl_vector< T > &v, vcl_ostream &os, const vcl_string &delim) |
| Save vector to stream with format { n v1 v2 ..\ vn }. | |
Functions to save objects to text file.
Definition in file mbl_save_text_file.txx.
| #define MBL_SAVE_TEXT_FILE_INSTANTIATE_PATH | ( | T | ) | template bool mbl_save_text_file(const vcl_vector<T >& v, const vcl_string& path) |
Definition at line 45 of file mbl_save_text_file.txx.
| #define MBL_SAVE_TEXT_FILE_INSTANTIATE_STREAM | ( | T | ) | template bool mbl_save_text_file(const vcl_vector<T >& v, vcl_ostream &os, const vcl_string &delim) |
Definition at line 48 of file mbl_save_text_file.txx.
| #define mbl_save_text_file_txx_ |
Definition at line 2 of file mbl_save_text_file.txx.
| bool mbl_save_text_file | ( | const vcl_vector< T > & | v, |
| const vcl_string & | path | ||
| ) |
Save vector to file with format { n v1 v2 ..\ vn }.
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 { n v1 v2 ..\ vn }.
Save vector to stream with format "v1 v2 ..\ vn".
Definition at line 35 of file mbl_save_text_file.txx.
1.7.5.1