Kea  2.1.7-git
isc::data::CfgToElement Struct Referenceabstract

Abstract class for configuration Cfg_* classes. More...

#include <cfg_to_element.h>

+ Inheritance diagram for isc::data::CfgToElement:

Public Member Functions

virtual ~CfgToElement ()
 Destructor. More...
 
virtual isc::data::ElementPtr toElement () const =0
 Unparse a configuration object. More...
 

Detailed Description

Abstract class for configuration Cfg_* classes.

Definition at line 29 of file cfg_to_element.h.

Constructor & Destructor Documentation

◆ ~CfgToElement()

virtual isc::data::CfgToElement::~CfgToElement ( )
inlinevirtual

Destructor.

Definition at line 31 of file cfg_to_element.h.

Member Function Documentation

◆ toElement()

virtual isc::data::ElementPtr isc::data::CfgToElement::toElement ( ) const
pure virtual

Unparse a configuration object.

Returns an element which must parse into the same object, i.e.

for all valid config C parse(parse(C)->toElement()) == parse(C)
Returns
a pointer to a configuration which can be parsed into the initial configuration object

Implemented in isc::dhcp::Network6, isc::dhcp::Network4, isc::dhcp::SrvConfig, isc::dhcp::Subnet6, isc::dhcp::Network, isc::d2::DScalarContext, isc::d2::DdnsDomainListMgr, isc::dhcp::Subnet4, isc::dhcp::CfgHosts, isc::dhcp::CfgOption, isc::dhcp::Lease6, isc::d2::DdnsDomain, isc::d2::DnsServerInfo, isc::dhcp::Lease4, isc::dhcp::Pool6, isc::dhcp::ClientClassDictionary, isc::dhcp::SharedNetwork6, isc::dhcp::Subnet, isc::d2::TSIGKeyInfo, isc::dhcp::CfgSubnets4, isc::dhcp::Pool4, isc::dhcp::CfgIface, isc::dhcp::CfgSubnets6, isc::netconf::CfgServer, isc::dhcp::CfgExpiration, isc::dhcp::ClientClassDef, isc::process::ConfigControlInfo, isc::agent::CtrlAgentCfgContext, isc::dhcp::SharedNetwork4, isc::dhcp::D2ClientConfig, isc::db::BackendSelector, isc::http::BasicHttpAuthConfig, isc::dhcp::Pool, isc::dhcp::CfgHostDbAccess, isc::dhcp::CfgGlobals, isc::dhcp::CfgLeaseDbAccess, isc::dhcp::CfgOptionDef, isc::process::LoggingInfo, isc::netconf::CfgControlSocket, isc::dhcp::CfgDUID, isc::d2::D2CfgContext, isc::dhcp::CfgSharedNetworks< SharedNetworkPtrType, SharedNetworkCollection >, isc::dhcp::CfgSharedNetworks< SharedNetwork6Ptr, SharedNetwork6Collection >, isc::dhcp::CfgSharedNetworks< SharedNetwork4Ptr, SharedNetwork4Collection >, isc::process::ConfigBase, isc::hooks::HooksConfig, isc::netconf::NetconfConfig, isc::http::BasicHttpAuthClient, isc::dhcp::Cfg4o6, isc::dhcp::CfgHostOperations, isc::process::ConfigDbInfo, isc::db::Server, isc::http::HttpAuthConfig, isc::dhcp::CfgMACSource, isc::process::LoggingDestination, isc::dhcp::CfgRSOO, and isc::dhcp::CfgConsistency.

Referenced by isc::dhcp::Lease4::operator!=(), and isc::dhcp::Lease6::operator!=().


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