inicpp
C++ parser of INI files with schema validation.
inicpp::option_value< ValueType > Class Template Reference

#include <option.h>

+ Inheritance diagram for inicpp::option_value< ValueType >:

Public Member Functions

 option_value (ValueType value)
 
virtual ~option_value ()
 
ValueType get ()
 
void set (ValueType value)
 

Detailed Description

template<typename ValueType>
class inicpp::option_value< ValueType >

Class which actually stores option value in templated manner. Getter and setter of course provided.

Definition at line 43 of file option.h.

Constructor & Destructor Documentation

template<typename ValueType>
inicpp::option_value< ValueType >::option_value ( ValueType  value)
inline

Construct option_value with given value.

Parameters
valuevalue which will be stored

Definition at line 50 of file option.h.

template<typename ValueType>
virtual inicpp::option_value< ValueType >::~option_value ( )
inlinevirtual

Stated for completion.

Definition at line 56 of file option.h.

Member Function Documentation

template<typename ValueType>
ValueType inicpp::option_value< ValueType >::get ( )
inline

Get this instance internal value.

Returns
returned by value

Definition at line 64 of file option.h.

template<typename ValueType>
void inicpp::option_value< ValueType >::set ( ValueType  value)
inline

Set internal value to given one.

Parameters
value

Definition at line 72 of file option.h.


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