CommonLibVR
io::LineReader Class Reference

#include <csv.h>

Public Member Functions

 LineReader ()=delete
 
 LineReader (const LineReader &)=delete
 
LineReaderoperator= (const LineReader &)=delete
 
 LineReader (const char *file_name)
 
 LineReader (const std::string &file_name)
 
 LineReader (const char *file_name, std::unique_ptr< ByteSourceBase > byte_source)
 
 LineReader (const std::string &file_name, std::unique_ptr< ByteSourceBase > byte_source)
 
 LineReader (const char *file_name, const char *data_begin, const char *data_end)
 
 LineReader (const std::string &file_name, const char *data_begin, const char *data_end)
 
 LineReader (const char *file_name, FILE *file)
 
 LineReader (const std::string &file_name, FILE *file)
 
 LineReader (const char *file_name, std::istream &in)
 
 LineReader (const std::string &file_name, std::istream &in)
 
void set_file_name (const std::string &file_name)
 
void set_file_name (const char *file_name)
 
const char * get_truncated_file_name () const
 
void set_file_line (unsigned file_line)
 
unsigned get_file_line () const
 
char * next_line ()
 

Constructor & Destructor Documentation

◆ LineReader() [1/12]

io::LineReader::LineReader ( )
delete

◆ LineReader() [2/12]

io::LineReader::LineReader ( const LineReader )
delete

◆ LineReader() [3/12]

io::LineReader::LineReader ( const char *  file_name)
inlineexplicit

◆ LineReader() [4/12]

io::LineReader::LineReader ( const std::string &  file_name)
inlineexplicit

◆ LineReader() [5/12]

io::LineReader::LineReader ( const char *  file_name,
std::unique_ptr< ByteSourceBase byte_source 
)
inline

◆ LineReader() [6/12]

io::LineReader::LineReader ( const std::string &  file_name,
std::unique_ptr< ByteSourceBase byte_source 
)
inline

◆ LineReader() [7/12]

io::LineReader::LineReader ( const char *  file_name,
const char *  data_begin,
const char *  data_end 
)
inline

◆ LineReader() [8/12]

io::LineReader::LineReader ( const std::string &  file_name,
const char *  data_begin,
const char *  data_end 
)
inline

◆ LineReader() [9/12]

io::LineReader::LineReader ( const char *  file_name,
FILE *  file 
)
inline

◆ LineReader() [10/12]

io::LineReader::LineReader ( const std::string &  file_name,
FILE *  file 
)
inline

◆ LineReader() [11/12]

io::LineReader::LineReader ( const char *  file_name,
std::istream &  in 
)
inline

◆ LineReader() [12/12]

io::LineReader::LineReader ( const std::string &  file_name,
std::istream &  in 
)
inline

Member Function Documentation

◆ get_file_line()

unsigned io::LineReader::get_file_line ( ) const
inline

◆ get_truncated_file_name()

const char* io::LineReader::get_truncated_file_name ( ) const
inline

◆ next_line()

char* io::LineReader::next_line ( )
inline

◆ operator=()

LineReader& io::LineReader::operator= ( const LineReader )
delete

◆ set_file_line()

void io::LineReader::set_file_line ( unsigned  file_line)
inline

◆ set_file_name() [1/2]

void io::LineReader::set_file_name ( const char *  file_name)
inline

◆ set_file_name() [2/2]

void io::LineReader::set_file_name ( const std::string &  file_name)
inline

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