LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
fhicl::detail::atom Namespace Reference

Functions

std::string printed_prefix (std::string const &key)
 
std::string value (std::any const &)
 

Function Documentation

std::string fhicl::detail::atom::printed_prefix ( std::string const &  key)
std::string fhicl::detail::atom::value ( std::any const &  a)

Definition at line 100 of file printing_helpers.cc.

Referenced by evgen::MarleyParameterSetWalker::atom(), fhicl::detail::ValuePrinter::atom(), fhicl::detail::Prettifier::atom(), fhicl::detail::PrettifierAnnotated::atom(), and fhicl::detail::PrettifierPrefixAnnotated::atom().

101 {
102  using ps_atom_t = std::string;
103  std::string const str = std::any_cast<ps_atom_t>(a);
104  return str == std::string(9, '\0') ? "@nil" : str;
105 }
std::string ps_atom_t
Definition: coding.h:44