|
virtual void | dump (std::ostream &strm) const |
| dump the contents of this object to the specified ostream
|
|
int | getIndex () const |
|
std::string | getName () const |
|
std::string | getType () const |
|
void | insertIndex (const int &fieldIndex) |
|
void | insertName (const std::string &fieldName) |
|
void | insertType (const std::string &fieldType) |
|
Definition at line 42 of file CSV_Field.h.
◆ CSV_Field()
◆ ~CSV_Field()
virtual CSV_Field::~CSV_Field |
( |
| ) |
|
|
inlinevirtual |
◆ dump()
virtual void CSV_Field::dump |
( |
std::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 OPeNDAPObj 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
-
strm | C++ i/o stream to dump the object to |
Implements BESObj.
Definition at line 81 of file CSV_Field.h.
◆ getIndex()
int CSV_Field::getIndex |
( |
| ) |
const |
|
inline |
◆ getName()
std::string CSV_Field::getName |
( |
| ) |
const |
|
inline |
◆ getType()
std::string CSV_Field::getType |
( |
| ) |
const |
|
inline |
◆ insertIndex()
void CSV_Field::insertIndex |
( |
const int & | fieldIndex | ) |
|
|
inline |
◆ insertName()
void CSV_Field::insertName |
( |
const std::string & | fieldName | ) |
|
|
inline |
◆ insertType()
void CSV_Field::insertType |
( |
const std::string & | fieldType | ) |
|
|
inline |
The documentation for this class was generated from the following file: