Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:08

0001 // -*- C++ -*-
0002 //
0003 // Package:     Framework
0004 // Class  :     DataKeyTags
0005 //
0006 // Implementation:
0007 //     <Notes on implementation>
0008 //
0009 // Author:      Chris Jones
0010 // Created:     Thu Mar 31 14:25:33 EST 2005
0011 //
0012 
0013 // system include files
0014 #include <cstring>
0015 
0016 // user include files
0017 #include "FWCore/Framework/interface/DataKeyTags.h"
0018 
0019 //
0020 // constants, enums and typedefs
0021 //
0022 namespace edm {
0023   namespace eventsetup {
0024     //
0025     // static data member definitions
0026     //
0027 
0028     //
0029     // constructors and destructor
0030 
0031     //
0032     // assignment operators
0033     //
0034     // const DataKeyTags& DataKeyTags::operator=(const DataKeyTags& rhs)
0035     // {
0036     //   //An exception safe implementation is
0037     //   DataKeyTags temp(rhs);
0038     //   swap(rhs);
0039     //
0040     //   return *this;
0041     // }
0042 
0043     //
0044     // member functions
0045     //
0046 
0047     //
0048     // const member functions
0049     //
0050     bool SimpleStringTag::operator==(const SimpleStringTag& iRHS) const { return (0 == std::strcmp(tag_, iRHS.tag_)); }
0051 
0052     bool SimpleStringTag::operator<(const SimpleStringTag& iRHS) const { return (0 > std::strcmp(tag_, iRHS.tag_)); }
0053 
0054     //
0055     // static member functions
0056     //
0057   }  // namespace eventsetup
0058 }  // namespace edm