Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Framework
Principal
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
{
10
all_processes
,
11
current_process
,
12
input_source
,
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
:
31
allowed_search
search_
{
allowed_search::invalid
};
32
std::string
name_
{};
33
};
34
}
35
36
#endif
/* art_Framework_Principal_ProcessTag_h */
37
38
// Local Variables:
39
// mode: c++
40
// End:
art::ProcessTag
Definition:
ProcessTag.h:7
string
std::string string
Definition:
nybbler.cc:12
art::ProcessTag::input_source_search_allowed
bool input_source_search_allowed() const
Definition:
ProcessTag.cc:60
art::ProcessTag::name_
std::string name_
Definition:
ProcessTag.h:32
art::ProcessTag::allowed_search
allowed_search
Definition:
ProcessTag.h:9
art::ProcessTag::allowed_search::all_processes
art::ProcessTag::allowed_search::current_process
art::ProcessTag::current_process_search_allowed
bool current_process_search_allowed() const
Definition:
ProcessTag.cc:68
art::ProcessTag::allowed_search::invalid
art::ProcessTag::name
auto const & name() const
Definition:
ProcessTag.h:23
art::ProcessTag::allowed_search::input_source
art::ProcessTag::search_
allowed_search search_
Definition:
ProcessTag.h:31
art
Definition:
BasicOptionsHandler.h:9
art::ProcessTag::ProcessTag
ProcessTag()
Generated by
1.8.11