15 #include "interrogateComponent.h"
16 #include "interrogate_datafile.h"
20 string InterrogateComponent::_empty_string;
29 idf_output_string(out, _name);
30 out << _alt_names.size() <<
" ";
32 Strings::const_iterator vi;
33 for (vi = _alt_names.begin(); vi != _alt_names.end(); ++vi) {
34 idf_output_string(out, *vi);
46 idf_input_string(in, _name);
50 _alt_names.reserve(num_alt_names);
51 for (
int i = 0; i < num_alt_names; ++i) {
53 idf_input_string(in, alt_name);
54 _alt_names.push_back(alt_name);
void input(istream &in)
Reads the data file as previously formatted by output().
void output(ostream &out) const
Formats the component for output to a data file.