Kea  1.9.9-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

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

Destructor.

Definition at line 31 of file cfg_to_element.h.

Member Function Documentation

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::CfgHosts, isc::dhcp::CfgOption, isc::dhcp::Subnet4, isc::dhcp::Lease6, isc::d2::DdnsDomain, isc::d2::DnsServerInfo, isc::dhcp::Lease4, isc::dhcp::Pool6, isc::dhcp::SharedNetwork6, isc::dhcp::Subnet, isc::dhcp::ClientClassDictionary, isc::d2::TSIGKeyInfo, isc::dhcp::CfgSubnets4, isc::dhcp::Pool4, isc::dhcp::CfgIface, isc::dhcp::CfgSubnets6, isc::dhcp::CfgExpiration, isc::netconf::CfgServer, isc::process::ConfigControlInfo, isc::dhcp::ClientClassDef, isc::agent::CtrlAgentCfgContext, isc::dhcp::SharedNetwork4, isc::dhcp::D2ClientConfig, isc::db::BackendSelector, isc::dhcp::Pool, isc::dhcp::CfgHostDbAccess, 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::http::BasicHttpAuthConfig, isc::process::ConfigBase, isc::hooks::HooksConfig, isc::netconf::NetconfConfig, isc::dhcp::Cfg4o6, isc::dhcp::CfgHostOperations, isc::process::ConfigDbInfo, isc::db::Server, isc::dhcp::CfgMACSource, isc::http::HttpAuthConfig, isc::process::LoggingDestination, isc::dhcp::CfgRSOO, isc::http::BasicHttpAuthClient, and isc::dhcp::CfgConsistency.


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