Panda3D
|
An internal representation of a data element, like a data member or a global variable. More...
#include "interrogateElement.h"
Public Member Functions | |
InterrogateElement (const InterrogateElement ©) | |
InterrogateElement (InterrogateModuleDef *def=nullptr) | |
FunctionIndex | get_clear_function () const |
const std::string & | get_comment () const |
FunctionIndex | get_del_function () const |
FunctionIndex | get_getkey_function () const |
FunctionIndex | get_getter () const |
FunctionIndex | get_has_function () const |
FunctionIndex | get_insert_function () const |
FunctionIndex | get_length_function () const |
const std::string & | get_scoped_name () const |
FunctionIndex | get_setter () const |
TypeIndex | get_type () const |
bool | has_clear_function () const |
bool | has_comment () const |
bool | has_del_function () const |
bool | has_getkey_function () const |
bool | has_getter () const |
bool | has_has_function () const |
bool | has_insert_function () const |
bool | has_scoped_name () const |
bool | has_setter () const |
void | input (std::istream &in) |
Reads the data file as previously formatted by output(). | |
bool | is_global () const |
Returns true if the element is marked as 'global'. | |
bool | is_mapping () const |
bool | is_sequence () const |
void | operator= (const InterrogateElement ©) |
void | output (std::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. | |
![]() | |
InterrogateComponent (const InterrogateComponent ©) | |
InterrogateComponent (InterrogateModuleDef *def=nullptr) | |
const std::string & | get_alt_name (int n) const |
const char * | get_library_name () const |
Returns the library name, if it is known, or NULL if it is not. | |
const char * | get_module_name () const |
Returns the module name, if it is known, or NULL if it is not. | |
const std::string & | get_name () const |
int | get_num_alt_names () const |
bool | has_library_name () const |
Returns true if we have a known library name, false if we do not. | |
bool | has_module_name () const |
Returns true if we have a known module name, false if we do not. | |
bool | has_name () const |
void | input (std::istream &in) |
Reads the data file as previously formatted by output(). | |
void | operator= (const InterrogateComponent ©) |
void | output (std::ostream &out) const |
Formats the component for output to a data file. | |
Friends | |
class | InterrogateBuilder |
An internal representation of a data element, like a data member or a global variable.
Definition at line 28 of file interrogateElement.h.
|
inline |
Definition at line 17 of file interrogateElement.I.
|
inline |
Definition at line 37 of file interrogateElement.I.
|
inline |
Definition at line 171 of file interrogateElement.I.
|
inline |
Definition at line 99 of file interrogateElement.I.
|
inline |
Definition at line 187 of file interrogateElement.I.
|
inline |
Definition at line 219 of file interrogateElement.I.
|
inline |
Definition at line 123 of file interrogateElement.I.
|
inline |
Definition at line 155 of file interrogateElement.I.
|
inline |
Definition at line 203 of file interrogateElement.I.
|
inline |
Definition at line 235 of file interrogateElement.I.
|
inline |
Definition at line 83 of file interrogateElement.I.
|
inline |
Definition at line 139 of file interrogateElement.I.
|
inline |
Definition at line 107 of file interrogateElement.I.
|
inline |
Definition at line 163 of file interrogateElement.I.
|
inline |
Definition at line 91 of file interrogateElement.I.
|
inline |
Definition at line 179 of file interrogateElement.I.
|
inline |
Definition at line 211 of file interrogateElement.I.
|
inline |
Definition at line 115 of file interrogateElement.I.
|
inline |
Definition at line 147 of file interrogateElement.I.
|
inline |
Definition at line 195 of file interrogateElement.I.
|
inline |
Definition at line 75 of file interrogateElement.I.
|
inline |
Definition at line 131 of file interrogateElement.I.
void InterrogateElement::input | ( | std::istream & | in | ) |
Reads the data file as previously formatted by output().
Definition at line 42 of file interrogateElement.cxx.
References InterrogateDatabase::get_file_minor_version(), idf_input_string(), and InterrogateComponent::input().
|
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 67 of file interrogateElement.I.
Referenced by InterrogateDatabase::add_element().
|
inline |
Definition at line 243 of file interrogateElement.I.
|
inline |
Definition at line 227 of file interrogateElement.I.
|
inline |
Definition at line 45 of file interrogateElement.I.
void InterrogateElement::output | ( | std::ostream & | out | ) | const |
Formats the InterrogateElement data for output to a data file.
Definition at line 22 of file interrogateElement.cxx.
References idf_output_string(), and InterrogateComponent::output().
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 63 of file interrogateElement.cxx.
References IndexRemapper::map_from().
|
friend |
Definition at line 95 of file interrogateElement.h.