Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
canvas
canvas
test
Persistency
Provenance
ProcessConfiguration_t.cpp
Go to the documentation of this file.
1
#include "
canvas/Persistency/Provenance/ProcessConfiguration.h
"
2
3
#include <cassert>
4
5
using namespace
std
;
6
7
int
8
main
()
9
{
10
art::ProcessConfiguration
pc1;
11
assert(pc1 == pc1);
12
art::ProcessConfiguration
pc2;
13
assert(pc1 == pc2);
14
#if 0
15
pc2.
processName
() =
"reco2"
;
16
art::ProcessConfiguration
pc3;
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
27
art::ProcessConfiguration
pc4;
28
pc4.
processName
() =
"reco2"
;
29
art::ProcessConfigurationID
id4 = pc4.
id
();
30
assert(pc4 == pc2);
31
assert (id4 == id2);
32
#endif // 0
33
}
std
STL namespace.
art::ProcessConfiguration::id
ProcessConfigurationID id() const
Definition:
ProcessConfiguration.cc:55
ProcessConfiguration.h
art::ProcessConfiguration
Definition:
ProcessConfiguration.h:15
main
int main()
Definition:
ProcessConfiguration_t.cpp:8
art::ProcessConfiguration::processName
std::string const & processName() const noexcept
Definition:
ProcessConfiguration.cc:37
art::Hash
Definition:
Hash.h:32
Generated by
1.8.11