CSV_Obj Class Reference

#include <CSV_Obj.h>

Collaboration diagram for CSV_Obj:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CSV_Obj ()
void * getFieldData (const string &field)
vector< string > getFieldList ()
string getFieldType (const string &fieldName)
vector< string > getRecord (const int rowCount)
int getRecordCount ()
void load ()
bool open (const string &filepath)
void printField (const string &field)
 ~CSV_Obj ()

Detailed Description

Definition at line 46 of file CSV_Obj.h.


Constructor & Destructor Documentation

CSV_Obj::CSV_Obj (  ) 

Definition at line 41 of file CSV_Obj.cc.

CSV_Obj::~CSV_Obj (  ) 

Definition at line 47 of file CSV_Obj.cc.

References CSV_Reader::close().

Here is the call graph for this function:


Member Function Documentation

void * CSV_Obj::getFieldData ( const string &  field  ) 

Definition at line 160 of file CSV_Obj.cc.

References CSV_Header::getField(), and CSV_Field::getIndex().

Referenced by csv_read_descriptors(), getRecord(), and printField().

Here is the call graph for this function:

vector< string > CSV_Obj::getFieldList (  ) 

Definition at line 133 of file CSV_Obj.cc.

References CSV_Header::getFieldList().

Referenced by csv_read_attributes(), csv_read_descriptors(), getRecord(), and printHeader().

Here is the call graph for this function:

string CSV_Obj::getFieldType ( const string &  fieldName  ) 

Definition at line 137 of file CSV_Obj.cc.

References CSV_Header::getFieldType().

Referenced by csv_read_attributes(), and csv_read_descriptors().

Here is the call graph for this function:

vector< string > CSV_Obj::getRecord ( const int  rowCount  ) 

Definition at line 170 of file CSV_Obj.cc.

References CSV_Header::getField(), getFieldData(), getFieldList(), getRecordCount(), and CSV_Field::getType().

Referenced by printAllData().

Here is the call graph for this function:

int CSV_Obj::getRecordCount (  ) 

Definition at line 141 of file CSV_Obj.cc.

References CSV_Data::getData(), and CSV_Data::getType().

Referenced by csv_read_descriptors(), getRecord(), and printAllData().

Here is the call graph for this function:

void CSV_Obj::load (  ) 

Definition at line 103 of file CSV_Obj.cc.

References CSV_Reader::eof(), CSV_Reader::get(), CSV_Header::getField(), CSV_Header::populate(), CSV_Reader::reset(), and slim().

Referenced by csv_read_attributes(), csv_read_descriptors(), and main().

Here is the call graph for this function:

bool CSV_Obj::open ( const string &  filepath  ) 

Definition at line 54 of file CSV_Obj.cc.

References CSV_Reader::open().

Referenced by csv_read_attributes(), csv_read_descriptors(), and main().

Here is the call graph for this function:

void CSV_Obj::printField ( const string &  field  ) 

Definition at line 58 of file CSV_Obj.cc.

References CSV_Header::getField(), getFieldData(), and CSV_Field::getType().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Thu Feb 11 09:18:10 2010 for OPeNDAP Hyrax Back End Server (BES) by  doxygen 1.4.7