This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
00001 // -*- C++ -*- 00002 // AID-GENERATED 00003 // ========================================================================= 00004 // This class was generated by AID - Abstract Interface Definition 00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 00006 // ========================================================================= 00007 #ifndef AIDA_IMEASUREMENT_H 00008 #define AIDA_IMEASUREMENT_H 1 00009 00010 // This file is part of the AIDA library 00011 // Copyright (C) 2002 by the AIDA team. All rights reserved. 00012 // This library is free software and under the terms of the 00013 // GNU Library General Public License described in the LGPL.txt 00014 00015 namespace AIDA { 00016 00026 class IMeasurement { 00027 00028 public: 00030 virtual ~IMeasurement() { /* nop */; } 00031 00037 virtual double value() const = 0; 00038 00044 virtual double errorPlus() const = 0; 00045 00051 virtual double errorMinus() const = 0; 00052 00059 virtual bool setValue(double value) = 0; 00060 00067 virtual bool setErrorPlus(double errorPlus) = 0; 00068 00075 virtual bool setErrorMinus(double errorMinus) = 0; 00076 }; // class 00077 }; // namespace AIDA 00078 #endif /* ifndef AIDA_IMEASUREMENT_H */