9 #ifndef LARDATAALG_UTILITIES_QUANTITIES_FHICL_H 10 #define LARDATAALG_UTILITIES_QUANTITIES_FHICL_H 20 #include <string_view> 46 template <
typename... Args>
47 void decode(std::any
const& src, Quantity<Args...>& q);
61 template <
typename... Args>
73 template <
typename... Args>
77 using quantity_t =
Quantity<Args...>;
82 q = util::quantities::makeQuantity<quantity_t>(
s);
88 template <
typename... Args>
99 #endif // LARDATAALG_UTILITIES_QUANTITIES_FHICL_H
::fhicl::detail::ps_atom_t encode(Interval< Args... > const &iv)
Encodes a quantity interval into a FHiCL parameter set atom.
Infrastructure for the quantities library.
decltype(auto) constexpr to_string(T &&obj)
ADL-aware version of std::to_string.
A value measured in the specified unit.
::fhicl::detail::ps_atom_t encode(Quantity< Args... > const &q)
Encodes a quantity into a FHiCL parameter set atom.
void decode(std::any const &src, Interval< Args... > &iv)
Decodes an interval.
Numeric variable proxies with embedded unit of measurement.
Functions pulling in STL customization if available.
void decode(std::any const &src, Quantity< Args... > &q)
Decodes a quantity.