Panda3D
|
An internal representation of a callable function. More...
#include "interrogateFunctionWrapper.h"
Classes | |
class | Parameter |
Public Member Functions | |
InterrogateFunctionWrapper (InterrogateModuleDef *def=NULL) | |
InterrogateFunctionWrapper (const InterrogateFunctionWrapper ©) | |
bool | caller_manages_return_value () const |
const string & | get_comment () const |
FunctionIndex | get_function () const |
Returns the FunctionIndex of the function that this wrapper corresponds to. | |
TypeIndex | get_return_type () const |
FunctionIndex | get_return_value_destructor () const |
const string & | get_unique_name () const |
bool | has_comment () const |
bool | has_return_value () const |
void | input (istream &in) |
Reads the data file as previously formatted by output(). | |
bool | is_callable_by_name () const |
int | number_of_parameters () const |
void | operator= (const InterrogateFunctionWrapper ©) |
void | output (ostream &out) const |
Formats the InterrogateFunctionWrapper data for output to a data file. | |
const string & | parameter_get_name (int n) const |
TypeIndex | parameter_get_type (int n) const |
bool | parameter_has_name (int n) const |
bool | parameter_is_this (int n) const |
void | remap_indices (const IndexRemapper &remap) |
Remaps all internal index numbers according to the indicated map. | |
Friends | |
class | FunctionRemap |
class | InterrogateBuilder |
An internal representation of a callable function.
Definition at line 30 of file interrogateFunctionWrapper.h.
FunctionIndex InterrogateFunctionWrapper::get_function | ( | ) | const [inline] |
Returns the FunctionIndex of the function that this wrapper corresponds to.
Definition at line 65 of file interrogateFunctionWrapper.I.
void InterrogateFunctionWrapper::input | ( | istream & | in | ) |
Reads the data file as previously formatted by output().
Reimplemented from InterrogateComponent.
Definition at line 68 of file interrogateFunctionWrapper.cxx.
void InterrogateFunctionWrapper::output | ( | ostream & | out | ) | const |
Formats the InterrogateFunctionWrapper data for output to a data file.
Reimplemented from InterrogateComponent.
Definition at line 50 of file interrogateFunctionWrapper.cxx.
void InterrogateFunctionWrapper::remap_indices | ( | const IndexRemapper & | remap | ) |
Remaps all internal index numbers according to the indicated map.
This called from InterrogateDatabase::remap_indices().
Definition at line 87 of file interrogateFunctionWrapper.cxx.
References IndexRemapper::map_from().