26 void InterrogateFunctionWrapper::Parameter::
27 output(ostream &out)
const {
29 out << _parameter_flags <<
" " << _type <<
" ";
35 void InterrogateFunctionWrapper::Parameter::
38 in >> _parameter_flags >> _type;
49 << _return_type <<
" " 50 << _return_value_destructor <<
" ";
65 >> _return_value_destructor;
77 _return_value_destructor = remap.
map_from(_return_value_destructor);
78 _return_type = remap.
map_from(_return_type);
80 Parameters::iterator pi;
81 for (pi = _parameters.begin(); pi != _parameters.end(); ++pi) {
82 (*pi)._type = remap.
map_from((*pi)._type);
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().
This class manages a mapping of integers to integers.
void idf_output_string(ostream &out, const string &str, char whitespace)
Writes the indicated string to the output file.
void idf_input_string(istream &in, string &str)
Reads the given string from the input file, as previously written by output_string().
void output(std::ostream &out) const
Formats the component for output to a data file.
void output(std::ostream &out) const
Formats the InterrogateFunctionWrapper data for output to a data file.
void input(std::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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
void idf_output_vector(std::ostream &out, const std::vector< Element > &vec)
Writes the indicated vector to the output 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...