Public Types | Public Member Functions | Private Attributes | List of all members
art::ProcessTag Class Reference

#include <ProcessTag.h>

Public Types

enum  allowed_search { allowed_search::all_processes, allowed_search::current_process, allowed_search::input_source, allowed_search::invalid }
 

Public Member Functions

 ProcessTag ()
 
 ProcessTag (std::string const &specified_process_name)
 
 ProcessTag (std::string const &specified_process_name, std::string const &current_process_name)
 
auto const & name () const
 
bool current_process_search_allowed () const
 
bool input_source_search_allowed () const
 

Private Attributes

allowed_search search_ {allowed_search::invalid}
 
std::string name_ {}
 

Detailed Description

Definition at line 7 of file ProcessTag.h.

Member Enumeration Documentation

Enumerator
all_processes 
current_process 
input_source 
invalid 

Definition at line 9 of file ProcessTag.h.

9  {
10  all_processes,
11  current_process,
12  input_source,
13  invalid
14  };

Constructor & Destructor Documentation

art::ProcessTag::ProcessTag ( )
explicitdefault
art::ProcessTag::ProcessTag ( std::string const &  specified_process_name)
explicit

Definition at line 49 of file ProcessTag.cc.

50  : name_{specified_name}
51 {}
std::string name_
Definition: ProcessTag.h:32
art::ProcessTag::ProcessTag ( std::string const &  specified_process_name,
std::string const &  current_process_name 
)
explicit

Definition at line 53 of file ProcessTag.cc.

55  : search_{allowed_search_policy(specified_name, current_process_name)}
56  , name_{process_name(specified_name, current_process_name)}
57 {}
std::string name_
Definition: ProcessTag.h:32
allowed_search search_
Definition: ProcessTag.h:31

Member Function Documentation

bool art::ProcessTag::current_process_search_allowed ( ) const
bool art::ProcessTag::input_source_search_allowed ( ) const
auto const& art::ProcessTag::name ( ) const
inline

Definition at line 23 of file ProcessTag.h.

24  {
25  return name_;
26  }
std::string name_
Definition: ProcessTag.h:32

Member Data Documentation

std::string art::ProcessTag::name_ {}
private

Definition at line 32 of file ProcessTag.h.

allowed_search art::ProcessTag::search_ {allowed_search::invalid}
private

Definition at line 31 of file ProcessTag.h.


The documentation for this class was generated from the following files: