| Jpp
    17.2.1-pre0
    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... | |
| int | getStatus () const | 
| Get status.  More... | |
| JStatus & | getStatus () | 
| Get status.  More... | |
| int | getStatus (const int mask) const | 
| 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 | 
| 
 | inline | 
Equal method.
| status | status | 
Definition at line 109 of file JStatus.hh.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | friend | 
Read status from input.
| in | input stream | 
| status | status | 
Definition at line 155 of file JStatus.hh.
| 
 | friend | 
Write status to output.
| out | output stream | 
| status | status | 
Definition at line 168 of file JStatus.hh.
Read status from input.
| in | reader | 
| status | status | 
Definition at line 181 of file JStatus.hh.
Write status to output.
| out | writer | 
| status | status | 
Definition at line 194 of file JStatus.hh.
| 
 | protected | 
Definition at line 200 of file JStatus.hh.
 1.8.5
 1.8.5