Loading...
Searching...
No Matches
ledger::csv_reader Class Reference

#include <csv.h>

Public Member Functions

 csv_reader (parse_context_t &_context)
 
const charget_last_line () const
 
std::size_t get_linenum () const
 
path get_pathname () const
 
charnext_line (std::istream &in)
 
string read_field (std::istream &in)
 
void read_index (std::istream &in)
 
xact_tread_xact (bool rich_data)
 
 ~csv_reader ()
 

Detailed Description

Definition at line 55 of file csv.h.

Constructor & Destructor Documentation

◆ csv_reader()

ledger::csv_reader::csv_reader ( parse_context_t & _context)
inline

Definition at line 79 of file csv.h.

References read_index(), ledger::parse_context_t::stream, and TRACE_CTOR.

+ Here is the call graph for this function:

◆ ~csv_reader()

ledger::csv_reader::~csv_reader ( )
inline

Definition at line 94 of file csv.h.

References TRACE_DTOR.

Member Function Documentation

◆ get_last_line()

const char * ledger::csv_reader::get_last_line ( ) const
inline

Definition at line 104 of file csv.h.

References ledger::parse_context_t::linebuf.

◆ get_linenum()

std::size_t ledger::csv_reader::get_linenum ( ) const
inline

Definition at line 110 of file csv.h.

References ledger::parse_context_t::linenum.

◆ get_pathname()

path ledger::csv_reader::get_pathname ( ) const
inline

Definition at line 107 of file csv.h.

References ledger::parse_context_t::pathname.

◆ next_line()

char * ledger::csv_reader::next_line ( std::istream & in)

◆ read_field()

string ledger::csv_reader::read_field ( std::istream & in)

◆ read_index()

void ledger::csv_reader::read_index ( std::istream & in)

Referenced by csv_reader().

+ Here is the caller graph for this function:

◆ read_xact()

xact_t * ledger::csv_reader::read_xact ( bool rich_data)

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