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

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.
 
- Protected Attributes inherited from isc::dhcp::CfgDbAccess
std::string appended_parameters_
 Parameters to be appended to the database access strings.
 
bool extended_info_tables_enabled_
 Holds the setting whether the lease extended info tables are enabled or disabled.
 
std::list< std::string > host_db_access_
 Holds host database access strings.
 
bool ip_reservations_unique_
 Holds the setting whether IP reservations should be unique or can be non-unique.
 
std::string lease_db_access_
 Holds lease database access string.
 

Detailed Description

utility class for unparsing

Definition at line 157 of file cfg_db_access.h.

Constructor & Destructor Documentation

◆ CfgLeaseDbAccess()

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

Constructor.

Definition at line 159 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 166 of file cfg_db_access.h.

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

+ Here is the call graph for this function:

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