xentara-plugin v2.0.4
The Xentara Plugin Framework
Loading...
Searching...
No Matches
xentara::io::Component::FallbackConfigHandler Class Referencefinal

A helper object used to throw exceptions for unknown configuration parameters. More...

#include <xentara/io/Component.hpp>

Public Member Functions

auto operator() (utils::json::decoder::Object::Member &member) const -> void
 Calls config::throwUnknownParameterError()
 
auto operator() (const utils::json::decoder::Name &name, utils::json::decoder::Value &) const -> void
 Calls config::throwUnknownParameterError()
 
auto operator() (utils::json::decoder::Object &jsonObject) const -> void
 Calls config::throwUnknownParameterError() if a JSON object contains any but the standard configuration parameters.
 

Detailed Description

A helper object used to throw exceptions for unknown configuration parameters.

Member Function Documentation

◆ operator()() [1/3]

auto xentara::io::Component::FallbackConfigHandler::operator() ( const utils::json::decoder::Name name,
utils::json::decoder::Value  
) const -> void

◆ operator()() [2/3]

auto xentara::io::Component::FallbackConfigHandler::operator() ( utils::json::decoder::Object jsonObject) const -> void

Calls config::throwUnknownParameterError() if a JSON object contains any but the standard configuration parameters.

◆ operator()() [3/3]

auto xentara::io::Component::FallbackConfigHandler::operator() ( utils::json::decoder::Object::Member member) const -> void