tue_config
include
tue
config
write.h
Go to the documentation of this file.
1
#ifndef TUE_CONFIG_WRITE_H_
2
#define TUE_CONFIG_WRITE_H_
3
4
#include "
tue/config/data_pointer.h
"
5
6
namespace
tue
7
{
8
9
namespace
config
10
{
11
12
enum
WriteType
13
{
14
XML
,
15
YAML
,
16
JSON
17
};
18
19
void
toStream
(
std::ostream
& s,
const
DataConstPointer& data,
WriteType
write_type,
int
indent_size = 0);
20
21
bool
toFile
(
const
std::string
& filename,
const
DataConstPointer& data,
WriteType
write_type,
int
indent_size = 0);
22
23
bool
toFile
(
const
char
* filename,
const
DataConstPointer& data,
WriteType
write_type,
int
indent_size = 0);
24
25
}
26
}
27
28
#endif
std::string
tue::config::toFile
bool toFile(const std::string &filename, const DataConstPointer &data, WriteType write_type, int indent_size=0)
Definition:
write.cpp:200
tue::config::XML
@ XML
Definition:
write.h:14
tue::config::WriteType
WriteType
Definition:
write.h:12
tue::config::toStream
void toStream(std::ostream &s, const DataConstPointer &data, WriteType write_type, int indent_size=0)
Definition:
write.cpp:169
tue::config::JSON
@ JSON
Definition:
write.h:16
data_pointer.h
tue::config::YAML
@ YAML
Definition:
write.h:15
std::ostream
tue
config
tue::config::ReaderWriter config
Definition:
sdf_gtest.cpp:9
Generated on Sun Feb 23 2025 04:34:23 for tue_config by
1.8.17