Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
fhicl::detail::PrettifierPrefixAnnotated Class Reference

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

Inheritance diagram for fhicl::detail::PrettifierPrefixAnnotated:
fhicl::ParameterSetWalker

Public Types

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

Public Member Functions

 PrettifierPrefixAnnotated ()
 
std::string result () const
 
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

void before_action (key_t const &, any_t const &, ParameterSet const *) override
 
void enter_table (key_t const &, any_t const &) override
 
void enter_sequence (key_t const &, any_t const &) override
 
void exit_table (key_t const &, any_t const &) override
 
void exit_sequence (key_t const &, any_t const &) override
 
void atom (key_t const &, any_t const &) override
 
void push_size_ (any_t const &)
 
void pop_size_ ()
 
std::string print_full_key_ (name_t const &k) const
 

Private Attributes

std::stringstream buffer_
 
Indentation indent_
 
std::string info_
 
std::stack< std::size_t > sequence_sizes_
 
std::size_t curr_size_
 
std::vector< name_tname_stack_
 

Detailed Description

Definition at line 148 of file PrettifierPrefixAnnotated.h.

Member Typedef Documentation

using fhicl::ParameterSetWalker::any_t = boost::any
inherited

Definition at line 80 of file ParameterSetWalker.h.

Definition at line 79 of file ParameterSetWalker.h.

Definition at line 150 of file PrettifierPrefixAnnotated.h.

Constructor & Destructor Documentation

fhicl::detail::PrettifierPrefixAnnotated::PrettifierPrefixAnnotated ( )

Member Function Documentation

void fhicl::detail::PrettifierPrefixAnnotated::atom ( key_t const &  ,
any_t const &   
)
overrideprivatevirtual

Implements fhicl::ParameterSetWalker.

Referenced by result().

void fhicl::detail::PrettifierPrefixAnnotated::before_action ( key_t const &  ,
any_t const &  ,
ParameterSet const *   
)
overrideprivatevirtual

Reimplemented from fhicl::ParameterSetWalker.

Referenced by result().

void fhicl::ParameterSetWalker::do_after_action ( )
inlineinherited

Definition at line 104 of file ParameterSetWalker.h.

References fhicl::ParameterSetWalker::after_action().

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

Definition at line 93 of file ParameterSetWalker.h.

References fhicl::ParameterSetWalker::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 
)
inlineinherited

Definition at line 99 of file ParameterSetWalker.h.

References fhicl::ParameterSetWalker::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 
)
inlineinherited

Definition at line 88 of file ParameterSetWalker.h.

References fhicl::ParameterSetWalker::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 
)
inlineinherited

Definition at line 83 of file ParameterSetWalker.h.

References fhicl::ParameterSetWalker::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 
)
inlineinherited
void fhicl::ParameterSetWalker::do_exit_table ( key_t const &  k,
any_t const &  a 
)
inlineinherited

Definition at line 110 of file ParameterSetWalker.h.

References fhicl::ParameterSetWalker::exit_table().

111  {
112  exit_table(k, a);
113  }
const double a
virtual void exit_table(key_t const &, any_t const &)
void fhicl::detail::PrettifierPrefixAnnotated::enter_sequence ( key_t const &  ,
any_t const &   
)
overrideprivatevirtual

Implements fhicl::ParameterSetWalker.

Referenced by result().

void fhicl::detail::PrettifierPrefixAnnotated::enter_table ( key_t const &  ,
any_t const &   
)
overrideprivatevirtual

Implements fhicl::ParameterSetWalker.

Referenced by result().

void fhicl::detail::PrettifierPrefixAnnotated::exit_sequence ( key_t const &  ,
any_t const &   
)
overrideprivatevirtual

Reimplemented from fhicl::ParameterSetWalker.

Referenced by result().

void fhicl::detail::PrettifierPrefixAnnotated::exit_table ( key_t const &  ,
any_t const &   
)
overrideprivatevirtual

Reimplemented from fhicl::ParameterSetWalker.

Referenced by result().

void fhicl::detail::PrettifierPrefixAnnotated::pop_size_ ( )
private

Referenced by result().

std::string fhicl::detail::PrettifierPrefixAnnotated::print_full_key_ ( name_t const &  k) const
private

Referenced by result().

void fhicl::detail::PrettifierPrefixAnnotated::push_size_ ( any_t const &  )
private

Referenced by result().

std::string fhicl::detail::PrettifierPrefixAnnotated::result ( ) const
inline

Member Data Documentation

std::stringstream fhicl::detail::PrettifierPrefixAnnotated::buffer_
private

Definition at line 177 of file PrettifierPrefixAnnotated.h.

Referenced by result().

std::size_t fhicl::detail::PrettifierPrefixAnnotated::curr_size_
private

Definition at line 181 of file PrettifierPrefixAnnotated.h.

Indentation fhicl::detail::PrettifierPrefixAnnotated::indent_
private

Definition at line 178 of file PrettifierPrefixAnnotated.h.

std::string fhicl::detail::PrettifierPrefixAnnotated::info_
private

Definition at line 179 of file PrettifierPrefixAnnotated.h.

std::vector<name_t> fhicl::detail::PrettifierPrefixAnnotated::name_stack_
private

Definition at line 182 of file PrettifierPrefixAnnotated.h.

std::stack<std::size_t> fhicl::detail::PrettifierPrefixAnnotated::sequence_sizes_
private

Definition at line 180 of file PrettifierPrefixAnnotated.h.


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