Logo
Reference manual - version ored_version
Public Member Functions | List of all members
CSVBufferReader Class Reference
+ Inheritance diagram for CSVBufferReader:

Public Member Functions

 CSVBufferReader (const std::string &CSVBuffer, const bool firstLineContainsHeaders, const std::string &delimiters=",;\t", const std::string &escapeCharacters="\\", const std::string &quoteCharacters="\"", const char eolMarker='\n')
 
- Public Member Functions inherited from CSVReader
 CSVReader (const bool firstLineContainsHeaders, const std::string &delimiters=",;\t", const std::string &escapeCharacters="\\", const std::string &quoteCharacters="\"", const char eolMarker='\n')
 
void setStream (std::istream *stream)
 
const std::vector< std::string > & fields () const
 
const bool hasField (const std::string &field) const
 
Size numberOfColumns () const
 
bool next ()
 
Size currentLine () const
 
std::string get (const std::string &field) const
 
std::string get (const Size column) const
 
virtual void close ()
 

Constructor & Destructor Documentation

◆ CSVBufferReader()

CSVBufferReader ( const std::string &  CSVBuffer,
const bool  firstLineContainsHeaders,
const std::string &  delimiters = ",;\t",
const std::string &  escapeCharacters = "\\",
const std::string &  quoteCharacters = "\"",
const char  eolMarker = '\n' 
)

Ctor