14#include <Math/SVector.h>
37 template <
class SCALAR,
unsigned int N>
38 StatusCode parse( ROOT::Math::SVector<SCALAR, N>& result, std::string_view input ) {
39 std::vector<double> tmp;
43 std::copy( tmp.begin(), tmp.end(), result.begin() );
49 template <
class SCALAR>
50 std::ostream&
toStream(
const SCALAR&, std::ostream& );
55 template <
class SCALAR,
unsigned int N>
56 std::ostream&
toStream(
const ROOT::Math::SVector<SCALAR, N>& obj, std::ostream& s ) {
58 for (
auto cur = obj.begin(); obj.end() != cur; ++cur ) {
59 if ( obj.begin() != cur ) { s <<
" , "; }
The declaration of major parsing functions used e.g for (re)implementation of new extended properties...
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
constexpr static const auto FAILURE
StatusCode parse(GaudiUtils::HashMap< K, V > &result, std::string_view input)
Basic parser for the types of HashMap used in DODBasicMapper.
std::ostream & toStream(ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim)
the helper function to print the sequence
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...