#include <simpleRDBTable.h>
Public Member Functions | |
simpleRDBTable (const string &fname, const int mode, const char *header[]) throw ( Exception ) | |
void | print (ostream &os) const |
Type * | readRow () throw ( Exception ) |
Read a row of the RDB table. | |
Static Public Member Functions | |
static void | getData (RDBColumn *rdbcol, string &val) throw ( Exception ) |
Given an RDBColumn, get a string value. | |
static void | getData (RDBColumn *rdbcol, int &val) throw ( Exception ) |
Given an RDBColumn, get an integer value. | |
static void | getData (RDBColumn *rdbcol, long &val) throw ( Exception ) |
Given an RDBColumn, get a long value. | |
static void | getData (RDBColumn *rdbcol, double &val) throw ( Exception ) |
Given an RDBColumn, get a double value. | |
Protected Attributes | |
const char ** | rdb_header |
RDBColumn ** | rdb_column |
Friends | |
ostream & | operator<< (ostream &os, simpleRDBTable< Type > &a) |
ostream & | operator<< (ostream &os, simpleRDBTable< Type > *a) |
Type( const char* header[], RDBColumn** rdb_column ) throw( Exception )
Definition at line 48 of file simpleRDBTable.h.
void simpleRDBTable< Type >::getData | ( | RDBColumn * | rdbcol, | |
string & | val | |||
) | throw ( Exception ) [inline, static] |
void simpleRDBTable< Type >::getData | ( | RDBColumn * | rdbcol, | |
int & | val | |||
) | throw ( Exception ) [inline, static] |
void simpleRDBTable< Type >::getData | ( | RDBColumn * | rdbcol, | |
long & | val | |||
) | throw ( Exception ) [inline, static] |
void simpleRDBTable< Type >::getData | ( | RDBColumn * | rdbcol, | |
double & | val | |||
) | throw ( Exception ) [inline, static] |
Type * simpleRDBTable< Type >::readRow | ( | ) | throw ( Exception ) [inline] |
Read a row of the RDB table.
Definition at line 191 of file simpleRDBTable.cc.
References RDB::_isptr, and RDB::read().