| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# IValidity Class Reference

Interface for objects with a validity. More...

`#include <GaudiKernel/IValidity.h>`

List of all members.

## 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::Time & | validSince () const =0
| Returns the start of validity of the object.
virtual const Gaudi::Time & | validTill () 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 ()
| destructor

## Detailed Description

Interface for objects with a validity.

Definition at line 9 of file IValidity.h.

## Constructor & Destructor Documentation

virtual IValidity::~IValidity | ( |  | ) | `[inline, virtual]`

destructor

Definition at line 34 of file IValidity.h.

    00034 {}

## Member Function Documentation

virtual bool IValidity::isValid | ( |  | ) | const`[pure virtual]`

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

virtual bool IValidity::isValid | ( | const Gaudi::Time & |  | ) | const`[pure virtual]`

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

virtual const Gaudi::Time& IValidity::validSince | ( |  | ) | const`[pure virtual]`

Returns the start of validity of the object.

virtual const Gaudi::Time& IValidity::validTill | ( |  | ) | const`[pure virtual]`

Returns the end of validity of the object.

virtual void IValidity::setValidity | ( | const Gaudi::Time & | ,
|  | const Gaudi::Time & |  |
| ) |  |  | `[pure virtual]`

Set the interval of validity of the object.

virtual void IValidity::setValiditySince | ( | const Gaudi::Time & |  | ) | `[pure virtual]`

Sets the start of validity of the object.

virtual void IValidity::setValidityTill | ( | const Gaudi::Time & |  | ) | `[pure virtual]`

Sets the end of validity of the object.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r8/GaudiKernel/GaudiKernel/IValidity.h