CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HLTConfigCounter Class Reference

#include <HLTConfigCounter.h>

Public Member Functions

long decrement ()
 
 HLTConfigCounter ()
 
long increment ()
 

Private Attributes

long count_
 

Detailed Description

Definition at line 4 of file HLTConfigCounter.h.

Constructor & Destructor Documentation

HLTConfigCounter::HLTConfigCounter ( )
inline

Definition at line 8 of file HLTConfigCounter.h.

8 : count_(0) {}

Member Function Documentation

long HLTConfigCounter::decrement ( )
inline

Definition at line 11 of file HLTConfigCounter.h.

References count_.

11 { count_--; return count_; }
long HLTConfigCounter::increment ( )
inline

Definition at line 10 of file HLTConfigCounter.h.

References count_.

10 { count_++; return count_; }

Member Data Documentation

long HLTConfigCounter::count_
private

Definition at line 15 of file HLTConfigCounter.h.

Referenced by decrement(), and increment().