DumpMomModule Class Reference
[DataUtil]

A JobControl module which will call DataUtil::dump_mom() and dump the contents of the MomNavigator to cerr. More...

#include <DumpMomModule.h>

Inheritance diagram for DumpMomModule:
JobCModule

List of all members.

Public Member Functions

 DumpMomModule ()
JobCResult Ana (const MomNavigator *mom)

Private Attributes

int fCount

Detailed Description

A JobControl module which will call DataUtil::dump_mom() and dump the contents of the MomNavigator to cerr.

Author:
(last to touch it)
Author
bv
Version:
Revision
1.2
Date:
Date
2005/04/15 14:50:02

Contact: bv@bnl.gov

Created on: Mon Dec 9 14:57:19 2002

Id
DumpMomModule.h,v 1.2 2005/04/15 14:50:02 bv Exp

Definition at line 27 of file DumpMomModule.h.


Constructor & Destructor Documentation

DumpMomModule::DumpMomModule (  ) 

Definition at line 10 of file DumpMomModule.cxx.

00011     : fCount (0)
00012 {
00013 }


Member Function Documentation

JobCResult DumpMomModule::Ana ( const MomNavigator mom  )  [virtual]

Implement this for read only access to the MomNavigator

Reimplemented from JobCModule.

Definition at line 15 of file DumpMomModule.cxx.

References DataUtil::dump_mom(), fCount, and JobCResult::kAOK.

00016 {
00017     ++fCount;
00018     cerr << "[" << fCount << "]: ";
00019     if (!DataUtil::dump_mom(mom,cerr)) 
00020         cerr << "Failed to dump mom\n";
00021     return JobCResult::kAOK;
00022 }


Member Data Documentation

int DumpMomModule::fCount [private]

Definition at line 29 of file DumpMomModule.h.

Referenced by Ana().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1