Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | List of all members
toolbox::util::MultiConfig Class Reference

#include <toolbox/util/Config.hpp>

Public Member Functions

 MultiConfig ()
 
 ~MultiConfig ()
 
 MultiConfig (const MultiConfig &)=delete
 
MultiConfigoperator= (const MultiConfig &)=delete
 
 MultiConfig (MultiConfig &&) noexcept
 
MultiConfigoperator= (MultiConfig &&) noexcept
 
void clear () noexcept
 
void read (std::istream &is)
 
void read (std::istream &&is)
 
const Configroot () const noexcept
 
const Configsection (const std::string &name) const noexcept
 
const Configsection (std::string_view name) const noexcept
 

Detailed Description

Definition at line 149 of file Config.hpp.

Constructor & Destructor Documentation

◆ MultiConfig() [1/3]

toolbox::util::MultiConfig::MultiConfig ( )
default

◆ ~MultiConfig()

toolbox::util::MultiConfig::~MultiConfig ( )
default

◆ MultiConfig() [2/3]

toolbox::util::MultiConfig::MultiConfig ( const MultiConfig )
delete

◆ MultiConfig() [3/3]

toolbox::util::MultiConfig::MultiConfig ( MultiConfig &&  )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

MultiConfig & toolbox::util::MultiConfig::operator= ( const MultiConfig )
delete

◆ operator=() [2/2]

MultiConfig & toolbox::util::MultiConfig::operator= ( MultiConfig &&  )
defaultnoexcept

◆ clear()

void toolbox::util::MultiConfig::clear ( )
noexcept

Definition at line 75 of file Config.cpp.

Referenced by clear().

◆ read() [1/2]

void toolbox::util::MultiConfig::read ( std::istream &  is)

Definition at line 81 of file Config.cpp.

◆ read() [2/2]

void toolbox::util::MultiConfig::read ( std::istream &&  is)
inline

Definition at line 164 of file Config.hpp.

Referenced by read().

◆ root()

const Config & toolbox::util::MultiConfig::root ( ) const
inlinenoexcept

Definition at line 166 of file Config.hpp.

◆ section() [1/2]

const Config & toolbox::util::MultiConfig::section ( const std::string &  name) const
inlinenoexcept

Definition at line 167 of file Config.hpp.

◆ section() [2/2]

const Config & toolbox::util::MultiConfig::section ( std::string_view  name) const
inlinenoexcept

Definition at line 172 of file Config.hpp.


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