17INLINE InterrogateElement::
31 _make_property =
nullptr;
37INLINE InterrogateElement::
45INLINE
void InterrogateElement::
47 InterrogateComponent::operator = (copy);
49 _scoped_name = copy._scoped_name;
50 _comment = copy._comment;
52 _getter = copy._getter;
53 _setter = copy._setter;
54 _has_function = copy._has_function;
55 _clear_function = copy._clear_function;
56 _del_function = copy._del_function;
57 _insert_function = copy._insert_function;
58 _getkey_function = copy._getkey_function;
59 _length_function = copy._length_function;
60 _make_property = copy._make_property;
69 return (_flags & F_global) != 0;
75INLINE
bool InterrogateElement::
76has_scoped_name()
const {
77 return !_scoped_name.empty();
83INLINE
const std::string &InterrogateElement::
84get_scoped_name()
const {
91INLINE
bool InterrogateElement::
93 return !_comment.empty();
99INLINE
const std::string &InterrogateElement::
107INLINE TypeIndex InterrogateElement::
115INLINE
bool InterrogateElement::
117 return (_flags & F_has_getter) != 0;
123INLINE FunctionIndex InterrogateElement::
131INLINE
bool InterrogateElement::
133 return (_flags & F_has_setter) != 0;
139INLINE FunctionIndex InterrogateElement::
147INLINE
bool InterrogateElement::
148has_has_function()
const {
149 return (_flags & F_has_has_function) != 0;
155INLINE FunctionIndex InterrogateElement::
156get_has_function()
const {
157 return _has_function;
163INLINE
bool InterrogateElement::
164has_clear_function()
const {
165 return (_flags & F_has_clear_function) != 0;
171INLINE FunctionIndex InterrogateElement::
172get_clear_function()
const {
173 return _clear_function;
179INLINE
bool InterrogateElement::
180has_del_function()
const {
181 return (_flags & F_has_del_function) != 0;
187INLINE FunctionIndex InterrogateElement::
188get_del_function()
const {
189 return _del_function;
195INLINE
bool InterrogateElement::
196has_insert_function()
const {
197 return (_flags & F_has_insert_function) != 0;
203INLINE FunctionIndex InterrogateElement::
204get_insert_function()
const {
205 return _insert_function;
211INLINE
bool InterrogateElement::
212has_getkey_function()
const {
213 return (_flags & F_has_getkey_function) != 0;
219INLINE FunctionIndex InterrogateElement::
220get_getkey_function()
const {
221 return _getkey_function;
227INLINE
bool InterrogateElement::
229 return (_flags & F_sequence) != 0;
235INLINE FunctionIndex InterrogateElement::
236get_length_function()
const {
237 return _length_function;
243INLINE
bool InterrogateElement::
245 return (_flags & F_mapping) != 0;
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(std::ostream &out) const
Formats the InterrogateElement data for output to a data file.
bool is_global() const
Returns true if the element is marked as 'global'.
void input(std::istream &in)
Reads the data file as previously formatted by output().