MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
common.hpp File Reference
Include dependency graph for common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mtcore::csv::ReadError
 
struct  mtcore::csv::Options
 CSV options for defining the CSV format. More...
 

Namespaces

namespace  mtcore
 Core library for C++ with Zig-related functionality.
 
namespace  mtcore::csv
 CSV namespace for CSV-related utilities.
 
namespace  mtcore::csv::common
 

Enumerations

enum class  mtcore::csv::ReadErrorCode {
  mtcore::csv::INTERNAL_LIMIT_REACHED , mtcore::csv::UNEXPECTED_EOF , mtcore::csv::INVALID_LINE_ENDING , mtcore::csv::QUOTE_PREMATURELY_TERMINATED ,
  mtcore::csv::UNEXPECTED_QUOTE , mtcore::csv::END_OF_FILE , mtcore::csv::ALLOCATION_FAILED , mtcore::csv::SIZE_EXCEEDED
}
 

Functions

u64 mtcore::csv::common::quoted_regions (u64 m)
 
Slice< const char > mtcore::csv::common::unquote_quoted (Slice< const char > data, Options opts)
 
template<WriterImpl WI>
Result< size_t, typename io::Writer< WI >::ErrType > mtcore::csv::common::decode (io::Writer< WI > &writer, Slice< const char > field, const Options options={})
 
u64 mtcore::csv::bit_match_64 (char ch, Slice< const char > s)
 

Variables

static constexpr u64 mtcore::csv::chunkSize = 64