TrkHistory Class Reference

#include <TrkHistory.h>

List of all members.

Public Member Functions

 TrkHistory ()
 TrkHistory (const TrkErrCode &err, const char *modname)
 TrkHistory (const TrkHistory &other)
TrkHistoryoperator= (const TrkHistory &other)
 ~TrkHistory ()
const TrkErrCodestatus () 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


Detailed Description

Definition at line 21 of file TrkHistory.h.


Constructor & Destructor Documentation

TrkHistory::TrkHistory (  ) 

Definition at line 18 of file TrkHistory.cxx.

00018                        : _mod("Unknown")
00019 {}

TrkHistory::TrkHistory ( const TrkErrCode err,
const char *  modname 
)

Definition at line 21 of file TrkHistory.cxx.

00021                                                                :
00022   _err(err),_mod(modname)
00023 {}

TrkHistory::TrkHistory ( const TrkHistory other  ) 

Definition at line 25 of file TrkHistory.cxx.

00025                                               : _err(other._err),
00026                                                   _mod(other._mod)
00027 {}

TrkHistory::~TrkHistory (  ) 

Definition at line 38 of file TrkHistory.cxx.

00039 {}


Member Function Documentation

const char* TrkHistory::module (  )  const [inline]

Definition at line 30 of file TrkHistory.h.

References _mod.

00030 { return _mod; }

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

Definition at line 42 of file TrkHistory.cxx.

00042                                                       {
00043   return false;
00044 }

void TrkHistory::print ( std::ostream os = std::cout  )  const

Referenced by operator<<().

const TrkErrCode& TrkHistory::status ( void   )  const [inline]

Definition at line 29 of file TrkHistory.h.

References _err.

00029 { return _err; }


Member Data Documentation

TrkErrCode TrkHistory::_err [private]

Definition at line 34 of file TrkHistory.h.

Referenced by operator=(), and status().

const char* TrkHistory::_mod [private]

Definition at line 35 of file TrkHistory.h.

Referenced by module(), and operator=().


Generated on Tue Nov 29 23:36:14 2016 for BOSS_7.0.2 by  doxygen 1.4.7