The Gaudi Framework  master (37c0b60a)
IValidity Class Referenceabstract

#include <GaudiKernel/IValidity.h>

Public Member Functions

virtual bool isValid () const =0
 Check if the object is valid (it can be always invalid). More...
 
virtual bool isValid (const Gaudi::Time &) const =0
 Check if the object is valid for the specified point in time. More...
 
virtual const Gaudi::TimevalidSince () const =0
 Returns the start of validity of the object. More...
 
virtual const Gaudi::TimevalidTill () const =0
 Returns the end of validity of the object. More...
 
virtual void setValidity (const Gaudi::Time &, const Gaudi::Time &)=0
 Set the interval of validity of the object. More...
 
virtual void setValiditySince (const Gaudi::Time &)=0
 Sets the start of validity of the object. More...
 
virtual void setValidityTill (const Gaudi::Time &)=0
 Sets the end of validity of the object. More...
 
virtual ~IValidity ()=default
 destructor More...
 

Detailed Description

Interface for objects with a validity

Definition at line 21 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: