The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
IValidity Class Referenceabstract

Interface for objects with a validity. More...

#include <GaudiKernel/IValidity.h>

Public Member Functions

virtual bool isValid () const =0
 Check if the object is valid (it can be always invalid).
 
virtual bool isValid (const Gaudi::Time &) const =0
 Check if the object is valid for the specified point in time.
 
virtual const Gaudi::TimevalidSince () const =0
 Returns the start of validity of the object.
 
virtual const Gaudi::TimevalidTill () const =0
 Returns the end of validity of the object.
 
virtual void setValidity (const Gaudi::Time &, const Gaudi::Time &)=0
 Set the interval 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
 

Detailed Description

Interface for objects with a validity.

Definition at line 20 of file IValidity.h.

Constructor & Destructor Documentation

◆ ~IValidity()

virtual IValidity::~IValidity ( )
virtualdefault

destructor

Member Function Documentation

◆ isValid() [1/2]

virtual bool IValidity::isValid ( ) const
pure virtual

Check if the object is valid (it can be always invalid).

◆ isValid() [2/2]

virtual bool IValidity::isValid ( const Gaudi::Time & ) const
pure virtual

Check if the object is valid for the specified point in time.

◆ setValidity()

virtual void IValidity::setValidity ( const Gaudi::Time & ,
const Gaudi::Time &  )
pure virtual

Set the interval of validity of the object.

◆ setValiditySince()

virtual void IValidity::setValiditySince ( const Gaudi::Time & )
pure virtual

Sets the start of validity of the object.

◆ setValidityTill()

virtual void IValidity::setValidityTill ( const Gaudi::Time & )
pure virtual

Sets the end of validity of the object.

◆ validSince()

virtual const Gaudi::Time & IValidity::validSince ( ) const
pure virtual

Returns the start of validity of the object.

◆ validTill()

virtual const Gaudi::Time & IValidity::validTill ( ) const
pure virtual

Returns the end of validity of the object.


The documentation for this class was generated from the following file: