15 #ifndef INTERROGATEFUNCTION_H 16 #define INTERROGATEFUNCTION_H 18 #include "dtoolbase.h" 20 #include "interrogateComponent.h" 38 INLINE
bool is_global()
const;
39 INLINE
bool is_virtual()
const;
40 INLINE
bool is_method()
const;
41 INLINE
bool is_unary_op()
const;
42 INLINE
bool is_operator_typecast()
const;
43 INLINE TypeIndex get_class()
const;
45 INLINE
bool has_scoped_name()
const;
46 INLINE
const string &get_scoped_name()
const;
48 INLINE
bool has_comment()
const;
49 INLINE
const string &get_comment()
const;
51 INLINE
bool has_prototype()
const;
52 INLINE
const string &get_prototype()
const;
54 INLINE
int number_of_c_wrappers()
const;
55 INLINE FunctionWrapperIndex get_c_wrapper(
int n)
const;
57 INLINE
int number_of_python_wrappers()
const;
58 INLINE FunctionWrapperIndex get_python_wrapper(
int n)
const;
60 void output(ostream &out)
const;
61 void input(istream &in);
74 F_operator_typecast = 0x0080,
83 typedef vector<FunctionWrapperIndex> Wrappers;
85 Wrappers _python_wrappers;
97 typedef map<string, CPPInstance *> Instances;
98 Instances *_instances;
101 friend class InterrogateBuilder;
102 friend class InterfaceMakerC;
103 friend class InterfaceMakerPythonSimple;
104 friend class InterfaceMakerPythonNative;
105 friend class FunctionRemap;
111 #include "interrogateFunction.I" This class manages a mapping of integers to integers.
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.
An internal representation of a function.
The base class for things that are part of the interrogate database.