ProcessConfiguration_t.cpp
Go to the documentation of this file.
2 
3 #include <cassert>
4 
5 using namespace std;
6 
7 int
8 main()
9 {
11  assert(pc1 == pc1);
13  assert(pc1 == pc2);
14 #if 0
15  pc2.processName() = "reco2";
17  pc3.processName() = "reco3";
18 
19  art::ProcessConfigurationID id1 = pc1.id();
20  art::ProcessConfigurationID id2 = pc2.id();
21  art::ProcessConfigurationID id3 = pc3.id();
22 
23  assert(id1 != id2);
24  assert(id2 != id3);
25  assert(id3 != id1);
26 
28  pc4.processName() = "reco2";
29  art::ProcessConfigurationID id4 = pc4.id();
30  assert(pc4 == pc2);
31  assert (id4 == id2);
32 #endif // 0
33 }
STL namespace.
ProcessConfigurationID id() const
int main()
std::string const & processName() const noexcept
Definition: Hash.h:32