A generic data writer based on Boost/Serialization.
More...
#include <bayeux/datatools/io_factory.h>
A generic data writer based on Boost/Serialization.
The data_reader class supports :
- portable text (ASCII) archives
- portable XML archives
- portable binary archives Example :
◆ data_writer() [1/3]
datatools::data_writer::data_writer |
( |
| ) |
|
◆ data_writer() [2/3]
datatools::data_writer::data_writer |
( |
const std::string & |
filename_, |
|
|
int |
mode_ |
|
) |
| |
◆ data_writer() [3/3]
datatools::data_writer::data_writer |
( |
const std::string & |
filename_, |
|
|
bool |
use_multiple_archives_ = using_single_archive , |
|
|
bool |
append_mode_ = no_append_mode |
|
) |
| |
◆ ~data_writer()
virtual datatools::data_writer::~data_writer |
( |
| ) |
|
|
virtual |
◆ basic_store()
template<typename Data >
void datatools::data_writer::basic_store |
( |
const Data & |
data_ | ) |
|
|
inlineprotected |
◆ init() [1/2]
void datatools::data_writer::init |
( |
const std::string & |
filename_, |
|
|
bool |
a_multiple_archives_ = using_single_archive , |
|
|
bool |
a_append_mode_ = no_append_mode |
|
) |
| |
◆ init() [2/2]
void datatools::data_writer::init |
( |
const std::string & |
filename_, |
|
|
int |
mode_ |
|
) |
| |
◆ init_multi()
void datatools::data_writer::init_multi |
( |
const std::string & |
filename_ | ) |
|
◆ init_single()
void datatools::data_writer::init_single |
( |
const std::string & |
filename_ | ) |
|
◆ is_binary()
bool datatools::data_writer::is_binary |
( |
| ) |
const |
◆ is_bzip2()
bool datatools::data_writer::is_bzip2 |
( |
| ) |
const |
◆ is_compressed()
bool datatools::data_writer::is_compressed |
( |
| ) |
const |
◆ is_gzip()
bool datatools::data_writer::is_gzip |
( |
| ) |
const |
◆ is_initialized()
bool datatools::data_writer::is_initialized |
( |
| ) |
const |
◆ is_multi_archives()
bool datatools::data_writer::is_multi_archives |
( |
| ) |
const |
◆ is_portable_binary()
bool datatools::data_writer::is_portable_binary |
( |
| ) |
const |
◆ is_single_archive()
bool datatools::data_writer::is_single_archive |
( |
| ) |
const |
◆ is_text()
bool datatools::data_writer::is_text |
( |
| ) |
const |
◆ is_uncompressed()
bool datatools::data_writer::is_uncompressed |
( |
| ) |
const |
◆ is_xml()
bool datatools::data_writer::is_xml |
( |
| ) |
const |
◆ reset()
void datatools::data_writer::reset |
( |
| ) |
|
◆ store() [1/2]
template<typename Data >
void datatools::data_writer::store |
( |
const std::string & |
tag_, |
|
|
const Data & |
data_ |
|
) |
| |
|
inline |
◆ store() [2/2]
template<typename Data >
void datatools::data_writer::store |
( |
const Data & |
data_ | ) |
|
|
inline |
The documentation for this class was generated from the following file: