| 
    Jpp
    
   | 
 
Auxiliary class to handle multiple boolean-like I/O. More...
#include <JParser.hh>
  
 Public Member Functions | |
| JCounter () | |
| Default constructor.  More... | |
| virtual bool | getStatus () const | 
| Get status of this counter.  More... | |
| bool | less (const JCounter &value) const | 
| Compare value.  More... | |
| bool | less (const int value) const | 
| Compare value.  More... | |
| bool | more (const int value) const | 
| Compare value.  More... | |
| int | getCounter () const | 
| Get counter.  More... | |
| const JCounter & | operator= (const bool value) | 
| Set value.  More... | |
| operator bool () const | |
| Type conversion operator.  More... | |
| bool | operator! () const | 
| Negated status of this object.  More... | |
Protected Attributes | |
| int | counter | 
Friends | |
| std::istream & | operator>> (std::istream &in, JCounter &object) | 
| Read option from input.  More... | |
| std::ostream & | operator<< (std::ostream &out, const JCounter &object) | 
| Write options to output.  More... | |
Auxiliary class to handle multiple boolean-like I/O.
Definition at line 218 of file JParser.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 227 of file JParser.hh.
      
  | 
  inlinevirtual | 
Get status of this counter.
Implements JLANG::JAbstractObjectStatus.
Definition at line 237 of file JParser.hh.
      
  | 
  inline | 
Compare value.
| value | value | 
Definition at line 249 of file JParser.hh.
      
  | 
  inline | 
Compare value.
| value | value | 
Definition at line 261 of file JParser.hh.
      
  | 
  inline | 
Compare value.
| value | value | 
Definition at line 273 of file JParser.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Set value.
Note that no assignment actually takes place but the internal counter is set to one.
| value | value | 
Definition at line 298 of file JParser.hh.
      
  | 
  inlineinherited | 
Type conversion operator.
Definition at line 33 of file JAbstractObjectStatus.hh.
      
  | 
  inlineinherited | 
Negated status of this object.
Definition at line 44 of file JAbstractObjectStatus.hh.
      
  | 
  friend | 
Read option from input.
Note that no value actually is read, only the internal counter is incremented.
| in | input stream | 
| object | option | 
Definition at line 315 of file JParser.hh.
      
  | 
  friend | 
Write options to output.
| out | output stream | 
| object | option | 
Definition at line 330 of file JParser.hh.
      
  | 
  protected | 
Definition at line 338 of file JParser.hh.
 1.8.5