|
Jpp 20.0.0-rc.3
the software that should make you happy
|
Template specialisation of JProxy for non-fundamental data type. More...
#include <JParser.hh>
Public Member Functions | |
| JProxy (const std::string &option, const T &value) | |
| Constructor. | |
| JProxy (const T &value) | |
| Constructor. | |
| const T & | getValue () const |
| Get actual value. | |
| const std::string & | getOption () const |
| Get option. | |
| const T & | getCustom () const |
| Get custom value. | |
| JProxy & | operator= (const JProxy &object) |
| Assignment operator. | |
| JProxy & | operator= (const T &value) |
| Assignment to a value. | |
Protected Attributes | |
| std::string | __option |
| T | __custom |
Friends | |
| std::istream & | operator>> (std::istream &in, JProxy &object) |
| Read option from input. | |
| std::ostream & | operator<< (std::ostream &out, const JProxy &object) |
| Write options to output. | |
Template specialisation of JProxy for non-fundamental data type.
Definition at line 273 of file JParser.hh.
|
inline |
Constructor.
| option | textual value |
| value | custom value |
Definition at line 283 of file JParser.hh.
|
inline |
|
inline |
Get actual value.
Definition at line 307 of file JParser.hh.
|
inline |
|
inline |
|
inline |
Assignment operator.
Note that only the actual value is assigned.
| object | object |
Definition at line 343 of file JParser.hh.
|
inline |
Assignment to a value.
| value | value |
Definition at line 357 of file JParser.hh.
|
friend |
Read option from input.
| in | input stream |
| object | option |
Definition at line 372 of file JParser.hh.
|
friend |
Write options to output.
| out | output stream |
| object | option |
Definition at line 405 of file JParser.hh.
|
protected |
Definition at line 411 of file JParser.hh.
|
protected |
Definition at line 412 of file JParser.hh.