|
|||
|
|||
|
#include <configreader.h>
Inheritance diagram for ValueContainer< T >:


Public Member Functions | |
| ValueContainer () | |
| Initialize with nothing. | |
| ValueContainer (T Val) | |
| Initialize with a value of type T. | |
| void | Set (T newval, size_t s) |
| Change value to type T of size s. | |
Private Attributes | |
| T | val |
| Contained item. | |
It is specialized to hold a data type, then pointed at a value in the ServerConfig class. When the value has been read and validated, the Set method is called to write the value safely in a type-safe manner.
Definition at line 108 of file configreader.h.
|
|||||||||
|
Initialize with nothing.
Definition at line 115 of file configreader.h. References ValueContainer< T >::val. |
|
||||||||||
|
Initialize with a value of type T.
Definition at line 121 of file configreader.h. References ValueContainer< T >::val. |
|
||||||||||||||||
|
Change value to type T of size s.
Definition at line 127 of file configreader.h. References ValueContainer< T >::val. Referenced by ServerConfig::Read(). |
|
|||||
|
Contained item.
Definition at line 111 of file configreader.h. Referenced by ValueContainer< T >::Set(), and ValueContainer< T >::ValueContainer(). |