|
Jpp
19.1.0
the software that should make you happy
|
Template specialisation of JProxy for fundamental data type. More...
#include <JParser.hh>
Public Member Functions | |
| JProxy (const std::string &option, const T &value) | |
| Constructor. More... | |
| JProxy (const T &value) | |
| Constructor. More... | |
| const T & | getValue () const |
| Get actual value. More... | |
| const std::string & | getOption () const |
| Get option. More... | |
| const T & | getCustom () const |
| Get custom value. More... | |
| operator const T & () const | |
| Type conversion operator. More... | |
| JProxy & | operator= (const JProxy &object) |
| Assignment operator. More... | |
| JProxy & | operator= (const T &value) |
| Assignment to a value. More... | |
Protected Attributes | |
| T | __value |
| std::string | __option |
| T | __custom |
Friends | |
| std::istream & | operator>> (std::istream &in, JProxy &object) |
| Read option from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JProxy &object) |
| Write options to output. More... | |
Template specialisation of JProxy for fundamental data type.
Definition at line 115 of file JParser.hh.
|
inline |
Constructor.
| option | textual value |
| value | custom value |
Definition at line 124 of file JParser.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Assignment operator.
Note that only the actual value is assigned.
| object | object |
Definition at line 195 of file JParser.hh.
|
inline |
Assignment to a value.
| value | value |
Definition at line 209 of file JParser.hh.
|
friend |
Read option from input.
| in | input stream |
| object | option |
Definition at line 224 of file JParser.hh.
|
friend |
Write options to output.
| out | output stream |
| object | option |
Definition at line 257 of file JParser.hh.
|
protected |
Definition at line 263 of file JParser.hh.
|
protected |
Definition at line 264 of file JParser.hh.
|
protected |
Definition at line 265 of file JParser.hh.