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


Public Member Functions | |
| CSV_Header () | |
| virtual void | dump (ostream &strm) const |
| dump the contents of this object to the specified ostream More... | |
| CSV_Field * | getField (const int &index) |
| CSV_Field * | getField (const string &fieldName) |
| void | getFieldList (vector< string > &list) |
| const string | getFieldType (const string &fieldName) |
| bool | populate (vector< string > *headerinfo) const |
| virtual | ~CSV_Header () |
Definition at line 48 of file CSV_Header.h.
| CSV_Header::CSV_Header | ( | ) |
Definition at line 43 of file CSV_Header.cc.
|
virtual |
Definition at line 49 of file CSV_Header.cc.
|
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 161 of file CSV_Header.cc.
References BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().
Referenced by CSV_Obj::dump().

| CSV_Field * CSV_Header::getField | ( | const int & | index | ) |
Definition at line 113 of file CSV_Header.cc.
Referenced by CSV_Obj::getFieldData(), CSV_Obj::getRecord(), and CSV_Obj::load().
| CSV_Field * CSV_Header::getField | ( | const string & | fieldName | ) |
Definition at line 129 of file CSV_Header.cc.
| void CSV_Header::getFieldList | ( | vector< string > & | list | ) |
Definition at line 154 of file CSV_Header.cc.
Referenced by CSV_Obj::getFieldList().
| const string CSV_Header::getFieldType | ( | const string & | fieldName | ) |
Definition at line 143 of file CSV_Header.cc.
Referenced by CSV_Obj::getFieldType().
| bool CSV_Header::populate | ( | vector< string > * | headerinfo | ) | const |
Definition at line 68 of file CSV_Header.cc.
References CSV_Field::insertIndex(), CSV_Field::insertName(), CSV_Field::insertType(), and CSV_Utils::slim().
Referenced by CSV_Obj::load().
