OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
CSV_Field Class Reference

#include <CSV_Field.h>

Inheritance diagram for CSV_Field:
Inheritance graph
Collaboration diagram for CSV_Field:
Collaboration graph

Public Member Functions

 CSV_Field ()
 
virtual void dump (ostream &strm) const
 dump the contents of this object to the specified ostream More...
 
int getIndex ()
 
string getName ()
 
string getType ()
 
void insertIndex (const int &fieldIndex)
 
void insertName (const string &fieldName)
 
void insertType (const string &fieldType)
 
virtual ~CSV_Field ()
 

Detailed Description

Definition at line 44 of file CSV_Field.h.

Constructor & Destructor Documentation

CSV_Field::CSV_Field ( )
inline

Definition at line 51 of file CSV_Field.h.

virtual CSV_Field::~CSV_Field ( )
inlinevirtual

Definition at line 52 of file CSV_Field.h.

Member Function Documentation

virtual void CSV_Field::dump ( ostream &  strm) const
inlinevirtual

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...

Parameters
strmC++ i/o stream to dump the object to

Implements BESObj.

Definition at line 65 of file CSV_Field.h.

References BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().

Here is the call graph for this function:

int CSV_Field::getIndex ( )
inline

Definition at line 63 of file CSV_Field.h.

Referenced by CSV_Obj::getFieldData().

string CSV_Field::getName ( )
inline

Definition at line 61 of file CSV_Field.h.

string CSV_Field::getType ( )
inline

Definition at line 62 of file CSV_Field.h.

Referenced by CSV_Obj::getRecord(), and CSV_Data::insert().

void CSV_Field::insertIndex ( const int &  fieldIndex)
inline

Definition at line 58 of file CSV_Field.h.

Referenced by CSV_Header::populate().

void CSV_Field::insertName ( const string &  fieldName)
inline

Definition at line 54 of file CSV_Field.h.

Referenced by CSV_Header::populate().

void CSV_Field::insertType ( const string &  fieldType)
inline

Definition at line 56 of file CSV_Field.h.

Referenced by CSV_Header::populate().


The documentation for this class was generated from the following file: