/** \file PairErr.h "utl/PairErr.h" declaration of class PairErr \author Stefano Argiro \version $Id$ \date 26 Sep 2003 */ #ifndef _utl_PairErr_h_ #define _utl_PairErr_h_ static const char CVSId_utl_PairErr[] = "$Id$"; namespace utl { /** \class PairErr \brief A pair of graph points (x,y) with errors \author Stefano Argiro \date 26 Sep 2003 \ingroup stl */ class PairErr { public: PairErr() : fX(0), fY(0), fXErr(0), fYErr(0) { } PairErr(const double x, const double xErr, const double y, const double yErr) : fX(x), fY(y), fXErr(xErr), fYErr(yErr) { } double X() const { return fX; } double Y() const { return fY; } double XErr() const { return fXErr; } double YErr() const { return fYErr; } private: double fX; double fY; double fXErr; double fYErr; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: