Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

RTK::InputCsv Class Reference

This is an RTK::Input derived class for reading CVS files. More...

#include <rtkinputcsv.h>

List of all members.

Public Member Functions

 InputCsv (const String &filename=String::null, const String &delimiters=",", const String &quote="\"", int headerlines=1, const String &name=String::null, const String &driver=String::null)
const String & getFilename () const
void setFilename (const String &filename)
const String & getDelimiters () const
void setDelimiters (const String &delimiters)
const String & getQuote () const
void setQuote (const String &quote)
int getHeaderLines () const
void setHeaderLines (int headerlines)
bool init ()
bool next ()
int fieldPos (const String &name) const
Variant getValue (const String &fldname)

Protected Attributes

String mFilename
String mDelimiters
String mQuote
int mHeaderLines


Detailed Description

This is an RTK::Input derived class for reading CVS files.


Member Function Documentation

const String& RTK::InputCsv::getDelimiters  )  const [inline]
 

Gets The delimiter(s) of the columns

const String& RTK::InputCsv::getFilename  )  const [inline]
 

Gets The name of the CSV file

int RTK::InputCsv::getHeaderLines  )  const [inline]
 

Gets The number of header lines in the CSV file

const String& RTK::InputCsv::getQuote  )  const [inline]
 

Gets The quotation simbol used for alphanumeric values

void RTK::InputCsv::setDelimiters const String &  delimiters  )  [inline]
 

Sets the The delimiter(s) of the columns

void RTK::InputCsv::setFilename const String &  filename  )  [inline]
 

Sets the The name of the CSV file

void RTK::InputCsv::setHeaderLines int  headerlines  )  [inline]
 

Sets the The number of header lines in the CSV file

void RTK::InputCsv::setQuote const String &  quote  )  [inline]
 

Sets the The quotation simbol used for alphanumeric values


The documentation for this class was generated from the following file:
Generated on Tue Feb 22 14:44:37 2005 for RTK. Report ToolKit by  doxygen 1.3.9.1