Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
messagefacility
messagefacility
Utilities
ELset.h
Go to the documentation of this file.
1
#ifndef messagefacility_Utilities_ELset_h
2
#define messagefacility_Utilities_ELset_h
3
4
// ----------------------------------------------------------------------
5
//
6
// ELset.h Provides a set class with the semantics of std::set.
7
// Customizers may substitute for this class to provide either
8
// a set with a different allocator, or whatever else.
9
//
10
// The following elements of set semantics are relied upon:
11
// insert()
12
// clear()
13
// find() which returns an iterator which may or may not be .end()
14
//
15
// ----------------------------------------------------------------------
16
17
#include <set>
18
#include <string>
19
20
namespace
mf
{
21
namespace
service
{
22
23
struct
ELsetS
{
24
std::string
s
;
25
ELsetS
(
std::string
const
& ss) : s{ss} {}
26
bool
27
operator<
(
ELsetS
const
&
t
)
const
28
{
29
return
(s < t.
s
);
30
}
31
};
32
33
using
ELset_string
= std::set<ELsetS>;
34
}
35
}
36
37
#endif
/* messagefacility_Utilities_ELset_h */
38
39
// Local variables:
40
// mode: c++
41
// End:
generate_CCQE_events.t
t
Definition:
generate_CCQE_events.py:68
string
std::string string
Definition:
nybbler.cc:12
mf
Definition:
MessageLogger.cc:14
mf::service::ELsetS::s
std::string s
Definition:
ELset.h:24
mf::service::ELsetS::operator<
bool operator<(ELsetS const &t) const
Definition:
ELset.h:27
mf::service::ELset_string
std::set< ELsetS > ELset_string
Definition:
ELset.h:33
mf::service::ELsetS::ELsetS
ELsetS(std::string const &ss)
Definition:
ELset.h:25
mf::service::ELsetS
Definition:
ELset.h:23
art::suffix_type::service
Generated by
1.8.11