BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkHistory Class Reference

#include <TrkHistory.h>

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
 

Detailed Description

Definition at line 21 of file TrkHistory.h.

Constructor & Destructor Documentation

◆ TrkHistory() [1/3]

TrkHistory::TrkHistory ( )

Definition at line 18 of file TrkHistory.cxx.

18 : _mod("Unknown")
19{}

◆ TrkHistory() [2/3]

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

Definition at line 21 of file TrkHistory.cxx.

21 :
22 _err(err),_mod(modname)
23{}

◆ TrkHistory() [3/3]

TrkHistory::TrkHistory ( const TrkHistory other)

Definition at line 25 of file TrkHistory.cxx.

25 : _err(other._err),
26 _mod(other._mod)
27{}
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ ~TrkHistory()

TrkHistory::~TrkHistory ( )

Definition at line 38 of file TrkHistory.cxx.

39{}

Member Function Documentation

◆ module()

const char * TrkHistory::module ( ) const
inline

Definition at line 30 of file TrkHistory.h.

30{ return _mod; }

Referenced by print().

◆ operator=()

TrkHistory & TrkHistory::operator= ( const TrkHistory other)

Definition at line 30 of file TrkHistory.cxx.

30 {
31 if(&other != this){
32 _err = other._err;
33 _mod = other._mod;
34 }
35 return *this;
36}

◆ operator==()

bool TrkHistory::operator== ( const TrkHistory other) const

Definition at line 42 of file TrkHistory.cxx.

42 {
43 return false;
44}

◆ print()

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

Definition at line 47 of file TrkHistory.cxx.

47 {
48 os << module() << ": " << status();
49}
const TrkErrCode & status() const
Definition: TrkHistory.h:29
const char * module() const
Definition: TrkHistory.h:30

Referenced by operator<<().

◆ status()

const TrkErrCode & TrkHistory::status ( ) const
inline

Definition at line 29 of file TrkHistory.h.

29{ return _err; }

Referenced by print().


The documentation for this class was generated from the following files: