Kanzi Connect 3.9.10
kanzi::connect::XmlConfigurationReader Class Reference

A class that reads adapter configuration from xml file. More...

#include <xml_configuration_reader.hpp>

Public Member Functions

const string & getPrivateData () const
 Returns private data found while reading the configuration.
 
const string & getPrivateDataService () const
 Returns private data service name found while reading the configuration.
 
vector< ContentAdapterConfigurationSharedPtrloadFromFile (kanzi::Domain *domain, kanzi::string_view filename, const string &declarationOverride)
 Reads xml file and outputs a set of adapter configurations.
 
 XmlConfigurationReader ()
 Constructor.
 

Detailed Description

A class that reads adapter configuration from xml file.

Constructor & Destructor Documentation

◆ XmlConfigurationReader()

kanzi::connect::XmlConfigurationReader::XmlConfigurationReader ( )

Constructor.

Member Function Documentation

◆ getPrivateData()

const string & kanzi::connect::XmlConfigurationReader::getPrivateData ( ) const

Returns private data found while reading the configuration.

Returns
A string containing the private data.

◆ getPrivateDataService()

const string & kanzi::connect::XmlConfigurationReader::getPrivateDataService ( ) const

Returns private data service name found while reading the configuration.

Returns
A string containing the name of the service for which the private data applies.

◆ loadFromFile()

vector< ContentAdapterConfigurationSharedPtr > kanzi::connect::XmlConfigurationReader::loadFromFile ( kanzi::Domain * domain,
kanzi::string_view filename,
const string & declarationOverride )

Reads xml file and outputs a set of adapter configurations.

Parameters
domainUI domain.
filenameFile path to configuration xml file.
Returns
A container of adapter configurations.

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