3 #ifndef GAUDIKERNEL_GENVCTPARSERS_H
4 #define GAUDIKERNEL_GENVCTPARSERS_H 1
19 #include "Math/SVector.h"
45 template <
class SCALAR,
unsigned int N>
47 ( ROOT::Math::SVector<SCALAR,N>& result ,
48 const std::string& input )
50 std::vector<double> tmp ;
59 #pragma warning(disable:4996)
61 std::copy ( tmp.begin() , tmp.end() , result.begin() ) ;
78 template <
class SCALAR>
79 std::ostream&
toStream (
const SCALAR& , std::ostream& ) ;
85 template <
class SCALAR,
unsigned int N>
87 (
const ROOT::Math::SVector<SCALAR,N>& obj , std::ostream&
s )
90 for (
typename ROOT::Math::SVector<SCALAR,N>::const_iterator cur = obj.begin() ;
91 obj.end() != cur ; ++cur )
93 if ( obj.begin() != cur ) { s <<
" , "; }
105 #endif // GAUDIKERNEL_GENVCTPARSERS_H
The declaration of major parsing functions used e.g for (re)implementation of new extended properties...
StatusCode parse(GaudiUtils::HashMap< K, V > &result, const std::string &input)
Basic parser for the types of HashMap used in DODBasicMapper.
bool isFailure() const
Test for a status code of FAILURE.
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 class is used for returning status codes from appropriate routines.
This is a number of static methods for bootstrapping the Gaudi framework.