| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 { class Time; }
6
9 class GAUDI_API IValidity {
10 public:
11
13 virtual bool isValid() const = 0;
14
16 virtual bool isValid(const Gaudi::Time&) const = 0;
17
19 virtual const Gaudi::Time& validSince() const = 0;
20
22 virtual const Gaudi::Time& validTill() const = 0;
23
25 virtual void setValidity(const Gaudi::Time&, const Gaudi::Time&) = 0;
26
28 virtual void setValiditySince(const Gaudi::Time&) = 0;
29
31 virtual void setValidityTill(const Gaudi::Time&) = 0;
32
34 virtual ~IValidity() = default;
35
36 };
37
38 #endif // __GAUDI_INTERFACES_IVALIDITY_H__
Kernel.h
Gaudi::Time
Based on seal::Time.
Definition: Time.h:213
IValidity
Interface for objects with a validity.
Definition: IValidity.h:9
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1