Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Data sink/writer abstract interface. More...
#include <bayeux/dpp/i_data_sink.h>
Classes | |
struct | sink_record |
Internal class of the i_data_sink interface class. More... | |
Public Member Functions | |
void | set_logging_priority (datatools::logger::priority p_) |
Set logging priority. More... | |
datatools::logger::priority | get_logging_priority () const |
Returns logging priority. More... | |
void | set_preserve_existing_sink (bool value_) |
bool | is_preserve_existing_sink () const |
virtual bool | is_open () const |
virtual bool | is_sequential () const |
virtual bool | is_random () const |
virtual void | set (const std::string &sink_label_) |
virtual void | open ()=0 |
virtual bool | store_next_record (const datatools::things &event_record_)=0 |
virtual bool | can_store_meta_data () const =0 |
virtual bool | store_metadata (const datatools::properties &meta_data_)=0 |
virtual void | close ()=0 |
virtual void | reset ()=0 |
i_data_sink (datatools::logger::priority priority_=datatools::logger::PRIO_ERROR) | |
i_data_sink (const std::string &sink_label_, datatools::logger::priority priority_=datatools::logger::PRIO_ERROR) | |
virtual | ~i_data_sink () |
Protected Member Functions | |
void | _set_defaults (datatools::logger::priority priority_) |
Protected Attributes | |
datatools::logger::priority | _logging |
The logging priority. More... | |
bool | _preserve_existing_sink |
Preserve flag. More... | |
sink_record | _sink_record |
Record dynamic informations about the data sink. More... | |
Data sink/writer abstract interface.
dpp::i_data_sink::i_data_sink | ( | datatools::logger::priority | priority_ = datatools::logger::PRIO_ERROR | ) |
dpp::i_data_sink::i_data_sink | ( | const std::string & | sink_label_, |
datatools::logger::priority | priority_ = datatools::logger::PRIO_ERROR |
||
) |
|
virtual |
|
protected |
|
pure virtual |
Implemented in dpp::simple_brio_data_sink, and dpp::simple_data_sink.
|
pure virtual |
Implemented in dpp::simple_brio_data_sink, and dpp::simple_data_sink.
datatools::logger::priority dpp::i_data_sink::get_logging_priority | ( | ) | const |
Returns logging priority.
|
virtual |
bool dpp::i_data_sink::is_preserve_existing_sink | ( | ) | const |
|
virtual |
Reimplemented in dpp::simple_brio_data_sink.
|
virtual |
|
pure virtual |
Implemented in dpp::simple_brio_data_sink, and dpp::simple_data_sink.
|
pure virtual |
Implemented in dpp::simple_brio_data_sink, and dpp::simple_data_sink.
|
virtual |
void dpp::i_data_sink::set_logging_priority | ( | datatools::logger::priority | p_ | ) |
Set logging priority.
void dpp::i_data_sink::set_preserve_existing_sink | ( | bool | value_ | ) |
|
pure virtual |
Implemented in dpp::simple_brio_data_sink, and dpp::simple_data_sink.
|
pure virtual |
Implemented in dpp::simple_brio_data_sink, and dpp::simple_data_sink.
|
protected |
The logging priority.
|
protected |
Preserve flag.
|
protected |
Record dynamic informations about the data sink.