Jpp
18.3.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 123 of file JParser.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Assignment to a value.
value | value |
Definition at line 171 of file JParser.hh.
|
inline |
Get clone of this object.
Definition at line 185 of file JParser.hh.
Read option from input.
in | input stream |
object | option |
Definition at line 201 of file JParser.hh.
|
friend |
Write options to output.
out | output stream |
object | option |
Definition at line 220 of file JParser.hh.
|
protected |
Definition at line 230 of file JParser.hh.
|
protected |
Definition at line 231 of file JParser.hh.