Planeshift
|
This is a wrapper class for result sets which makes syntax for getting at the data easier and also uses dtors to make ResultSets safer from memory leaks. More...
#include <psdatabase.h>
Public Member Functions | |
unsigned long | Count (void) |
bool | IsValid () |
void | operator= (iResultSet *resset) |
iResultRow & | operator[] (unsigned long whichrow) |
Result (iResultSet *resset) | |
Result () | |
~Result () | |
Public Attributes | |
iResultSet * | rs |
This is a wrapper class for result sets which makes syntax for getting at the data easier and also uses dtors to make ResultSets safer from memory leaks.
Definition at line 132 of file psdatabase.h.
Result::Result | ( | ) | [inline] |
Definition at line 136 of file psdatabase.h.
Result::Result | ( | iResultSet * | resset | ) | [inline] |
Definition at line 137 of file psdatabase.h.
Result::~Result | ( | ) | [inline] |
Definition at line 138 of file psdatabase.h.
unsigned long Result::Count | ( | void | ) | [inline] |
Definition at line 153 of file psdatabase.h.
bool Result::IsValid | ( | ) | [inline] |
Definition at line 140 of file psdatabase.h.
void Result::operator= | ( | iResultSet * | resset | ) | [inline] |
Definition at line 142 of file psdatabase.h.
iResultRow& Result::operator[] | ( | unsigned long | whichrow | ) | [inline] |
Definition at line 148 of file psdatabase.h.
iResultSet* Result::rs |
Definition at line 134 of file psdatabase.h.