12#include <boost/shared_ptr.hpp>
148 typedef std::map<std::string, isc::data::ConstElementPtr>
MapType;
163 std::vector<isc::data::ConstElementPtr>
values_;
Class to store configured global parameters.
void clear()
Clear configured parameter values.
void set(const std::string &name, isc::data::ConstElementPtr value)
Set a configured parameter value by name.
const MapType valuesMap() const
Returns configured parameters as a map.
CfgGlobals()
Instance members.
static const std::map< std::string, int > nameToIndex
Name to index map.
std::map< std::string, isc::data::ConstElementPtr > MapType
Type of name and value map.
isc::data::ElementPtr toElement() const
Unparse configured global parameters.
isc::data::ConstElementPtr get(const std::string &name) const
Get a configured parameter value by name.
std::vector< isc::data::ConstElementPtr > values_
Vectors of values.
@ STATISTIC_DEFAULT_SAMPLE_COUNT
@ EXPIRED_LEASES_PROCESSING
@ DDNS_CONFLICT_RESOLUTION_MODE
@ DECLINE_PROBATION_PERIOD
@ DDNS_OVERRIDE_NO_UPDATE
@ DDNS_OVERRIDE_CLIENT_UPDATE
@ EARLY_GLOBAL_RESERVATIONS_LOOKUP
@ STATISTIC_DEFAULT_SAMPLE_AGE
@ HOSTNAME_CHAR_REPLACEMENT
@ RESERVATIONS_OUT_OF_POOL
@ DDNS_REPLACE_CLIENT_NAME
@ RESERVATIONS_LOOKUP_FIRST
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< Element > ElementPtr
boost::shared_ptr< const CfgGlobals > ConstCfgGlobalsPtr
Const shared pointer to a CfgGlobals instance.
boost::shared_ptr< CfgGlobals > CfgGlobalsPtr
Non-const shared pointer to a CfgGlobals instance.
Defines the logger used by the top-level component of kea-lfc.
Abstract class for configuration Cfg_* classes.