|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <CSV_Reader.h>


Public Member Functions | |
| bool | close () const |
| CSV_Reader () | |
| virtual void | dump (ostream &strm) const |
| dump the contents of this object to the specified ostream More... | |
| bool | eof () const |
| void | get (vector< string > &row) |
| bool | open (const string &filepath) |
| void | reset () |
| virtual | ~CSV_Reader () |
Definition at line 48 of file CSV_Reader.h.
| CSV_Reader::CSV_Reader | ( | ) |
Definition at line 39 of file CSV_Reader.cc.
|
virtual |
Definition at line 44 of file CSV_Reader.cc.
| bool CSV_Reader::close | ( | ) | const |
Definition at line 71 of file CSV_Reader.cc.
Referenced by CSV_Obj::~CSV_Obj().
|
virtual |
dump the contents of this object to the specified ostream
This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...
The inline function below can be used to dump the contents of an OPeNDAOObj object. For example, the object Animal is derived from BESObj. A user could do the following:
Animal *a = new dog( "Sparky" ) ; cout << a << endl ;
And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...
| strm | C++ i/o stream to dump the object to |
Implements BESObj.
Definition at line 108 of file CSV_Reader.cc.
References BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().
Referenced by CSV_Obj::dump().

| bool CSV_Reader::eof | ( | ) | const |
Definition at line 86 of file CSV_Reader.cc.
Referenced by CSV_Obj::load().
| void CSV_Reader::get | ( | vector< string > & | row | ) |
Definition at line 99 of file CSV_Reader.cc.
References CSV_Utils::split().
Referenced by CSV_Obj::load().

| bool CSV_Reader::open | ( | const string & | filepath | ) |
Definition at line 58 of file CSV_Reader.cc.
Referenced by CSV_Obj::open().
| void CSV_Reader::reset | ( | ) |
Definition at line 92 of file CSV_Reader.cc.
Referenced by CSV_Obj::load().