CMS 3D CMS Logo

edm::StatsCount Class Reference

#include <FWCore/MessageLogger/interface/ELmap.h>

List of all members.

Public Member Functions

void add (const ELstring &context, bool reactedTo)
 StatsCount ()

Public Attributes

int aggregateN
ELstring context1
ELstring context2
ELstring contextLast
bool ignoredFlag
int n


Detailed Description

Definition at line 79 of file ELmap.h.


Constructor & Destructor Documentation

edm::StatsCount::StatsCount (  ) 

Definition at line 127 of file ELmap.cc.

00128 : n          ( 0 )
00129 , aggregateN ( 0 )
00130 , ignoredFlag( false )
00131 , context1   ( "" )
00132 , context2   ( "" )
00133 , contextLast( "" )
00134 { }


Member Function Documentation

void edm::StatsCount::add ( const ELstring context,
bool  reactedTo 
)

Definition at line 137 of file ELmap.cc.

References aggregateN, context1, context2, contextLast, ignoredFlag, and n.

00137                                                                  {
00138 
00139   ++n;  ++aggregateN;
00140 
00141   ( (1 == n) ? context1
00142   : (2 == n) ? context2
00143   :            contextLast
00144   )                        = ELstring( context, 0, 16 );
00145 
00146   if ( ! reactedTo )
00147     ignoredFlag = true;
00148 
00149 }  // add()


Member Data Documentation

int edm::StatsCount::aggregateN

Definition at line 84 of file ELmap.h.

Referenced by add().

ELstring edm::StatsCount::context1

Definition at line 86 of file ELmap.h.

Referenced by add().

ELstring edm::StatsCount::context2

Definition at line 87 of file ELmap.h.

Referenced by add().

ELstring edm::StatsCount::contextLast

Definition at line 88 of file ELmap.h.

Referenced by add().

bool edm::StatsCount::ignoredFlag

Definition at line 85 of file ELmap.h.

Referenced by add().

int edm::StatsCount::n

Definition at line 83 of file ELmap.h.

Referenced by add().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:44:23 2009 for CMSSW by  doxygen 1.5.4