bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
file_formats.h
Go to the documentation of this file.
1
#ifndef FILE_FORMATS_H
2
#define FILE_FORMATS_H
3
4
#include <string>
5
6
namespace
bitrl
7
{
8
namespace
utils
9
{
10
namespace
io
11
{
12
16
17
struct
FileFormats
18
{
19
23
enum class
Type
24
{
25
CSV
= 0,
26
JSON
= 1,
27
INVALID_TYPE
28
};
29
33
static
std::string
type_to_string
(
Type
t
);
34
};
35
36
}
// namespace io
37
}
// namespace utils
38
}
// namespace bitrl
39
40
#endif
// FILE_FORMATS_H
bitrl::utils::resolve
OutT resolve(const std::string &name, const std::map< std::string, std::any > &input)
Definition
std_map_utils.h:25
bitrl
Definition
bitrl_consts.h:14
bitrl::utils::io::FileFormats
Definition
file_formats.h:18
bitrl::utils::io::FileFormats::Type
Type
Definition
file_formats.h:24
bitrl::utils::io::FileFormats::Type::INVALID_TYPE
@ INVALID_TYPE
bitrl::utils::io::FileFormats::Type::JSON
@ JSON
bitrl::utils::io::FileFormats::Type::CSV
@ CSV
bitrl::utils::io::FileFormats::type_to_string
static std::string type_to_string(Type t)
Definition
file_formats.cpp:10
libs
bitrl
src
bitrl
utils
io
file_formats.h
Generated by
1.9.8