00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef INTERROGATE_DATAFILE_H
00016 #define INTERROGATE_DATAFILE_H
00017
00018
00019
00020
00021 #include "dtoolbase.h"
00022 #include <vector>
00023
00024 void idf_output_string(ostream &out, const string &str, char whitespace = ' ');
00025 void idf_input_string(istream &in, string &str);
00026
00027 void idf_output_string(ostream &out, const char *str, char whitespace = ' ');
00028 void idf_input_string(istream &in, const char *&str);
00029
00030 template<class Element>
00031 void idf_output_vector(ostream &out, const vector<Element> &vec);
00032
00033 template<class Element>
00034 void idf_input_vector(istream &in, vector<Element> &vec);
00035
00036 #include "interrogate_datafile.I"
00037
00038 #endif