Kea 2.5.8
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.
 
virtual isc::data::ElementPtr toElement () const =0
 Unparse a configuration object.
 

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)
virtual isc::data::ElementPtr toElement() const =0
Unparse a configuration object.
Returns
a pointer to a configuration which can be parsed into the initial configuration object

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


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