#include <cfg_var.h>

Public Member Functions | |
| cfg_obj (const GUID &guid) | |
| template<typename TInitData> | |
| cfg_obj (const GUID &guid, const TInitData &initData) | |
| TObj & | val () |
| TObj const & | val () const |
| void | get_data_raw (stream_writer *p_stream, abort_callback &p_abort) |
| void | set_data_raw (stream_reader *p_stream, t_size p_sizehint, abort_callback &p_abort) |
| cfg_obj< TObj >::cfg_obj | ( | const GUID & | guid, | |
| const TInitData & | initData | |||
| ) | [inline] |
| TObj& cfg_obj< TObj >::val | ( | ) | [inline] |
| TObj const& cfg_obj< TObj >::val | ( | ) | const [inline] |
| void cfg_obj< TObj >::get_data_raw | ( | stream_writer * | p_stream, | |
| abort_callback & | p_abort | |||
| ) | [inline, virtual] |
Retrieves state of the variable. Called only from main thread, when writing configuration file.
| p_stream | Stream receiving state of the variable. |
Implements cfg_var_writer.
| void cfg_obj< TObj >::set_data_raw | ( | stream_reader * | p_stream, | |
| t_size | p_sizehint, | |||
| abort_callback & | p_abort | |||
| ) | [inline, virtual] |
Sets state of the variable. Called only from main thread, when reading configuration file.
| p_stream | Stream containing new state of the variable. | |
| p_sizehint | Number of bytes contained in the stream; reading past p_sizehint bytes will fail (EOF). |
Implements cfg_var_reader.
1.5.5