14 #ifndef INTERROGATEMANIFEST_H 15 #define INTERROGATEMANIFEST_H 32 INLINE
const std::string &get_definition()
const;
33 INLINE
bool has_type()
const;
34 INLINE TypeIndex get_type()
const;
35 INLINE
bool has_getter()
const;
36 INLINE FunctionIndex get_getter()
const;
37 INLINE
bool has_int_value()
const;
38 INLINE
int get_int_value()
const;
40 void output(std::ostream &out)
const;
41 void input(std::istream &in);
48 F_has_getter = 0x0002,
49 F_has_int_value = 0x0004
53 std::string _definition;
56 FunctionIndex _getter;
58 friend class InterrogateBuilder;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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 manifest constant.
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().