csvzall 0.4.0
CSV command-line tool and emerging C++ library
Loading...
Searching...
No Matches
csvzall::pipeline::commands::CsvInputCommand Class Referenceabstract

#include <commands.hpp>

+ Inheritance diagram for csvzall::pipeline::commands::CsvInputCommand:

Public Member Functions

virtual ~CsvInputCommand ()=default
 
int execute ()
 

Protected Member Functions

 CsvInputCommand (std::istream &input, const RunOptions &options, const LoggerCallbacks &logger, RunStats &stats)
 
virtual int run ()=0
 
virtual csv::CSVFormat make_format () const
 
csv::CSVReader & reader ()
 
const std::vector< std::string > & headers () const
 
const RunOptions & options () const
 
const LoggerCallbacks & logger () const
 
RunStats & stats ()
 
int reset_reader ()
 

Constructor & Destructor Documentation

◆ ~CsvInputCommand()

virtual csvzall::pipeline::commands::CsvInputCommand::~CsvInputCommand ( )
virtualdefault

◆ CsvInputCommand()

csvzall::pipeline::commands::CsvInputCommand::CsvInputCommand ( std::istream &  input,
const RunOptions &  options,
const LoggerCallbacks &  logger,
RunStats &  stats 
)
protected

Member Function Documentation

◆ execute()

int csvzall::pipeline::commands::CsvInputCommand::execute ( )

◆ headers()

const std::vector< std::string > & csvzall::pipeline::commands::CsvInputCommand::headers ( ) const
inlineprotected

◆ logger()

const LoggerCallbacks & csvzall::pipeline::commands::CsvInputCommand::logger ( ) const
inlineprotected

◆ make_format()

csv::CSVFormat csvzall::pipeline::commands::CsvInputCommand::make_format ( ) const
protectedvirtual

◆ options()

const RunOptions & csvzall::pipeline::commands::CsvInputCommand::options ( ) const
inlineprotected

◆ reader()

csv::CSVReader & csvzall::pipeline::commands::CsvInputCommand::reader ( )
inlineprotected

◆ reset_reader()

int csvzall::pipeline::commands::CsvInputCommand::reset_reader ( )
protected

◆ run()

◆ stats()

RunStats & csvzall::pipeline::commands::CsvInputCommand::stats ( )
inlineprotected

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