Loading [MathJax]/extensions/tex2jax.js
OGS
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
Typedefs
b
c
e
f
h
j
k
l
m
n
p
q
r
s
t
v
w
x
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
x
Variables
Typedefs
Enumerations
Macros
a
b
c
e
g
h
i
l
m
n
o
p
r
s
t
v
w
x
TimeInterval.h
Go to the documentation of this file.
1
13
#pragma once
14
15
namespace
BaseLib
16
{
17
class
ConfigTree;
18
23
struct
TimeInterval
final
24
{
25
public
:
26
bool
contains
(
const
double
current_time)
const
27
{
28
return
(current_time >=
start_time
&& current_time <=
end_time
);
29
}
30
31
double
start_time
;
32
double
end_time
;
33
};
34
35
TimeInterval
createTimeInterval
(
ConfigTree
const
& config);
36
37
}
// namespace BaseLib
BaseLib::ConfigTree
Definition:
ConfigTree.h:103
BaseLib
Definition:
TestDefinition.h:19
BaseLib::createTimeInterval
TimeInterval createTimeInterval(ConfigTree const &config)
Definition:
TimeInterval.cpp:21
BaseLib::TimeInterval
Definition:
TimeInterval.h:24
BaseLib::TimeInterval::end_time
double end_time
Definition:
TimeInterval.h:32
BaseLib::TimeInterval::start_time
double start_time
Definition:
TimeInterval.h:31
BaseLib::TimeInterval::contains
bool contains(const double current_time) const
Definition:
TimeInterval.h:26
BaseLib
TimeInterval.h
Generated by
1.9.1