CMS 3D CMS Logo

DataKeyTags.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Framework
4 // Class : DataKeyTags
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Author: Chris Jones
10 // Created: Thu Mar 31 14:25:33 EST 2005
11 //
12 
13 // system include files
14 #include <cstring>
15 
16 // user include files
18 
19 //
20 // constants, enums and typedefs
21 //
22 namespace edm {
23  namespace eventsetup {
24  //
25  // static data member definitions
26  //
27 
28  //
29  // constructors and destructor
30 
31  //
32  // assignment operators
33  //
34  // const DataKeyTags& DataKeyTags::operator=(const DataKeyTags& rhs)
35  // {
36  // //An exception safe implementation is
37  // DataKeyTags temp(rhs);
38  // swap(rhs);
39  //
40  // return *this;
41  // }
42 
43  //
44  // member functions
45  //
46 
47  //
48  // const member functions
49  //
50  bool SimpleStringTag::operator==(const SimpleStringTag& iRHS) const { return (0 == std::strcmp(tag_, iRHS.tag_)); }
51 
52  bool SimpleStringTag::operator<(const SimpleStringTag& iRHS) const { return (0 > std::strcmp(tag_, iRHS.tag_)); }
53 
54  //
55  // static member functions
56  //
57  } // namespace eventsetup
58 } // namespace edm
bool operator==(const SimpleStringTag &iRHS) const
Definition: DataKeyTags.cc:50
HLT enums.
bool operator<(const SimpleStringTag &iRHS) const
Definition: DataKeyTags.cc:52