EvEmu
0.8.4
11 September 2021
|
Parses and stores a value. More...
#include "XMLParserEx.h"
Public Types | |
typedef T | Value |
Type of parsed value. More... | |
Public Member Functions | |
ValueParser (Value &value) | |
Primary constructor. More... | |
bool | Parse (const TiXmlElement *field) |
Parse the value and store it. More... | |
Protected Attributes | |
Value & | mValue |
Reference to storage variable. More... | |
Parses and stores a value.
Definition at line 45 of file XMLParserEx.h.
typedef T XMLParserEx::ValueParser< T >::Value |
Type of parsed value.
Definition at line 144 of file XMLParserEx.h.
|
inline |
Primary constructor.
[in] | value | A variable to which the result is stored. |
Definition at line 151 of file XMLParserEx.h.
|
inline |
Parse the value and store it.
[in] | field | The element to be parsed. |
true | Parsing successful. |
false | Parsing failed. |
Definition at line 164 of file XMLParserEx.h.
References XMLParserEx::ValueParser< T >::mValue, and sLog.
|
protected |
Reference to storage variable.
Definition at line 183 of file XMLParserEx.h.
Referenced by XMLParserEx::ValueParser< T >::Parse().