| The Gaudi Framework v32r1 (f65d50dc)

IValidity.h
Go to the documentation of this file.
1 #ifndef __GAUDI_INTERFACES_IVALIDITY_H__
2 #define __GAUDI_INTERFACES_IVALIDITY_H__
3
4 #include "GaudiKernel/Kernel.h"
5 namespace Gaudi {
6 class Time;
7 }
8
11 class GAUDI_API IValidity {
12 public:
14 virtual bool isValid() const = 0;
15
17 virtual bool isValid( const Gaudi::Time& ) const = 0;
18
20 virtual const Gaudi::Time& validSince() const = 0;
21
23 virtual const Gaudi::Time& validTill() const = 0;
24
26 virtual void setValidity( const Gaudi::Time&, const Gaudi::Time& ) = 0;
27
29 virtual void setValiditySince( const Gaudi::Time& ) = 0;
30
32 virtual void setValidityTill( const Gaudi::Time& ) = 0;
33
35 virtual ~IValidity() = default;
36 };
37
38 #endif // __GAUDI_INTERFACES_IVALIDITY_H__
Kernel.h
Gaudi::Time
Based on seal::Time.
Definition: Time.h:231
IValidity
Interface for objects with a validity.
Definition: IValidity.h:11
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
Gaudi
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1