| 
    Jpp
    15.0.2
    
   the software that should make you happy 
   | 
 
Auxiliary class for handling status. More...
#include <JStatus.hh>
  
 Public Member Functions | |
| JStatus () | |
| Default constructor.  More... | |
| JStatus (const int status) | |
| Constructor.  More... | |
| const JStatus & | getStatus () const | 
| Get status.  More... | |
| JStatus & | getStatus () | 
| Get status.  More... | |
| void | setStatus (const JStatus &status) | 
| Set status.  More... | |
| bool | equals (const JStatus &status) const | 
| Equal method.  More... | |
| bool | has (const int bit) const | 
| Test PMT status.  More... | |
| void | set (const int bit) | 
| Set PMT status.  More... | |
| void | reset (const int bit) | 
| Reset PMT status.  More... | |
Protected Attributes | |
| int | status | 
Friends | |
| std::istream & | operator>> (std::istream &in, JStatus &status) | 
| Read status from input.  More... | |
| std::ostream & | operator<< (std::ostream &out, const JStatus &status) | 
| Write status to output.  More... | |
| JReader & | operator>> (JReader &in, JStatus &status) | 
| Read status from input.  More... | |
| JWriter & | operator<< (JWriter &out, const JStatus &status) | 
| Write status to output.  More... | |
Auxiliary class for handling status.
The various status are controlled using a bitwise data field.
The corresponding bits can externally be defined (e.g. via an enumeration). 
Definition at line 37 of file JStatus.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 43 of file JStatus.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Equal method.
| status | status | 
Definition at line 97 of file JStatus.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  friend | 
Read status from input.
| in | input stream | 
| status | status | 
Definition at line 143 of file JStatus.hh.
      
  | 
  friend | 
Write status to output.
| out | output stream | 
| status | status | 
Definition at line 156 of file JStatus.hh.
Read status from input.
| in | reader | 
| status | status | 
Definition at line 169 of file JStatus.hh.
Write status to output.
| out | writer | 
| status | status | 
Definition at line 182 of file JStatus.hh.
      
  | 
  protected | 
Definition at line 188 of file JStatus.hh.
 1.8.5