![]() |
NeoPZ
|
#include <csvtable.h>
Public Member Functions | |
CSVTableColumn (const string &header) | |
const string & | getHeader () const |
void | setHeader (const string &h) |
bool | isHeader (const string &h) const |
unsigned | nRows () const |
unsigned | addRows (unsigned nrows) |
T & | operator[] (unsigned i) |
const T & | operator[] (unsigned i) const |
Protected Attributes | |
string | header |
vector< T > | data |
Template class to create CSVTable columns where the cell values are of type T.
Definition at line 17 of file csvtable.h.
|
inline |
Definition at line 21 of file csvtable.h.
|
inline |
Add nrows rows to the column. Return the total number of rows.
Definition at line 53 of file csvtable.h.
Referenced by CSVTable< Tvar >::addRows(), and CSVTable< Tvar >::read().
|
inline |
Definition at line 27 of file csvtable.h.
|
inline |
Definition at line 39 of file csvtable.h.
|
inline |
Definition at line 45 of file csvtable.h.
|
inline |
Returns a reference to the element.
Definition at line 60 of file csvtable.h.
|
inline |
Returns a constant reference to the element.
Definition at line 71 of file csvtable.h.
|
inline |
Definition at line 33 of file csvtable.h.
References h.
|
protected |
Definition at line 84 of file csvtable.h.
|
protected |
Definition at line 83 of file csvtable.h.