History.cc
Go to the documentation of this file.
2 // vim: set sw=2 expandtab :
3 
4 namespace art {
5 
7  History::size() const noexcept
8  {
9  return eventSelections_.size();
10  }
11 
12  void
14  {
15  eventSelections_.push_back(eventSelection);
16  }
17 
18  EventSelectionID const&
20  {
21  return eventSelections_[i];
22  }
23 
26  {
27  return eventSelections_;
28  }
29 
30  ProcessHistoryID const&
32  {
33  return processHistoryID_;
34  }
35 
36  void
38  {
39  processHistoryID_ = phid;
40  }
41 
42 } // namespace art
EventSelectionIDVector eventSelections_
Definition: History.h:32
void setProcessHistoryID(ProcessHistoryID const &phid)
Definition: History.cc:37
ProcessHistoryID processHistoryID_
Definition: History.h:33
size_type size() const noexcept
Definition: History.cc:7
EventSelectionIDVector const & eventSelectionIDs() const noexcept
Definition: History.cc:25
std::vector< EventSelectionID > EventSelectionIDVector
void addEventSelectionEntry(EventSelectionID const &eventSelection)
Definition: History.cc:13
std::size_t size_type
Definition: History.h:19
ProcessHistoryID const & processHistoryID() const noexcept
Definition: History.cc:31
EventSelectionID const & getEventSelectionID(size_type i) const noexcept
Definition: History.cc:19