Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Protected Member Functions | List of all members
dpp::simple_brio_data_sink Class Reference

A brio-based I/O data sink/writer. More...

#include <bayeux/dpp/simple_brio_data_sink.h>

Inheritance diagram for dpp::simple_brio_data_sink:
dpp::i_data_sink

Public Member Functions

virtual bool is_random () const
 
virtual void open ()
 
virtual bool store_next_record (const datatools::things &a_event_record)
 
virtual bool can_store_meta_data () const
 
virtual bool store_metadata (const datatools::properties &a_meta_data)
 
virtual void close ()
 
virtual void reset ()
 
 simple_brio_data_sink (datatools::logger::priority a_priority=datatools::logger::PRIO_NOTICE)
 Constructor. More...
 
 simple_brio_data_sink (const std::string &a_sink_label="", datatools::logger::priority a_priority=datatools::logger::PRIO_NOTICE)
 Constructor. More...
 
virtual ~simple_brio_data_sink ()
 Destructor. More...
 
- Public Member Functions inherited from dpp::i_data_sink
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 void set (const std::string &sink_label_)
 
 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 _open_file_sink ()
 
void _close_file_sink ()
 
- Protected Member Functions inherited from dpp::i_data_sink
void _set_defaults (datatools::logger::priority priority_)
 

Additional Inherited Members

- Protected Attributes inherited from dpp::i_data_sink
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...
 

Detailed Description

A brio-based I/O data sink/writer.

Constructor & Destructor Documentation

◆ simple_brio_data_sink() [1/2]

dpp::simple_brio_data_sink::simple_brio_data_sink ( datatools::logger::priority  a_priority = datatools::logger::PRIO_NOTICE)

Constructor.

◆ simple_brio_data_sink() [2/2]

dpp::simple_brio_data_sink::simple_brio_data_sink ( const std::string &  a_sink_label = "",
datatools::logger::priority  a_priority = datatools::logger::PRIO_NOTICE 
)

Constructor.

◆ ~simple_brio_data_sink()

virtual dpp::simple_brio_data_sink::~simple_brio_data_sink ( )
virtual

Destructor.

Member Function Documentation

◆ _close_file_sink()

void dpp::simple_brio_data_sink::_close_file_sink ( )
protected

◆ _open_file_sink()

void dpp::simple_brio_data_sink::_open_file_sink ( )
protected

◆ can_store_meta_data()

virtual bool dpp::simple_brio_data_sink::can_store_meta_data ( ) const
virtual

Implements dpp::i_data_sink.

◆ close()

virtual void dpp::simple_brio_data_sink::close ( )
virtual

Implements dpp::i_data_sink.

◆ is_random()

virtual bool dpp::simple_brio_data_sink::is_random ( ) const
virtual

Reimplemented from dpp::i_data_sink.

◆ open()

virtual void dpp::simple_brio_data_sink::open ( )
virtual

Implements dpp::i_data_sink.

◆ reset()

virtual void dpp::simple_brio_data_sink::reset ( )
virtual

Implements dpp::i_data_sink.

◆ store_metadata()

virtual bool dpp::simple_brio_data_sink::store_metadata ( const datatools::properties a_meta_data)
virtual

Implements dpp::i_data_sink.

◆ store_next_record()

virtual bool dpp::simple_brio_data_sink::store_next_record ( const datatools::things a_event_record)
virtual

Implements dpp::i_data_sink.


The documentation for this class was generated from the following file: