42void InterrogateFunction::
44 InterrogateComponent::operator = (copy);
46 _scoped_name = copy._scoped_name;
47 _comment = copy._comment;
48 _prototype = copy._prototype;
50 _c_wrappers = copy._c_wrappers;
51 _python_wrappers = copy._python_wrappers;
53 _instances = copy._instances;
54 _expression = copy._expression;
61output(std::ostream &out)
const {
76input(std::istream &in) {
78 in >> _flags >> _class;
93 Wrappers::iterator wi;
94 for (wi = _c_wrappers.begin(); wi != _c_wrappers.end(); ++wi) {
97 for (wi = _python_wrappers.begin(); wi != _python_wrappers.end(); ++wi) {
This class manages a mapping of integers to integers.
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...
The base class for things that are part of the interrogate database.
void input(std::istream &in)
Reads the data file as previously formatted by output().
void output(std::ostream &out) const
Formats the component for output to a data file.
An internal representation of a function.
void remap_indices(const IndexRemapper &remap)
Remaps all internal index numbers according to the indicated map.
void output(std::ostream &out) const
Formats the InterrogateFunction data for output to a data file.
void input(std::istream &in)
Reads the data file as previously formatted by output().
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void idf_input_string(istream &in, string &str)
Reads the given string from the input file, as previously written by output_string().
void idf_output_string(ostream &out, const string &str, char whitespace)
Writes the indicated string to the output file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void idf_output_vector(std::ostream &out, const std::vector< Element > &vec)
Writes the indicated vector to the output file.
void idf_input_vector(std::istream &in, std::vector< Element > &vec)
Reads the given vector from the input file, as previously written by output_string().