Jpp
18.6.0-rc.1
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. 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... | |
JProxy & | operator= (const JProxy &object) |
Assignment operator. More... | |
JProxy & | operator= (const T &value) |
Assignment to a value. More... | |
Protected Attributes | |
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 non-fundamental data type.
Definition at line 289 of file JParser.hh.
|
inline |
Constructor.
option | textual value |
value | custom value |
Definition at line 299 of file JParser.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Assignment operator.
Note that only the actual value is assigned.
object | object |
Definition at line 359 of file JParser.hh.
|
inline |
Assignment to a value.
value | value |
Definition at line 373 of file JParser.hh.
|
friend |
Read option from input.
in | input stream |
object | option |
Definition at line 388 of file JParser.hh.
|
friend |
Write options to output.
out | output stream |
object | option |
Definition at line 421 of file JParser.hh.
|
protected |
Definition at line 427 of file JParser.hh.
|
protected |
Definition at line 428 of file JParser.hh.