| The Gaudi Framework v30r0 (c919700c)

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