21 INLINE InterrogateElement::
36 INLINE InterrogateElement::
46 INLINE
void InterrogateElement::
48 InterrogateComponent::operator = (copy);
50 _scoped_name = copy._scoped_name;
51 _comment = copy._comment;
53 _getter = copy._getter;
54 _setter = copy._setter;
66 return (_flags & F_global) != 0;
74 INLINE
bool InterrogateElement::
75 has_scoped_name()
const {
76 return !_scoped_name.empty();
84 INLINE
const string &InterrogateElement::
85 get_scoped_name()
const {
94 INLINE
bool InterrogateElement::
96 return !_comment.empty();
104 INLINE
const string &InterrogateElement::
105 get_comment()
const {
114 INLINE TypeIndex InterrogateElement::
124 INLINE
bool InterrogateElement::
126 return (_flags & F_has_getter) != 0;
134 INLINE FunctionIndex InterrogateElement::
144 INLINE
bool InterrogateElement::
146 return (_flags & F_has_setter) != 0;
154 INLINE FunctionIndex InterrogateElement::
The base class for things that are part of the interrogate database.
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'.
An internal representation of a data element, like a data member or a global variable.
void output(ostream &out) const
Formats the InterrogateElement data for output to a data file.