14#ifndef INTERROGATECOMPONENT_H
15#define INTERROGATECOMPONENT_H
30class EXPCL_INTERROGATEDB InterrogateComponent {
33 INLINE InterrogateComponent(
const InterrogateComponent ©);
34 INLINE
void operator = (
const InterrogateComponent ©);
42 INLINE
bool has_name()
const;
43 INLINE
const std::string &get_name()
const;
45 INLINE
int get_num_alt_names()
const;
46 INLINE
const std::string &get_alt_name(
int n)
const;
48 void output(std::ostream &out)
const;
49 void input(std::istream &in);
52 static std::string _empty_string;
58 typedef std::vector<std::string> Strings;
61 friend class InterrogateBuilder;
62 friend class FunctionRemap;
This class manages a mapping of integers to integers.
const char * get_module_name() const
Returns the module name, if it is known, or NULL if it is not.
void input(std::istream &in)
Reads the data file as previously formatted by output().
bool has_module_name() const
Returns true if we have a known module 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_library_name() const
Returns true if we have a known library name, false if we do not.
void output(std::ostream &out) const
Formats the component for output to a data file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.