The Gaudi Framework
v33r1 (b1225454)
IValidity.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef __GAUDI_INTERFACES_IVALIDITY_H__
12
#define __GAUDI_INTERFACES_IVALIDITY_H__
13
14
#include "
GaudiKernel/Kernel.h
"
15
namespace
Gaudi
{
16
class
Time;
17
}
18
21
class
GAUDI_API
IValidity
{
22
public
:
24
virtual
bool
isValid()
const
= 0;
25
27
virtual
bool
isValid(
const
Gaudi::Time
& )
const
= 0;
28
30
virtual
const
Gaudi::Time
& validSince()
const
= 0;
31
33
virtual
const
Gaudi::Time
& validTill()
const
= 0;
34
36
virtual
void
setValidity(
const
Gaudi::Time
&,
const
Gaudi::Time
& ) = 0;
37
39
virtual
void
setValiditySince(
const
Gaudi::Time
& ) = 0;
40
42
virtual
void
setValidityTill(
const
Gaudi::Time
& ) = 0;
43
45
virtual
~
IValidity
() =
default
;
46
};
47
48
#endif // __GAUDI_INTERFACES_IVALIDITY_H__
Kernel.h
Gaudi::Time
Based on seal::Time.
Definition:
Time.h:241
IValidity
Interface for objects with a validity.
Definition:
IValidity.h:21
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
Gaudi
Header file for std:chrono::duration-based Counters.
Definition:
__init__.py:1
GaudiKernel
GaudiKernel
IValidity.h
Generated on Mon Mar 23 2020 15:31:02 for The Gaudi Framework by
1.8.15