Kea 2.7.6
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::config::HttpCommandConfig, isc::d2::D2CfgContext, isc::d2::DdnsDomain, isc::d2::DdnsDomainListMgr, isc::d2::DnsServerInfo, isc::d2::DScalarContext, isc::d2::TSIGKeyInfo, isc::db::BackendSelector, isc::db::Server, isc::dhcp::Cfg4o6, isc::dhcp::CfgConsistency, isc::dhcp::CfgDUID, isc::dhcp::CfgExpiration, isc::dhcp::CfgGlobals, isc::dhcp::CfgHostDbAccess, isc::dhcp::CfgHostOperations, isc::dhcp::CfgHosts, isc::dhcp::CfgIface, isc::dhcp::CfgLeaseDbAccess, 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::ClientClasses, isc::dhcp::D2ClientConfig, isc::dhcp::Lease4, isc::dhcp::Lease6, isc::dhcp::Network4, isc::dhcp::Network6, isc::dhcp::Network, isc::dhcp::NetworkState, isc::dhcp::NetworkStateImpl, isc::dhcp::Pool4, isc::dhcp::Pool6, isc::dhcp::Pool, isc::dhcp::SharedNetwork4, isc::dhcp::SharedNetwork6, isc::dhcp::SrvConfig, isc::dhcp::Subnet4, isc::dhcp::Subnet6, isc::dhcp::Subnet, isc::dhcp::TemplateClientClassDef, isc::hooks::HooksConfig, isc::http::BasicHttpAuthClient, isc::http::BasicHttpAuthConfig, isc::http::CfgHttpHeader, isc::http::HttpAuthConfig, isc::netconf::CfgControlSocket, isc::netconf::CfgServer, isc::netconf::NetconfConfig, isc::perfmon::DurationKey, isc::perfmon::MonitoredDuration, isc::process::ConfigBase, isc::process::ConfigControlInfo, isc::process::ConfigDbInfo, isc::process::LoggingDestination, and isc::process::LoggingInfo.


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