15 #ifndef INTERROGATEELEMENT_H
16 #define INTERROGATEELEMENT_H
18 #include "dtoolbase.h"
20 #include "interrogateComponent.h"
32 INLINE InterrogateElement(
const InterrogateElement ©);
33 INLINE
void operator = (
const InterrogateElement ©);
35 INLINE
bool is_global()
const;
37 INLINE
bool has_scoped_name()
const;
38 INLINE
const string &get_scoped_name()
const;
40 INLINE
bool has_comment()
const;
41 INLINE
const string &get_comment()
const;
43 INLINE TypeIndex get_type()
const;
44 INLINE
bool has_getter()
const;
45 INLINE FunctionIndex get_getter()
const;
46 INLINE
bool has_setter()
const;
47 INLINE FunctionIndex get_setter()
const;
49 void output(ostream &out)
const;
50 void input(istream &in);
57 F_has_getter = 0x0002,
65 FunctionIndex _getter;
66 FunctionIndex _setter;
68 friend class InterrogateBuilder;
74 #include "interrogateElement.I"
This class manages a mapping of integers to integers.
void input(istream &in)
Reads the data file as previously formatted by output().
The base class for things that are part of the interrogate database.
An internal representation of a data element, like a data member or a global variable.
void output(ostream &out) const
Formats the component for output to a data file.