LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::OptionsHandler Class Referenceabstract

#include "OptionsHandler.h"

Inheritance diagram for art::OptionsHandler:
art::BasicOptionsHandler art::BasicOutputOptionsHandler art::BasicPostProcessor art::BasicSourceOptionsHandler art::DebugOptionsHandler art::FileCatalogOptionsHandler art::ProcessingOptionsHandler

Public Member Functions

virtual ~OptionsHandler ()=default
 
int checkOptions (bpo::variables_map const &vm)
 
int processOptions (bpo::variables_map const &vm, fhicl::intermediate_table &raw_config)
 

Private Member Functions

virtual int doCheckOptions (bpo::variables_map const &vm)=0
 
virtual int doProcessOptions (bpo::variables_map const &vm, fhicl::intermediate_table &raw_config)=0
 

Detailed Description

Definition at line 13 of file OptionsHandler.h.

Constructor & Destructor Documentation

virtual art::OptionsHandler::~OptionsHandler ( )
virtualdefault

Member Function Documentation

int art::OptionsHandler::checkOptions ( bpo::variables_map const &  vm)

Definition at line 51 of file OptionsHandler.cc.

52 {
53  std::string const thisClass(cet::demangle_symbol(typeid(*this).name()));
54  return exceptionCatcher([&vm, this] { return doCheckOptions(vm); },
55  thisClass + "::doCheckOptions()",
56  89);
57 }
virtual int doCheckOptions(bpo::variables_map const &vm)=0
virtual int art::OptionsHandler::doCheckOptions ( bpo::variables_map const &  vm)
privatepure virtual
virtual int art::OptionsHandler::doProcessOptions ( bpo::variables_map const &  vm,
fhicl::intermediate_table raw_config 
)
privatepure virtual
int art::OptionsHandler::processOptions ( bpo::variables_map const &  vm,
fhicl::intermediate_table raw_config 
)

Definition at line 60 of file OptionsHandler.cc.

Referenced by art::run_art_string_config().

62 {
63  std::string const thisClass(cet::demangle_symbol(typeid(*this).name()));
64  return exceptionCatcher(
65  [&, this] { return doProcessOptions(vm, raw_config); },
66  thisClass + "::doProcessOptions()",
67  90);
68 }
virtual int doProcessOptions(bpo::variables_map const &vm, fhicl::intermediate_table &raw_config)=0

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