Public Types | Public Member Functions | Private Member Functions | List of all members
fhicl::ParameterSetWalker Class Referenceabstract

#include <ParameterSetWalker.h>

Inheritance diagram for fhicl::ParameterSetWalker:
evgen::MarleyParameterSetWalker fhicl::detail::KeyAssembler fhicl::detail::Prettifier fhicl::detail::PrettifierAnnotated fhicl::detail::PrettifierPrefixAnnotated fhicl::detail::ValuePrinter

Public Types

using key_t = std::string
 
using any_t = std::any
 

Public Member Functions

virtual ~ParameterSetWalker () noexcept=default
 
void do_enter_table (key_t const &k, any_t const &a)
 
void do_enter_sequence (key_t const &k, any_t const &a)
 
void do_atom (key_t const &k, any_t const &a)
 
void do_before_action (key_t const &k, any_t const &a, ParameterSet const *ps)
 
void do_after_action (key_t const &k)
 
void do_exit_table (key_t const &k, any_t const &a)
 
void do_exit_sequence (key_t const &k, any_t const &a)
 

Private Member Functions

virtual void enter_table (key_t const &, any_t const &)=0
 
virtual void enter_sequence (key_t const &, any_t const &)=0
 
virtual void atom (key_t const &, any_t const &)=0
 
virtual void exit_table (key_t const &, any_t const &)
 
virtual void exit_sequence (key_t const &, any_t const &)
 
virtual void before_action (key_t const &, any_t const &, ParameterSet const *)
 
virtual void after_action (key_t const &)
 

Detailed Description

Definition at line 74 of file ParameterSetWalker.h.

Member Typedef Documentation

Definition at line 79 of file ParameterSetWalker.h.

Definition at line 78 of file ParameterSetWalker.h.

Constructor & Destructor Documentation

virtual fhicl::ParameterSetWalker::~ParameterSetWalker ( )
virtualdefaultnoexcept

Member Function Documentation

virtual void fhicl::ParameterSetWalker::after_action ( key_t const &  )
inlineprivatevirtual

Reimplemented in fhicl::detail::PrettifierAnnotated, and fhicl::detail::ValuePrinter.

Definition at line 136 of file ParameterSetWalker.h.

137  {}
virtual void fhicl::ParameterSetWalker::atom ( key_t const &  ,
any_t const &   
)
privatepure virtual
virtual void fhicl::ParameterSetWalker::before_action ( key_t const &  ,
any_t const &  ,
ParameterSet const *   
)
inlineprivatevirtual
void fhicl::ParameterSetWalker::do_after_action ( key_t const &  k)
inline

Definition at line 103 of file ParameterSetWalker.h.

104  {
105  after_action(k);
106  }
virtual void after_action(key_t const &)
void fhicl::ParameterSetWalker::do_atom ( key_t const &  k,
any_t const &  a 
)
inline

Definition at line 92 of file ParameterSetWalker.h.

93  {
94  atom(k, a);
95  }
virtual void atom(key_t const &, any_t const &)=0
const double a
void fhicl::ParameterSetWalker::do_before_action ( key_t const &  k,
any_t const &  a,
ParameterSet const *  ps 
)
inline

Definition at line 98 of file ParameterSetWalker.h.

99  {
100  before_action(k, a, ps);
101  }
const double a
static constexpr double ps
Definition: Units.h:99
virtual void before_action(key_t const &, any_t const &, ParameterSet const *)
void fhicl::ParameterSetWalker::do_enter_sequence ( key_t const &  k,
any_t const &  a 
)
inline

Definition at line 87 of file ParameterSetWalker.h.

88  {
89  enter_sequence(k, a);
90  }
const double a
virtual void enter_sequence(key_t const &, any_t const &)=0
void fhicl::ParameterSetWalker::do_enter_table ( key_t const &  k,
any_t const &  a 
)
inline

Definition at line 82 of file ParameterSetWalker.h.

83  {
84  enter_table(k, a);
85  }
const double a
virtual void enter_table(key_t const &, any_t const &)=0
void fhicl::ParameterSetWalker::do_exit_sequence ( key_t const &  k,
any_t const &  a 
)
inline

Definition at line 114 of file ParameterSetWalker.h.

115  {
116  exit_sequence(k, a);
117  }
virtual void exit_sequence(key_t const &, any_t const &)
const double a
void fhicl::ParameterSetWalker::do_exit_table ( key_t const &  k,
any_t const &  a 
)
inline

Definition at line 109 of file ParameterSetWalker.h.

110  {
111  exit_table(k, a);
112  }
const double a
virtual void exit_table(key_t const &, any_t const &)
virtual void fhicl::ParameterSetWalker::enter_sequence ( key_t const &  ,
any_t const &   
)
privatepure virtual
virtual void fhicl::ParameterSetWalker::enter_table ( key_t const &  ,
any_t const &   
)
privatepure virtual
virtual void fhicl::ParameterSetWalker::exit_sequence ( key_t const &  ,
any_t const &   
)
inlineprivatevirtual
virtual void fhicl::ParameterSetWalker::exit_table ( key_t const &  ,
any_t const &   
)
inlineprivatevirtual

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