CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ELset.h
Go to the documentation of this file.
1 #ifndef FWCore_MessageService_ELset_h
2 #define FWCore_MessageService_ELset_h
3 
4 
5 // ----------------------------------------------------------------------
6 //
7 // ELset.h Provides a set class with the semantics of std::set.
8 // Customizers may substitute for this class to provide either
9 // a set with a different allocator, or whatever else.
10 //
11 // The following elements of set semantics are relied upon:
12 // insert()
13 // clear()
14 // find() which returns an iterator which may or may not be .end()
15 //
16 // ----------------------------------------------------------------------
17 
19 
20 #include <set>
21 
22 
23 namespace edm {
24 namespace service {
25 
26 
27 struct ELsetS {
29  ELsetS (const std::string & ss) : s(ss) {}
30  bool operator< (const ELsetS & t) const { return (s<t.s); }
31 };
32 
33 typedef std::set<ELsetS> ELset_string;
34 
35 // ----------------------------------------------------------------------
36 
37 
38 } // end of namespace service
39 } // end of namespace edm
40 
41 
42 #endif // FWCore_MessageService_ELset_h
tuple t
Definition: tree.py:139
ELsetS(const std::string &ss)
Definition: ELset.h:29
std::string s
Definition: ELset.h:28
std::set< ELsetS > ELset_string
Definition: ELset.h:33
bool operator<(const ELsetS &t) const
Definition: ELset.h:30