SPH
Public Member Functions | List of all members
ConfigValue< Interval > Class Reference

More...

#include <Config.h>

Inheritance diagram for ConfigValue< Interval >:
IConfigValue Polymorphic

Public Member Functions

 ConfigValue ()=default
 
 ConfigValue (const Interval &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...
 
Interval get () const
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Specialization for Interval.

Definition at line 112 of file Config.h.

Constructor & Destructor Documentation

◆ ConfigValue() [1/2]

ConfigValue< Interval >::ConfigValue ( )
default

◆ ConfigValue() [2/2]

ConfigValue< Interval >::ConfigValue ( const Interval value)
inline

Definition at line 119 of file Config.h.

Member Function Documentation

◆ get()

Interval ConfigValue< Interval >::get ( ) const
inline

Definition at line 135 of file Config.h.

◆ read()

virtual void ConfigValue< Interval >::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 128 of file Config.h.

◆ write()

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

Writes the value into a string.

Implements IConfigValue.

Definition at line 122 of file Config.h.


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