Jpp
|
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 103 of file JParser.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Assignment to a value.
value | value |
Definition at line 151 of file JParser.hh.
|
inline |
Get clone of this object.
Definition at line 165 of file JParser.hh.
|
friend |
Read option from input.
in | input stream |
object | option |
Definition at line 181 of file JParser.hh.
|
friend |
Write options to output.
out | output stream |
object | option |
Definition at line 200 of file JParser.hh.
|
protected |
Definition at line 210 of file JParser.hh.
|
protected |
Definition at line 211 of file JParser.hh.