csvzall 0.4.0
CSV command-line tool and emerging C++ library
Loading...
Searching...
No Matches
head.hpp File Reference
#include <csv.hpp>
#include <algorithm>
#include <cstdint>
#include <iomanip>
#include <istream>
#include <memory>
#include <ostream>
#include <sstream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "pipeline_types.hpp"
#include "pipeline/common/gzip_stream.hpp"

Go to the source code of this file.

Classes

struct  csvzall::head::Result
 

Namespaces

namespace  csvzall
 
namespace  csvzall::head
 

Functions

std::string csvzall::head::SanitizeCell (std::string value)
 
std::string csvzall::head::TruncateCell (std::string_view value, std::size_t width)
 
void csvzall::head::PrintSeparator (const std::vector< std::size_t > &widths, std::ostream &out)
 
void csvzall::head::PrintTableRow (const std::vector< std::string > &values, const std::vector< std::size_t > &widths, std::ostream &out)
 
template<typename LoggerT >
int csvzall::head::Run (std::size_t row_limit, std::istream &input, std::ostream &output, const csvzall::pipeline::RunOptions &options, LoggerT &logger, Result &result)