3 #ifndef MYGSL_IOUTILS_H 4 #define MYGSL_IOUTILS_H 1 16 std::ostream & (*_function_) (std::ostream &,
const Type & );
24 : _function_(function_),_value_(value_)
31 return os_manip_._function_ (os_, os_manip_._value_);
40 std::istream & (*_function_) (std::istream &, Type &);
48 : _function_ (function_), _value_ (value_)
55 return is_manip_._function_ (is_, is_manip_._value_);
62 OstreamManipulator<double>
odouble (
const double & x_);
66 IstreamManipulatorRef<double>
idouble (
double & x_);
80 #endif // MYGSL_IOUTILS_H IstreamManipulatorRef(std::istream &(*function_)(std::istream &, Type &), Type &value_)
Definition: ioutils.h:46
static const std::string INF_POS_STRING
Definition: ioutils.h:73
IstreamManipulatorRef< double > idouble(double &x_)
std::ostream & ostream_odouble(std::ostream &os_, const double &x_)
static const std::string NAN_STRING
Definition: ioutils.h:72
friend std::ostream & operator<<(std::ostream &os_, const OstreamManipulator &os_manip_)
Definition: ioutils.h:28
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
friend std::istream & operator>>(std::istream &is_, const IstreamManipulatorRef &is_manip_)
Definition: ioutils.h:52
static const std::string INF_NEG_STRING
Definition: ioutils.h:74
OstreamManipulator< double > odouble(const double &x_)
std::istream & istream_idouble(std::istream &is_, double &x_)
OstreamManipulator(std::ostream &(*function_)(std::ostream &, const Type &), const Type &value_)
Definition: ioutils.h:21