BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
AbsEvtObj.cxx
Go to the documentation of this file.
1// File and Version Information:
2// $Id: AbsEvtObj.cxx,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
3//
4// Description:
5// implementation for AbsEvtObj class
6//
7//
8// Author List:
9// Bob Jacobsen
10//
11//
12//------------------------------------------------------------------------
13
14//#include "BaBar/BaBar.hh"
15
16//-----------------------
17// This Class's Header --
18//-----------------------
19#include <assert.h>
20#include "TrkBase/AbsEvtObj.h"
21#include <iostream>
22using std::cout;
23using std::endl;
24using std::ostream;
25
26// ----------------------------------------
27// -- Public Function Member Definitions --
28// ----------------------------------------
29
30//--------------
31// Destructor --
32//--------------
34
35void AbsEvtObj::print(ostream& ) const {
36 // single line print; this is a default behavior
37 cout << "(AbsEvtObj print() called with no override; this is an error!)";
38}
39
40void AbsEvtObj::printAll(ostream& ) const {
41 // single line print; this is a default behavior
42 cout << "AbsEvtObj printAll() called with no override; this is an error!"<<endl;
43}
44
45
46ostream& operator << (ostream& o, const AbsEvtObj& a) {a.print(o); return o;}
47
48
ostream & operator<<(ostream &o, const AbsEvtObj &a)
Definition: AbsEvtObj.cxx:46
virtual void printAll(std::ostream &o) const
Definition: AbsEvtObj.cxx:40
virtual ~AbsEvtObj()
Definition: AbsEvtObj.cxx:33
virtual void print(std::ostream &o) const
Definition: AbsEvtObj.cxx:35