SourceXtractorPlusPlus
0.15
Please provide a description of the project.
|
#include <TableOutput.h>
Public Types | |
using | SourceToRowConverter = std::function< Euclid::Table::Row(const SourceInterface &)> |
using | TableHandler = std::function< void(const Euclid::Table::Table &)> |
using | SourceHandler = std::function< void(const SourceInterface &source)> |
Public Member Functions | |
size_t | flush () override |
TableOutput (SourceToRowConverter source_to_row, TableHandler table_handler, SourceHandler source_handler, size_t flush_size) | |
void | outputSource (const SourceInterface &source) override |
![]() | |
virtual | ~Output ()=default |
virtual void | handleMessage (const std::shared_ptr< SourceInterface > &source) override |
virtual void | handleMessage (const std::shared_ptr< SourceGroupInterface > &source_group) override |
![]() | |
virtual | ~Observer ()=default |
![]() | |
virtual | ~Observer ()=default |
Definition at line 32 of file TableOutput.h.
using SourceXtractor::TableOutput::SourceHandler = std::function<void(const SourceInterface& source)> |
Definition at line 38 of file TableOutput.h.
using SourceXtractor::TableOutput::SourceToRowConverter = std::function<Euclid::Table::Row(const SourceInterface&)> |
Definition at line 36 of file TableOutput.h.
using SourceXtractor::TableOutput::TableHandler = std::function<void(const Euclid::Table::Table&)> |
Definition at line 37 of file TableOutput.h.
|
inline |
Definition at line 50 of file TableOutput.h.
|
inlineoverridevirtual |
Implements SourceXtractor::Output.
Definition at line 40 of file TableOutput.h.
References std::vector< T >::clear(), std::vector< T >::empty(), m_rows, m_table_handler, m_total_rows_written, and std::vector< T >::size().
Referenced by outputSource().
|
inlineoverridevirtual |
Implements SourceXtractor::Output.
Definition at line 56 of file TableOutput.h.
References std::vector< T >::emplace_back(), flush(), m_flush_size, m_rows, m_source_handler, m_source_to_row, and std::vector< T >::size().
|
private |
Definition at line 70 of file TableOutput.h.
Referenced by outputSource().
|
private |
Definition at line 69 of file TableOutput.h.
Referenced by flush(), and outputSource().
|
private |
Definition at line 68 of file TableOutput.h.
Referenced by outputSource().
|
private |
Definition at line 66 of file TableOutput.h.
Referenced by outputSource().
|
private |
Definition at line 67 of file TableOutput.h.
Referenced by flush().
|
private |
Definition at line 71 of file TableOutput.h.
Referenced by flush().