CMS 3D CMS Logo

SilentMLscribe.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: MessageLogger
4 // Class : SilentMLscribe
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Chris Jones
10 // Created: Thu Jul 30 09:57:57 CDT 2009
11 //
12 
13 // system include files
14 
15 // user include files
18 
19 namespace edm {
20  namespace service {
21 
22 //
23 // constants, enums and typedefs
24 //
25 
26 //
27 // static data member definitions
28 //
29 
30 //
31 // constructors and destructor
32 //
34  {
35  }
36 
37 // SilentMLscribe::SilentMLscribe(const SilentMLscribe& rhs)
38 // {
39 // // do actual copying here;
40 // }
41 
43  {
44  }
45 
46 //
47 // assignment operators
48 //
49 // const SilentMLscribe& SilentMLscribe::operator=(const SilentMLscribe& rhs)
50 // {
51 // //An exception safe implementation is
52 // SilentMLscribe temp(rhs);
53 // swap(rhs);
54 //
55 // return *this;
56 // }
57 
58 //
59 // member functions
60 //
61  void
63  //even though we don't print, have to clean up memory
64  switch (opcode) {
66  ErrorObj * errorobj_p = static_cast<ErrorObj *>(operand);
67  delete errorobj_p;
68  break;
69  }
72  {
73  std::string* string_p = static_cast<std::string*> (operand);
74  delete string_p;
75  break;
76  }
77  default:
78  break;
79  }
80  }
81 
82 //
83 // const member functions
84 //
85 
86 //
87 // static member functions
88 //
89  }
90 }
void runCommand(MessageLoggerQ::OpCode opcode, void *operand) override
HLT enums.