Jpp
17.0.0-rc.1
the software that should make you happy
|
Auxiliary class to handle optional I/O. More...
#include <JParser.hh>
Public Member Functions | |
JOption () | |
Default constructor. More... | |
JOption (const T &value) | |
Constructor. More... | |
bool | getStatus () const |
Get status. More... | |
operator const T & () const | |
Type conversion operator. More... | |
const JOption< T > & | operator= (const T &value) |
Assignment to a value. More... | |
T * | clone () const |
Get clone of this object. More... | |
Protected Attributes | |
bool | __status |
T | __value |
Friends | |
std::istream & | operator>> (std::istream &in, JOption &object) |
Read option from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JOption &object) |
Write options to output. More... | |
Auxiliary class to handle optional I/O.
Definition at line 106 of file JParser.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Assignment to a value.
value | value |
Definition at line 154 of file JParser.hh.
|
inline |
Get clone of this object.
Definition at line 168 of file JParser.hh.
Read option from input.
in | input stream |
object | option |
Definition at line 184 of file JParser.hh.
|
friend |
Write options to output.
out | output stream |
object | option |
Definition at line 203 of file JParser.hh.
|
protected |
Definition at line 213 of file JParser.hh.
|
protected |
Definition at line 214 of file JParser.hh.