LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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.

References name_.

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

auto const& art::ProcessTag::name ( ) const
inline

Definition at line 23 of file ProcessTag.h.

References current_process_search_allowed(), input_source_search_allowed(), and name_.

Referenced by art::Principal::getByLabel(), and art::ProductRetriever::getContainerForView_().

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.

Referenced by name(), and ProcessTag().

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

Definition at line 31 of file ProcessTag.h.

Referenced by current_process_search_allowed(), and input_source_search_allowed().


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