15 #include "interrogateFunction.h"
16 #include "indexRemapper.h"
17 #include "interrogate_datafile.h"
18 #include "interrogateDatabase.h"
31 _instances = (Instances *)NULL;
49 void InterrogateFunction::
51 InterrogateComponent::operator = (copy);
53 _scoped_name = copy._scoped_name;
54 _comment = copy._comment;
55 _prototype = copy._prototype;
57 _c_wrappers = copy._c_wrappers;
58 _python_wrappers = copy._python_wrappers;
60 _instances = copy._instances;
61 _expression = copy._expression;
75 idf_output_string(out, _scoped_name);
76 idf_output_vector(out, _c_wrappers);
77 idf_output_vector(out, _python_wrappers);
78 idf_output_string(out, _comment,
'\n');
79 idf_output_string(out, _prototype,
'\n');
91 in >> _flags >> _class;
92 idf_input_string(in, _scoped_name);
93 idf_input_vector(in, _c_wrappers);
94 idf_input_vector(in, _python_wrappers);
95 idf_input_string(in, _comment);
98 idf_input_string(in, _prototype);
112 Wrappers::iterator wi;
113 for (wi = _c_wrappers.begin(); wi != _c_wrappers.end(); ++wi) {
116 for (wi = _python_wrappers.begin(); wi != _python_wrappers.end(); ++wi) {
static int get_file_minor_version()
Returns the minor version number of the interrogate database file currently being read...
This class manages a mapping of integers to integers.
void input(istream &in)
Reads the data file as previously formatted by output().
void remap_indices(const IndexRemapper &remap)
Remaps all internal index numbers according to the indicated map.
An internal representation of a function.
void input(istream &in)
Reads the data file as previously formatted by output().
The base class for things that are part of the interrogate database.
void output(ostream &out) const
Formats the InterrogateFunction data for output to a data file.
int map_from(int from) const
Returns the integer that the given 'from' integer had been set to map to, or the same integer if noth...
void output(ostream &out) const
Formats the component for output to a data file.