17 INLINE InterrogateComponent::
26 INLINE InterrogateComponent::
36 INLINE
void InterrogateComponent::
49 return (name !=
nullptr && name[0] !=
'\0');
60 if (_def !=
nullptr) {
61 return _def->library_name;
73 return (name !=
nullptr && name[0] !=
'\0');
84 if (_def !=
nullptr) {
85 return _def->module_name;
93 INLINE
bool InterrogateComponent::
95 return !_name.empty();
101 INLINE
const std::string &InterrogateComponent::
109 INLINE
int InterrogateComponent::
110 get_num_alt_names()
const {
111 return _alt_names.size();
117 INLINE
const std::string &InterrogateComponent::
118 get_alt_name(
int n)
const {
119 if (n >= 0 && n < (
int)_alt_names.size()) {
120 return _alt_names[n];
122 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.