CMS 3D CMS Logo

EnvVerbosity< Tag > Class Template Reference

a trivial verbosity switch More...

#include <Utilities/General/interface/GeneralVerbosity.h>

List of all members.

Static Public Member Functions

static bool on ()
static bool on ()
static void quiet ()
static void quiet ()
static bool silent ()
static bool silent ()
static void switchOff ()
static void switchOff ()
static void switchOn ()
static void switchOn ()

Private Member Functions

 EnvVerbosity ()
 EnvVerbosity ()

Static Private Member Functions

static envSwitchme ()
static envSwitchme ()
static envSwitchsilence ()
static envSwitchsilence ()


Detailed Description

template<typename Tag>
class EnvVerbosity< Tag >

a trivial verbosity switch

Definition at line 9 of file GeneralVerbosity.h.


Constructor & Destructor Documentation

template<typename Tag>
EnvVerbosity< Tag >::EnvVerbosity (  )  [inline, private]

Definition at line 25 of file GeneralVerbosity.h.

00025 {}

template<typename Tag>
EnvVerbosity< Tag >::EnvVerbosity (  )  [inline, private]

Definition at line 31 of file GenUtilVerbosity.h.

00031 {}


Member Function Documentation

template<typename Tag>
static envSwitch& EnvVerbosity< Tag >::me (  )  [static, private]

envSwitch & GenUtilVerbosity::me (  )  [inline, static, private]

Definition at line 6 of file GeneralVerbosity.cc.

References edm::es::l().

Referenced by EnvVerbosity< Tag >::on(), EnvVerbosity< Tag >::quiet(), EnvVerbosity< Tag >::switchOff(), and EnvVerbosity< Tag >::switchOn().

00006                                  {
00007   static envSwitch l("GenUtilVerbose");
00008   return l;
00009 }

template<typename Tag>
static bool EnvVerbosity< Tag >::on (  )  [inline, static]

Definition at line 18 of file GenUtilVerbosity.h.

References EnvVerbosity< Tag >::me().

00018                    { 
00019     return me();
00020   }

template<typename Tag>
static bool EnvVerbosity< Tag >::on (  )  [inline, static]

Definition at line 12 of file GeneralVerbosity.h.

References EnvVerbosity< Tag >::me().

00012                    { 
00013     return me();
00014   }

template<typename Tag>
static void EnvVerbosity< Tag >::quiet (  )  [inline, static]

Definition at line 28 of file GenUtilVerbosity.h.

References EnvVerbosity< Tag >::me(), and EnvVerbosity< Tag >::silence().

00028 { silence()=true; me()=false;}

template<typename Tag>
static void EnvVerbosity< Tag >::quiet (  )  [inline, static]

Definition at line 22 of file GeneralVerbosity.h.

References EnvVerbosity< Tag >::me(), and EnvVerbosity< Tag >::silence().

00022 { silence()=true; me()=false;}

template<typename Tag>
static envSwitch& EnvVerbosity< Tag >::silence (  )  [static, private]

envSwitch & GenUtilVerbosity::silence (  )  [inline, static, private]

Definition at line 12 of file GeneralVerbosity.cc.

References edm::es::l().

Referenced by EnvVerbosity< Tag >::quiet(), EnvVerbosity< Tag >::silent(), and EnvVerbosity< Tag >::switchOn().

00012                                       {
00013   static envSwitch l("GenUtilSilent");
00014   return l;
00015 }

template<typename Tag>
static bool EnvVerbosity< Tag >::silent (  )  [inline, static]

Definition at line 22 of file GenUtilVerbosity.h.

References EnvVerbosity< Tag >::silence().

00022                        { 
00023     return silence();
00024   }

template<typename Tag>
static bool EnvVerbosity< Tag >::silent (  )  [inline, static]

Definition at line 16 of file GeneralVerbosity.h.

References EnvVerbosity< Tag >::silence().

Referenced by TSqueueConsumer< X, C >::abort(), ConfigurationRecord::parse(), TSqueueConsumer< X, C >::run(), TSqueueConsumer< X, C >::terminate(), and TSqueueConsumer< X, C >::wait().

00016                        { 
00017     return silence();
00018   }

template<typename Tag>
static void EnvVerbosity< Tag >::switchOff (  )  [inline, static]

Definition at line 27 of file GenUtilVerbosity.h.

References EnvVerbosity< Tag >::me().

00027 { me()=false;}

template<typename Tag>
static void EnvVerbosity< Tag >::switchOff (  )  [inline, static]

Definition at line 21 of file GeneralVerbosity.h.

References EnvVerbosity< Tag >::me().

00021 { me()=false;}

template<typename Tag>
static void EnvVerbosity< Tag >::switchOn (  )  [inline, static]

Definition at line 26 of file GenUtilVerbosity.h.

References EnvVerbosity< Tag >::me(), and EnvVerbosity< Tag >::silence().

00026 { me()=true; silence()=false;}

template<typename Tag>
static void EnvVerbosity< Tag >::switchOn (  )  [inline, static]

Definition at line 20 of file GeneralVerbosity.h.

References EnvVerbosity< Tag >::me(), and EnvVerbosity< Tag >::silence().

00020 { me()=true; silence()=false;}


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