29 #ifndef DPP_I_DATA_SINK_H 30 #define DPP_I_DATA_SINK_H 1 38 #include <boost/cstdint.hpp> 82 virtual void set(
const std::string & sink_label_);
84 virtual void open() = 0;
92 virtual void close() = 0;
94 virtual void reset() = 0;
117 #endif // DPP_I_DATA_SINK_H
virtual bool can_store_meta_data() const =0
int status
Definition: i_data_sink.h:60
datatools::logger::priority _logging
The logging priority.
Definition: i_data_sink.h:109
virtual bool is_open() const
void set_logging_priority(datatools::logger::priority p_)
Set logging priority.
Top-level namespace of the Bayeux/dpp module library.
Definition: base_module.h:56
Internal class of the i_data_sink interface class.
Definition: i_data_sink.h:54
sink_record(const std::string &label_="")
std::string label
Definition: i_data_sink.h:58
void _set_defaults(datatools::logger::priority priority_)
datatools::logger::priority get_logging_priority() const
Returns logging priority.
virtual bool store_metadata(const datatools::properties &meta_data_)=0
static const int STATUS_CLOSED
Definition: i_data_sink.h:56
i_data_sink(datatools::logger::priority priority_=datatools::logger::PRIO_ERROR)
virtual bool is_sequential() const
static const int STATUS_OPENED
Definition: i_data_sink.h:57
std::string effective_label
Definition: i_data_sink.h:59
void set_preserve_existing_sink(bool value_)
Data sink/writer abstract interface.
Definition: i_data_sink.h:49
virtual bool is_random() const
bool is_preserve_existing_sink() const
sink_record _sink_record
Record dynamic informations about the data sink.
Definition: i_data_sink.h:111
virtual bool store_next_record(const datatools::things &event_record_)=0
virtual void set(const std::string &sink_label_)
bool _preserve_existing_sink
Preserve flag.
Definition: i_data_sink.h:110