21 INLINE InterrogateComponent::
32 INLINE InterrogateComponent::
44 INLINE
void InterrogateComponent::
59 return (name != (
const char *)NULL && name[0] !=
'\0');
75 return _def->library_name;
77 return (
const char *)NULL;
89 return (name != (
const char *)NULL && name[0] !=
'\0');
104 return _def->module_name;
106 return (
const char *)NULL;
114 INLINE
bool InterrogateComponent::
116 return !_name.empty();
124 INLINE
const string &InterrogateComponent::
134 INLINE
int InterrogateComponent::
135 get_num_alt_names()
const {
136 return _alt_names.size();
144 INLINE
const string &InterrogateComponent::
145 get_alt_name(
int n)
const {
146 if (n >= 0 && n < (
int)_alt_names.size()) {
147 return _alt_names[n];
149 return _empty_string;
bool has_library_name() const
Returns true if we have a known library name, false if we do not.
bool has_module_name() const
Returns true if we have a known module name, false if we do not.
The base class for things that are part of the interrogate database.
const char * get_library_name() const
Returns the library name, if it is known, or NULL if it is not.
const char * get_module_name() const
Returns the module name, if it is known, or NULL if it is not.