#include <TrkHistory.h>
Public Member Functions | |
TrkHistory () | |
TrkHistory (const TrkErrCode &err, const char *modname) | |
TrkHistory (const TrkHistory &other) | |
TrkHistory & | operator= (const TrkHistory &other) |
~TrkHistory () | |
const TrkErrCode & | status () const |
const char * | module () const |
bool | operator== (const TrkHistory &other) const |
void | print (std::ostream &os=std::cout) const |
Private Attributes | |
TrkErrCode | _err |
const char * | _mod |
Definition at line 21 of file TrkHistory.h.
TrkHistory::TrkHistory | ( | ) |
TrkHistory::TrkHistory | ( | const TrkErrCode & | err, | |
const char * | modname | |||
) |
TrkHistory::TrkHistory | ( | const TrkHistory & | other | ) |
TrkHistory::~TrkHistory | ( | ) |
const char* TrkHistory::module | ( | ) | const [inline] |
TrkHistory & TrkHistory::operator= | ( | const TrkHistory & | other | ) |
Definition at line 30 of file TrkHistory.cxx.
References _err, _mod, and EvtCyclic3::other().
00030 { 00031 if(&other != this){ 00032 _err = other._err; 00033 _mod = other._mod; 00034 } 00035 return *this; 00036 }
bool TrkHistory::operator== | ( | const TrkHistory & | other | ) | const |
void TrkHistory::print | ( | std::ostream & | os = std::cout |
) | const |
Referenced by operator<<().
const TrkErrCode& TrkHistory::status | ( | void | ) | const [inline] |
TrkErrCode TrkHistory::_err [private] |
const char* TrkHistory::_mod [private] |