hops
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Functions
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Variables
Typedefs
b
d
e
f
m
o
p
r
s
u
v
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
~
Variables
_
a
b
c
d
e
i
l
m
n
o
p
r
s
t
u
v
w
Typedefs
b
c
e
f
h
i
m
r
s
t
u
v
Enumerations
Enumerator
Related Functions
:
a
c
d
f
h
n
o
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
Functions
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
w
Variables
Typedefs
c
d
f
n
p
Enumerations
Enumerator
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
hops
FileWriter
Hdf5Writer.hpp
Go to the documentation of this file.
1
#ifndef HOPS_HDF5WRITER_HPP
2
#define HOPS_HDF5WRITER_HPP
3
4
#include "
FileWriter.hpp
"
5
6
namespace
hops
{
10
class
Hdf5Writer
:
public
FileWriter
{
11
public
:
12
explicit
Hdf5Writer
(
std::string
path);
13
~Hdf5Writer
()
override
;
14
15
void
write
(
const
std::string
&description,
const
std::vector<float> &records)
const override
;
16
17
void
write
(
const
std::string
&description,
const
std::vector<double> &records)
const override
;
18
19
void
write
(
const
std::string
&description,
const
std::vector<long> &records)
const override
;
20
21
void
write
(
const
std::string
&description,
const
std::vector<Eigen::VectorXf> &records)
const override
;
22
23
void
write
(
const
std::string
&description,
const
std::vector<Eigen::VectorXd> &records)
const override
;
24
25
void
write
(
const
std::string
&description,
const
std::vector<std::string> &records)
const override
;
26
27
void
write
(
const
std::string
&description,
const
Eigen::MatrixXd &matrix)
const override
;
28
29
void
write
(
const
std::string
&description,
const
Eigen::VectorXd &vector)
const override
;
30
31
private
:
32
std::string
path;
33
};
34
}
35
36
#endif //HOPS_HDF5WRITER_HPP
hops::Hdf5Writer::~Hdf5Writer
~Hdf5Writer() override
hops::Hdf5Writer
Warning: This writer can not append to existing datasets.
Definition:
Hdf5Writer.hpp:10
hops::Hdf5Writer::write
void write(const std::string &description, const std::vector< float > &records) const override
Writes records.
Definition:
Hdf5Writer.cpp:13
hops::FileWriter
Definition:
FileWriter.hpp:9
hops
Definition:
CsvReader.hpp:8
string
NAME string(REPLACE ".cpp" "_bin" example_name ${example_filename}) if($
Definition:
hops/Third-party/HighFive/src/examples/CMakeLists.txt:6
FileWriter.hpp
hops::Hdf5Writer::Hdf5Writer
Hdf5Writer(std::string path)
Definition:
Hdf5Writer.cpp:7
Generated by
1.8.17