Kea  2.1.7-git
isc::dhcp::CfgLeaseDbAccess Struct Reference

utility class for unparsing More...

#include <cfg_db_access.h>

+ Inheritance diagram for isc::dhcp::CfgLeaseDbAccess:

Public Member Functions

 CfgLeaseDbAccess (const CfgDbAccess &super)
 Constructor. More...
 
virtual isc::data::ElementPtr toElement () const
 Unparse. More...
 
- Public Member Functions inherited from isc::dhcp::CfgDbAccess
 CfgDbAccess ()
 Constructor. More...
 
void createManagers () const
 Creates instance of lease manager and host data sources according to the configuration specified. More...
 
std::string getHostDbAccessString () const
 Retrieves host database access string. More...
 
std::list< std::string > getHostDbAccessStringList () const
 Retrieves host database access string. More...
 
bool getIPReservationsUnique () const
 Returns the setting indicating if the IP reservations are unique or can be non unique. More...
 
std::string getLeaseDbAccessString () const
 Retrieves lease database access string. More...
 
void setAppendedParameters (const std::string &appended_parameters)
 Sets parameters which will be appended to the database access strings. More...
 
void setHostDbAccessString (const std::string &host_db_access, bool front=false)
 Sets host database access string. More...
 
void setIPReservationsUnique (const bool unique)
 Modifies the setting imposing whether the IP reservations are unique or can be non unique. More...
 
void setLeaseDbAccessString (const std::string &lease_db_access)
 Sets lease database access string. More...
 
- Public Member Functions inherited from isc::data::CfgToElement
virtual ~CfgToElement ()
 Destructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from isc::dhcp::CfgDbAccess
std::string getAccessString (const std::string &access_string) const
 Returns lease or host database access string. More...
 
- Protected Attributes inherited from isc::dhcp::CfgDbAccess
std::string appended_parameters_
 Parameters to be appended to the database access strings. More...
 
std::list< std::string > host_db_access_
 Holds host database access strings. More...
 
bool ip_reservations_unique_
 Holds the setting whether IP reservations should be unique or can be non-unique. More...
 
std::string lease_db_access_
 Holds lease database access string. More...
 

Detailed Description

utility class for unparsing

Definition at line 136 of file cfg_db_access.h.

Constructor & Destructor Documentation

◆ CfgLeaseDbAccess()

isc::dhcp::CfgLeaseDbAccess::CfgLeaseDbAccess ( const CfgDbAccess super)
inline

Constructor.

Definition at line 138 of file cfg_db_access.h.

Member Function Documentation

◆ toElement()

virtual isc::data::ElementPtr isc::dhcp::CfgLeaseDbAccess::toElement ( ) const
inlinevirtual

Unparse.

isc::data::CfgToElement::toElement

Returns
a pointer to a configuration

Implements isc::data::CfgToElement.

Definition at line 145 of file cfg_db_access.h.

References isc::dhcp::CfgDbAccess::lease_db_access_, and isc::db::DatabaseConnection::toElementDbAccessString().

Referenced by isc::dhcp::SrvConfig::toElement().

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: