Jpp test-rotations-old
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. | |
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. | |
operator const T & () const | |
Type conversion operator. | |
JProxy & | operator= (const JProxy &object) |
Assignment operator. | |
JProxy & | operator= (const T &value) |
Assignment to a value. | |
Protected Attributes | |
T | __value |
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 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.