Auxiliary class to handle multiple boolean-like I/O.  
 More...
#include <JParser.hh>
Auxiliary class to handle multiple boolean-like I/O. 
Definition at line 221 of file JParser.hh.
 
  
  
      
        
          | JPARSER::JCounter::JCounter  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | virtual bool JPARSER::JCounter::getStatus  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
 
  
  
      
        
          | bool JPARSER::JCounter::less  | 
          ( | 
          const JCounter &  | 
          value | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Compare value. 
- Parameters
 - 
  
  
 
- Returns
 - true if this counter is less than given value; else false 
 
Definition at line 252 of file JParser.hh.
 
 
  
  
      
        
          | bool JPARSER::JCounter::less  | 
          ( | 
          const int  | 
          value | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Compare value. 
- Parameters
 - 
  
  
 
- Returns
 - true if this counter is less than given value; else false 
 
Definition at line 264 of file JParser.hh.
 
 
  
  
      
        
          | bool JPARSER::JCounter::more  | 
          ( | 
          const int  | 
          value | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Compare value. 
- Parameters
 - 
  
  
 
- Returns
 - true if this counter is more than given value; else false 
 
Definition at line 276 of file JParser.hh.
 
 
  
  
      
        
          | int JPARSER::JCounter::getCounter  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get counter. 
- Returns
 - counter 
 
Definition at line 287 of file JParser.hh.
 
 
  
  
      
        
          | const JCounter& JPARSER::JCounter::operator=  | 
          ( | 
          const bool  | 
          value | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set value. 
Note that no assignment actually takes place but the internal counter is set to one.
- Parameters
 - 
  
  
 
- Returns
 - this object 
 
Definition at line 301 of file JParser.hh.
 
 
  
  
      
        
          | JLANG::JAbstractObjectStatus::operator bool  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Type conversion operator. 
- Returns
 - status of this object 
 
Definition at line 33 of file JAbstractObjectStatus.hh.
virtual bool getStatus() const =0
Get status of object. 
 
 
 
 
  
  
      
        
          | bool JLANG::JAbstractObjectStatus::operator!  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Negated status of this object. 
- Returns
 - negated status of this object 
 
Definition at line 44 of file JAbstractObjectStatus.hh.
virtual bool getStatus() const =0
Get status of object. 
 
 
 
 
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          JCounter &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Read option from input. 
Note that no value actually is read, only the internal counter is incremented.
- Parameters
 - 
  
    | in | input stream  | 
    | object | option  | 
  
   
- Returns
 - input stream 
 
Definition at line 318 of file JParser.hh.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
 
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JCounter &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write options to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | option  | 
  
   
- Returns
 - output stream 
 
Definition at line 333 of file JParser.hh.
  335       out << 
object.counter;
 
 
 
 
  
  
      
        
          | int JPARSER::JCounter::counter | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: