22#ifndef GENERIC_CONTAINER_INTERFACE_TOML_HH
23#define GENERIC_CONTAINER_INTERFACE_TOML_HH
26#pragma clang diagnostic ignored "-Wpoison-system-directories"
55 string_view file_name,
58 ifstream stream(file_name.data());
99 istringstream stream(DATA);
117 ostringstream stream;
The GenericContainer class provides a flexible container for storing heterogeneous data types.
Definition GenericContainer.hh:614
bool to_toml(ostream_type &stream) const
void clear()
Clears the content of the GenericContainer, resetting it to an empty state.
Definition GenericContainer.cc:592
bool from_toml(istream_type &stream)
bool file_TOML_to_GC(string_view file_name, GenericContainer &gc)
Definition GenericContainerInterface_toml.hh:54
bool TOML_to_GC(istream_type &stream, GenericContainer &gc)
Definition GenericContainerInterface_toml.hh:75
void GC_to_TOML(GenericContainer const &gc, std::string &res)
Definition GenericContainerInterface_toml.hh:116
Definition GenericContainer.cc:68
std::basic_ostream< char > ostream_type
Alias for a character-based output stream.
Definition GenericContainer.hh:109
std::basic_istream< char > istream_type
Alias for a character-based input stream.
Definition GenericContainer.hh:118