|  | Belle II Software
    release-08-03-00
    | 
abstract errorocode be aware that the default is success More...
#include <ErrCode.h>
| Public Types | |
| enum | Status { success = 0 , pocafailure = 1 , baddistance = 2 , inversionerror = 4 , badsetup = 8 , divergingconstraint = 16 , slowdivergingfit = 32 , fastdivergingfit = 64 , filtererror = 128 , photondimerror = 256 , klongdimerror = 512 } | 
| some enums to store errors | |
| Public Member Functions | |
| ErrCode () | |
| default constructor | |
| ErrCode (Status flag) | |
| constructor | |
| const ErrCode & | operator|= (const ErrCode &rhs) | 
| operator | |
| bool | operator== (const ErrCode &rhs) const | 
| operator | |
| bool | operator== (const ErrCode::Status &rhs) const | 
| operator | |
| void | reset () | 
| reset the errorcode to default (success!) | |
| bool | failure () const | 
| returns true if errorcode is error | |
| unsigned int | flag () const | 
| get errorcode | |
| Private Attributes | |
| unsigned int | m_flag | 
| storing the errorcode | |