Loading [MathJax]/extensions/tex2jax.js
OGS
Toggle main menu visibility
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
z
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
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
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
i
k
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
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
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
}
26
bool
contains
(
const
double
current_time)
const
{
…
}
30
31
double
start_time
;
32
double
end_time
;
33
};
23
struct
TimeInterval
final {
…
};
34
35
TimeInterval
createTimeInterval
(
ConfigTree
const
& config);
36
37
}
// namespace BaseLib
BaseLib::ConfigTree
Definition
ConfigTree.h:107
BaseLib
Definition
TestDefinition.h:21
BaseLib::createTimeInterval
TimeInterval createTimeInterval(ConfigTree const &config)
Definition
TimeInterval.cpp:23
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.12.0