| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

# IValidity.h

Go to the documentation of this file.

    00001 #ifndef      __GAUDI_INTERFACES_IVALIDITY_H__
    00002 #define      __GAUDI_INTERFACES_IVALIDITY_H__
    00003
    00004 #include "GaudiKernel/Kernel.h"
    00005 namespace Gaudi { class Time; }
    00006
    00009 class GAUDI_API IValidity {
    00010 public:
    00011
    00013   virtual bool isValid() const = 0;
    00014
    00016   virtual bool isValid(const Gaudi::Time&) const = 0;
    00017
    00019   virtual const Gaudi::Time& validSince() const = 0;
    00020
    00022   virtual const Gaudi::Time& validTill() const = 0;
    00023
    00025   virtual void setValidity(const Gaudi::Time&, const Gaudi::Time&) = 0;
    00026
    00028   virtual void setValiditySince(const Gaudi::Time&) = 0;
    00029
    00031   virtual void setValidityTill(const Gaudi::Time&) = 0;
    00032
    00034   virtual ~IValidity(){}
    00035
    00036 };
    00037
    00038 #endif   //  __GAUDI_INTERFACES_IVALIDITY_H__