Kanzi Connect 3.9.10
kanzi::connect::ServerConfig::CustomConfiguration Class Reference

Class to contain information about all custom configurations in server config. More...

#include <serverconfig.hpp>

Inheritance diagram for kanzi::connect::ServerConfig::CustomConfiguration:
kanzi::connect::ServerConfig::AttributeProviderBase

Public Member Functions

 CustomConfiguration (const tinyxml2::XMLElement *element)
 Constructor.
 
CustomConfigurationgetConfiguration (string &path)
 Get the configuration specified by path.
 
virtual ~CustomConfiguration () override=default
 dtor
 
- Public Member Functions inherited from kanzi::connect::ServerConfig::AttributeProviderBase
AttributeListgetAttributes ()
 Retrieve attributes.
 
const AttributeListgetAttributes () const
 Retrieve attributes.
 
virtual ~AttributeProviderBase ()=default
 

Additional Inherited Members

- Protected Attributes inherited from kanzi::connect::ServerConfig::AttributeProviderBase
AttributeList m_attributes
 attribute data
 

Detailed Description

Class to contain information about all custom configurations in server config.

Constructor & Destructor Documentation

◆ CustomConfiguration()

kanzi::connect::ServerConfig::CustomConfiguration::CustomConfiguration ( const tinyxml2::XMLElement * element)
explicit

Constructor.

Parameters
elementContains the XML definition for this configuration

◆ ~CustomConfiguration()

virtual kanzi::connect::ServerConfig::CustomConfiguration::~CustomConfiguration ( )
overridevirtualdefault

dtor

Member Function Documentation

◆ getConfiguration()

CustomConfiguration * kanzi::connect::ServerConfig::CustomConfiguration::getConfiguration ( string & path)

Get the configuration specified by path.

Parameters
pathIdentifies which configuration to return (hierarchies separated by '.')
Returns
Pointer to the configuration or nullptr if not found (does not release ownership of configuration to caller)

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