14 #ifndef INTERROGATEFUNCTION_H 15 #define INTERROGATEFUNCTION_H 36 INLINE
bool is_global()
const;
37 INLINE
bool is_virtual()
const;
38 INLINE
bool is_method()
const;
39 INLINE
bool is_unary_op()
const;
40 INLINE
bool is_operator_typecast()
const;
41 INLINE TypeIndex get_class()
const;
43 INLINE
bool has_scoped_name()
const;
44 INLINE
const std::string &get_scoped_name()
const;
46 INLINE
bool has_comment()
const;
47 INLINE
const std::string &get_comment()
const;
49 INLINE
bool has_prototype()
const;
50 INLINE
const std::string &get_prototype()
const;
52 INLINE
int number_of_c_wrappers()
const;
53 INLINE FunctionWrapperIndex get_c_wrapper(
int n)
const;
55 INLINE
int number_of_python_wrappers()
const;
56 INLINE FunctionWrapperIndex get_python_wrapper(
int n)
const;
58 void output(std::ostream &out)
const;
59 void input(std::istream &in);
72 F_operator_typecast = 0x0080,
76 std::string _scoped_name;
78 std::string _prototype;
81 typedef std::vector<FunctionWrapperIndex> Wrappers;
83 Wrappers _python_wrappers;
95 typedef std::map<std::string, CPPInstance *> Instances;
96 Instances *_instances;
97 std::string _expression;
99 friend class InterrogateBuilder;
100 friend class InterfaceMakerC;
101 friend class InterfaceMakerPythonSimple;
102 friend class InterfaceMakerPythonNative;
103 friend class FunctionRemap;
This class manages a mapping of integers to integers.
void output(std::ostream &out) const
Formats the component for output to a data file.
An internal representation of a function.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The base class for things that are part of the interrogate database.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void input(std::istream &in)
Reads the data file as previously formatted by output().