Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
A Boost/Serialization-based I/O data source/reader. More...
#include <bayeux/dpp/simple_data_source.h>
Public Member Functions | |
virtual void | open () |
virtual bool | has_next_record () |
virtual bool | load_next_record (datatools::things &a_event_record_) |
virtual int64_t | get_number_of_metadata () const |
virtual bool | load_metadata (datatools::properties &a_metadata_, int64_t a_entry_) |
virtual void | close () |
virtual void | reset () |
simple_data_source (datatools::logger::priority a_priority_=datatools::logger::PRIO_NOTICE) | |
simple_data_source (const std::string &a_source_label_, datatools::logger::priority a_priority_=datatools::logger::PRIO_NOTICE) | |
virtual | ~simple_data_source () |
Public Member Functions inherited from dpp::i_data_source | |
void | set_logging_priority (datatools::logger::priority p_) |
Set logging priority. More... | |
datatools::logger::priority | get_logging_priority () const |
Returns logging priority. More... | |
virtual bool | is_open () const |
virtual bool | is_sequential () const |
virtual bool | is_random () const |
virtual void | set (const std::string &source_label_) |
virtual bool | can_load_record (int64_t entry_) |
virtual bool | has_number_of_entries () const |
virtual int64_t | get_number_of_entries () const |
virtual bool | load_record (datatools::things &event_record_, int64_t entry_) |
i_data_source (datatools::logger::priority priority_=datatools::logger::PRIO_ERROR) | |
Constructor. More... | |
i_data_source (const std::string &source_label_, datatools::logger::priority priority_=datatools::logger::PRIO_ERROR) | |
Constructor. More... | |
virtual | ~i_data_source () |
Destructor: More... | |
Protected Member Functions | |
virtual void | _open_file_source () |
virtual void | _close_file_source () |
virtual void | _check_next_record () |
Protected Member Functions inherited from dpp::i_data_source | |
void | _set_defaults (datatools::logger::priority priority_) |
virtual bool | _load_record (datatools::things &event_record_, int64_t entry_) |
virtual int64_t | _get_number_of_entries () const |
Additional Inherited Members | |
Static Public Attributes inherited from dpp::i_data_source | |
static const int64_t | UNKNOWN_NUMBER_OF_ENTRIES = -1 |
Protected Attributes inherited from dpp::i_data_source | |
datatools::logger::priority | _logging |
The logging priority. More... | |
bool | _has_next_record |
Next record flag. More... | |
source_record | _source_record |
Record dynamic informations about the data source. More... | |
A Boost/Serialization-based I/O data source/reader.
dpp::simple_data_source::simple_data_source | ( | datatools::logger::priority | a_priority_ = datatools::logger::PRIO_NOTICE | ) |
dpp::simple_data_source::simple_data_source | ( | const std::string & | a_source_label_, |
datatools::logger::priority | a_priority_ = datatools::logger::PRIO_NOTICE |
||
) |
|
virtual |
|
protectedvirtual |
Implements dpp::i_data_source.
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Implements dpp::i_data_source.
|
virtual |
Implements dpp::i_data_source.
|
virtual |
Implements dpp::i_data_source.
|
virtual |
Implements dpp::i_data_source.
|
virtual |
Implements dpp::i_data_source.
|
virtual |
Implements dpp::i_data_source.
|
virtual |
Implements dpp::i_data_source.