bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
libs
bitsim
src
bitsim
utils
io
file_formats.h
Go to the documentation of this file.
1
#ifndef BITSIM_UTILS_IO_FILE_FORMATS_H
2
#define BITSIM_UTILS_IO_FILE_FORMATS_H
3
4
#include <string>
5
6
namespace
bitsim
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 bitsim
39
40
#endif
// BITSIM_UTILS_IO_FILE_FORMATS_H
bitsim::utils::io
Definition
csv_file_reader.cpp:12
bitsim::utils
Definition
bitsim_utils.h:11
bitsim
Definition
dc_motor_backend_base.h:9
bitsim::utils::io::FileFormats
Definition
file_formats.h:18
bitsim::utils::io::FileFormats::type_to_string
static std::string type_to_string(Type t)
Definition
file_formats.cpp:10
bitsim::utils::io::FileFormats::Type
Type
Definition
file_formats.h:24
bitsim::utils::io::FileFormats::Type::INVALID_TYPE
@ INVALID_TYPE
Definition
file_formats.h:27
bitsim::utils::io::FileFormats::Type::JSON
@ JSON
Definition
file_formats.h:26
bitsim::utils::io::FileFormats::Type::CSV
@ CSV
Definition
file_formats.h:25
Generated by
1.15.0