SPH
Public Member Functions | List of all members
ConfigValue< std::string > Class Reference

More...

#include <Config.h>

Inheritance diagram for ConfigValue< std::string >:
IConfigValue Polymorphic

Public Member Functions

 ConfigValue ()=default
 
 ConfigValue (const std::string &value)
 
virtual std::string write () const override
 Writes the value into a string. More...
 
virtual void read (const std::string &source) override
 Reads the value from string and stores it internally. More...
 
const std::string & get () const
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Specialization for std::string.

Definition at line 144 of file Config.h.

Constructor & Destructor Documentation

◆ ConfigValue() [1/2]

ConfigValue< std::string >::ConfigValue ( )
default

◆ ConfigValue() [2/2]

ConfigValue< std::string >::ConfigValue ( const std::string &  value)
inline

Definition at line 151 of file Config.h.

Member Function Documentation

◆ get()

const std::string& ConfigValue< std::string >::get ( ) const
inline

Definition at line 162 of file Config.h.

◆ read()

virtual void ConfigValue< std::string >::read ( const std::string &  source)
inlineoverridevirtual

Reads the value from string and stores it internally.

Exceptions
ConfigExceptionif the value cannot be deserialized.

Implements IConfigValue.

Definition at line 158 of file Config.h.

◆ write()

virtual std::string ConfigValue< std::string >::write ( ) const
inlineoverridevirtual

Writes the value into a string.

Implements IConfigValue.

Definition at line 154 of file Config.h.


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