![]() |
Kea 3.1.0
|
Entity that holds information about hook libraries and their parameters. More...
#include <libinfo.h>
Public Member Functions | |
HookLibInfo (const std::string &libname, isc::data::ConstElementPtr parameters, const std::string &cfgname="") | |
bool | operator!= (const HookLibInfo &other) const |
Compare two HookLibInfos for inequality. | |
bool | operator== (const HookLibInfo &other) const |
Compare two HookLibInfos for equality. | |
Public Attributes | |
std::string | cfgname_ |
Configured library name (e.g. rom 'library') | |
std::string | libname_ |
Full file path of the library. | |
data::ConstElementPtr | parameters_ |
Set of configured parameters (if any) | |
Entity that holds information about hook libraries and their parameters.
isc::hooks::HookLibInfo::HookLibInfo | ( | const std::string & | libname, |
isc::data::ConstElementPtr | parameters, | ||
const std::string & | cfgname = "" ) |
Definition at line 14 of file libinfo.cc.
References cfgname_, libname_, and parameters_.
Referenced by operator!=(), and operator==().
|
inline |
Compare two HookLibInfos for inequality.
other | lease6 object with which to compare |
Definition at line 45 of file libinfo.h.
References HookLibInfo().
bool isc::hooks::HookLibInfo::operator== | ( | const HookLibInfo & | other | ) | const |
Compare two HookLibInfos for equality.
other | HookLibInfo object with which to compare |
Definition at line 36 of file libinfo.cc.
References HookLibInfo(), cfgname_, libname_, and parameters_.
std::string isc::hooks::HookLibInfo::cfgname_ |
Configured library name (e.g. rom 'library')
Definition at line 35 of file libinfo.h.
Referenced by HookLibInfo(), and operator==().
std::string isc::hooks::HookLibInfo::libname_ |
Full file path of the library.
Definition at line 29 of file libinfo.h.
Referenced by HookLibInfo(), and operator==().
data::ConstElementPtr isc::hooks::HookLibInfo::parameters_ |
Set of configured parameters (if any)
Definition at line 32 of file libinfo.h.
Referenced by HookLibInfo(), and operator==().