CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

ZMexClassInfo.cc
Go to the documentation of this file.
1 // ----------------------------------------------------------------------
2 //
3 // ZMexClassInfo.cc
4 //
5 // Contains the following methods:
6 //
7 // ZMexClassInfo()
8 //
9 // Revision History
10 // 011212 WEB Initial version w/ constructor no longer inline;
11 // add new 3- and 4-arg constructors in lieu of a
12 // single 5-arg constructor taking default arguments
13 //
14 // ----------------------------------------------------------------------
15 
16 
18 
19 
20 namespace zmex {
21 
22 
23 // ZMexClassInfo()
24 //------------------
25 
27  const std::string & nname
28 , const std::string & ffacility
29 , const ZMexSeverity s
30 ) :
31  count_ ( 0 )
32 , filterMax_( -1 )
33 , name_ ( nname )
34 , facility_ ( ffacility )
35 , severity_ ( s )
36 , handler_ ( ZMexHandleViaParent() )
37 , logger_ ( ZMexLogViaParent() )
38 {
39 }
40 
42  const std::string & nname
43 , const std::string & ffacility
44 , const ZMexSeverity s
45 , const ZMexHandler & h
46 ) :
47  count_ ( 0 )
48 , filterMax_( -1 )
49 , name_ ( nname )
50 , facility_ ( ffacility )
51 , severity_ ( s )
52 , handler_ ( h )
53 , logger_ ( ZMexLogViaParent() )
54 {
55 }
56 
58  const std::string & nname
59 , const std::string & ffacility
60 , const ZMexSeverity s
61 , const ZMexHandler & h
62 , const ZMexLogger & l
63 ) :
64  count_ ( 0 )
65 , filterMax_( -1 )
66 , name_ ( nname )
67 , facility_ ( ffacility )
68 , severity_ ( s )
69 , handler_ ( h )
70 , logger_ ( l )
71 {
72 }
73 
74 
75 } // namespace zmex
ZMexClassInfo(const std::string &name, const std::string &facility, const ZMexSeverity s=ZMexERROR)