Go to the documentation of this file.
   11 #ifndef __GAUDI_INTERFACES_IVALIDITY_H__ 
   12 #define __GAUDI_INTERFACES_IVALIDITY_H__ 
   48 #endif //  __GAUDI_INTERFACES_IVALIDITY_H__ 
  
 
virtual const Gaudi::Time & validSince() const =0
Returns the start of validity of the object.
 
virtual void setValiditySince(const Gaudi::Time &)=0
Sets the start of validity of the object.
 
virtual void setValidityTill(const Gaudi::Time &)=0
Sets the end of validity of the object.
 
virtual ~IValidity()=default
destructor
 
virtual const Gaudi::Time & validTill() const =0
Returns the end of validity of the object.
 
virtual bool isValid(const Gaudi::Time &) const =0
Check if the object is valid for the specified point in time.
 
virtual void setValidity(const Gaudi::Time &, const Gaudi::Time &)=0
Set the interval of validity of the object.
 
Header file for std:chrono::duration-based Counters.
 
virtual bool isValid() const =0
Check if the object is valid (it can be always invalid).