ProcessTag.h
Go to the documentation of this file.
1 #ifndef art_Framework_Principal_ProcessTag_h
2 #define art_Framework_Principal_ProcessTag_h
3 
4 #include <string>
5 
6 namespace art {
7  class ProcessTag {
8  public:
9  enum class allowed_search {
13  invalid
14  };
15 
16  explicit ProcessTag();
17  explicit ProcessTag(std::string const& specified_process_name);
18 
19  // Only c'tor that creates valid ProcessTag
20  explicit ProcessTag(std::string const& specified_process_name,
21  std::string const& current_process_name);
22  auto const&
23  name() const
24  {
25  return name_;
26  }
27  bool current_process_search_allowed() const;
28  bool input_source_search_allowed() const;
29 
30  private:
33  };
34 }
35 
36 #endif /* art_Framework_Principal_ProcessTag_h */
37 
38 // Local Variables:
39 // mode: c++
40 // End:
std::string string
Definition: nybbler.cc:12
bool input_source_search_allowed() const
Definition: ProcessTag.cc:60
std::string name_
Definition: ProcessTag.h:32
bool current_process_search_allowed() const
Definition: ProcessTag.cc:68
auto const & name() const
Definition: ProcessTag.h:23
allowed_search search_
Definition: ProcessTag.h:31