Panda3D
|
An internal representation of a data element, like a data member or a global variable. More...
#include "interrogateElement.h"
Public Member Functions | |
InterrogateElement (InterrogateModuleDef *def=NULL) | |
InterrogateElement (const InterrogateElement ©) | |
FunctionIndex | get_getter () const |
const string & | get_scoped_name () const |
FunctionIndex | get_setter () const |
TypeIndex | get_type () const |
bool | has_getter () const |
bool | has_scoped_name () const |
bool | has_setter () const |
void | input (istream &in) |
Reads the data file as previously formatted by output(). | |
bool | is_global () const |
Returns true if the element is marked as 'global'. | |
void | operator= (const InterrogateElement ©) |
void | output (ostream &out) const |
Formats the InterrogateElement data for output to a data file. | |
void | remap_indices (const IndexRemapper &remap) |
Remaps all internal index numbers according to the indicated map. | |
Friends | |
class | InterrogateBuilder |
An internal representation of a data element, like a data member or a global variable.
Definition at line 29 of file interrogateElement.h.
void InterrogateElement::input | ( | istream & | in | ) |
Reads the data file as previously formatted by output().
Reimplemented from InterrogateComponent.
Definition at line 42 of file interrogateElement.cxx.
bool InterrogateElement::is_global | ( | ) | const [inline] |
Returns true if the element is marked as 'global'.
This means only that it should appear in the global element list.
Definition at line 64 of file interrogateElement.I.
Referenced by InterrogateDatabase::add_element().
void InterrogateElement::output | ( | ostream & | out | ) | const |
Formats the InterrogateElement data for output to a data file.
Reimplemented from InterrogateComponent.
Definition at line 26 of file interrogateElement.cxx.
void InterrogateElement::remap_indices | ( | const IndexRemapper & | remap | ) |
Remaps all internal index numbers according to the indicated map.
This called from InterrogateDatabase::remap_indices().
Definition at line 56 of file interrogateElement.cxx.
References IndexRemapper::map_from().