Functions
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)

Definition at line 93 of file printing_helpers.cc.

94 {
95  return is_sequence_element(key) ? "" : key + ": ";
96 }
bool is_sequence_element(std::string const &key)
def key(type, name=None)
Definition: graph.py:13
std::string fhicl::detail::atom::value ( std::any const &  a)

Definition at line 99 of file printing_helpers.cc.

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