#include <interrogateManifest.h>
Inheritance diagram for InterrogateManifest:
Public Member Functions | |
InterrogateManifest (InterrogateModuleDef *def=NULL) | |
InterrogateManifest (const InterrogateManifest ©) | |
void | operator= (const InterrogateManifest ©) |
const string & | get_definition () const |
bool | has_type () const |
TypeIndex | get_type () const |
bool | has_getter () const |
FunctionIndex | get_getter () const |
bool | has_int_value () const |
int | get_int_value () const |
void | output (ostream &out) const |
Formats the InterrogateManifest data for output to a data file. | |
void | input (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. | |
bool | has_library_name () const |
Returns true if we have a known library name, false if we do not. | |
const char * | get_library_name () const |
Returns the library name, if it is known, or NULL if it is not. | |
bool | has_module_name () const |
Returns true if we have a known module name, false if we do not. | |
const char * | get_module_name () const |
Returns the module name, if it is known, or NULL if it is not. | |
bool | has_name () const |
const string & | get_name () const |
Private Types | |
enum | Flags { F_has_type = 0x0001, F_has_getter = 0x0002, F_has_int_value = 0x0004 } |
Private Attributes | |
int | _flags |
string | _definition |
int | _int_value |
TypeIndex | _type |
FunctionIndex | _getter |
Friends | |
class | InterrogateBuilder |
Definition at line 38 of file interrogateManifest.h.
|
Definition at line 58 of file interrogateManifest.h. |
|
Definition at line 31 of file interrogateManifest.I. |
|
Definition at line 48 of file interrogateManifest.I. References _definition, _flags, _getter, _int_value, _type, INLINE, and InterrogateComponent::operator=(). |
|
Definition at line 78 of file interrogateManifest.I. References _flags, and F_has_type. Referenced by interrogate_manifest_name(). |
|
Definition at line 126 of file interrogateManifest.I. References _int_value, and INLINE. Referenced by interrogate_manifest_has_getter(). |
|
Definition at line 150 of file interrogateManifest.I. Referenced by interrogate_manifest_has_int_value(). |
|
Returns the library name, if it is known, or NULL if it is not. This is the name of the library that this particular component was built into. Typically this will be a one-to-one correspondance with an invocation of the interrogate command. Typical examples are "libutil" and "liblinmath". Definition at line 98 of file interrogateComponent.I. References InterrogateComponent::_def, INLINE, InterrogateModuleDef::module_name, and NULL. Referenced by InterrogateComponent::operator=(). |
|
Returns the module name, if it is known, or NULL if it is not. This is the name of the module that this particular component is associated with. This is a higher grouping than library. Typical examples are "panda" and "pandaegg". Definition at line 138 of file interrogateComponent.I. Referenced by interrogate_function_has_module_name(), and interrogate_type_has_module_name(). |
|
Definition at line 165 of file interrogateComponent.I. Referenced by interrogate_function_python_wrapper(), interrogate_get_function(), interrogate_get_manifest_by_name(), interrogate_get_type_by_true_name(), and interrogate_manifest_get_int_value(). |
|
Definition at line 102 of file interrogateManifest.I. References _getter, FunctionIndex, and INLINE. Referenced by interrogate_manifest_has_type(). |
|
Definition at line 114 of file interrogateManifest.I. References _flags, F_has_int_value, and INLINE. Referenced by interrogate_manifest_get_type(). |
|
Definition at line 138 of file interrogateManifest.I. References INLINE, and input(). Referenced by interrogate_manifest_getter(). |
|
Returns true if we have a known library name, false if we do not. See get_library_name(). Definition at line 74 of file interrogateComponent.I. References InterrogateComponent::_def, INLINE, InterrogateModuleDef::library_name, and NULL. |
|
Returns true if we have a known module name, false if we do not. See get_module_name(). Definition at line 116 of file interrogateComponent.I. References InterrogateComponent::_name, and INLINE. Referenced by interrogate_function_class(), and interrogate_type_comment(). |
|
Definition at line 153 of file interrogateComponent.I. |
|
Definition at line 90 of file interrogateManifest.I. References _flags, F_has_getter, and INLINE. Referenced by interrogate_manifest_definition(). |
|
Reads the data file as previously formatted by output().
Reimplemented from InterrogateComponent. Definition at line 57 of file interrogateManifest.cxx. References _getter, _type, and IndexRemapper::map_from(). Referenced by has_int_value(). |
|
Definition at line 60 of file interrogateManifest.I. References _definition, and INLINE. |
|
Formats the InterrogateManifest data for output to a data file.
Reimplemented from InterrogateComponent. Definition at line 37 of file interrogateManifest.cxx. |
|
Remaps all internal index numbers according to the indicated map. This called from InterrogateDatabase::remap_indices(). Definition at line 76 of file interrogateManifest.cxx. |
|
Reimplemented from InterrogateComponent. Definition at line 70 of file interrogateManifest.h. |
|
Definition at line 65 of file interrogateManifest.h. Referenced by InterrogateManifest(), and operator=(). |
|
Definition at line 64 of file interrogateManifest.h. Referenced by get_definition(), has_getter(), has_type(), and InterrogateManifest(). |
|
Definition at line 68 of file interrogateManifest.h. Referenced by get_type(), input(), and InterrogateManifest(). |
|
Definition at line 66 of file interrogateManifest.h. Referenced by get_getter(), and InterrogateManifest(). |
|
Definition at line 67 of file interrogateManifest.h. Referenced by input(), and InterrogateManifest(). |