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

#include "/cvmfs/nova.opensciencegrid.org/externals/fhiclcpp/v4_06_10/source/fhiclcpp/ParameterSetWalker.h"

Inheritance diagram for fhicl::ParameterSetWalker:
fhicl::detail::KeyAssembler fhicl::detail::Prettifier fhicl::detail::PrettifierAnnotated fhicl::detail::PrettifierPrefixAnnotated

Public Types

using key_t = std::string
 
using any_t = boost::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 ()
 
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 ()
 

Detailed Description

Definition at line 75 of file ParameterSetWalker.h.

Member Typedef Documentation

Definition at line 80 of file ParameterSetWalker.h.

Definition at line 79 of file ParameterSetWalker.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void fhicl::ParameterSetWalker::after_action ( )
inlineprivatevirtual

Reimplemented in fhicl::detail::PrettifierAnnotated.

Definition at line 137 of file ParameterSetWalker.h.

Referenced by do_after_action().

138  {}
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 ( )
inline

Definition at line 104 of file ParameterSetWalker.h.

References after_action().

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

Definition at line 93 of file ParameterSetWalker.h.

References atom().

94  {
95  atom(k, a);
96  }
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 99 of file ParameterSetWalker.h.

References before_action().

100  {
101  before_action(k, a, ps);
102  }
const double a
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 88 of file ParameterSetWalker.h.

References enter_sequence().

89  {
90  enter_sequence(k, a);
91  }
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 83 of file ParameterSetWalker.h.

References enter_table().

84  {
85  enter_table(k, a);
86  }
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 115 of file ParameterSetWalker.h.

References atom(), enter_sequence(), enter_table(), and exit_sequence().

116  {
117  exit_sequence(k, a);
118  }
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 110 of file ParameterSetWalker.h.

References exit_table().

111  {
112  exit_table(k, a);
113  }
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: