LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
fhicl::Printer Class Referenceabstract

#include "Printer.h"

Inheritance diagram for fhicl::Printer:
fhicl::PrinterFor< T >

Public Member Functions

virtual ~Printer ()=default
 
void print_as_atom (fhicl::ParameterSet const &pset, std::string const &key) const
 
void print_as_sequence (fhicl::ParameterSet const &pset, std::string const &key) const
 

Private Member Functions

virtual void do_atomic_print (fhicl::ParameterSet const &pset, std::string const &key) const =0
 
virtual void do_sequence_print (fhicl::ParameterSet const &pset, std::string const &key) const =0
 

Detailed Description

Definition at line 16 of file Printer.h.

Constructor & Destructor Documentation

virtual fhicl::Printer::~Printer ( )
virtualdefault

Member Function Documentation

virtual void fhicl::Printer::do_atomic_print ( fhicl::ParameterSet const &  pset,
std::string const &  key 
) const
privatepure virtual

Implemented in fhicl::PrinterFor< T >.

Referenced by print_as_atom(), and print_as_sequence().

virtual void fhicl::Printer::do_sequence_print ( fhicl::ParameterSet const &  pset,
std::string const &  key 
) const
privatepure virtual

Implemented in fhicl::PrinterFor< T >.

Referenced by print_as_sequence().

void fhicl::Printer::print_as_atom ( fhicl::ParameterSet const &  pset,
std::string const &  key 
) const
inline

Definition at line 20 of file Printer.h.

References do_atomic_print().

21  {
22  do_atomic_print(pset, key);
23  }
virtual void do_atomic_print(fhicl::ParameterSet const &pset, std::string const &key) const =0
void fhicl::Printer::print_as_sequence ( fhicl::ParameterSet const &  pset,
std::string const &  key 
) const
inline

Definition at line 25 of file Printer.h.

References do_atomic_print(), and do_sequence_print().

27  {
28  do_sequence_print(pset, key);
29  }
virtual void do_sequence_print(fhicl::ParameterSet const &pset, std::string const &key) const =0

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