Planeshift
Result Struct Reference

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 ()
 
 Result (iResultSet *resset)
 
 ~Result ()
 

Public Attributes

iResultSet * rs
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Member Data Documentation

iResultSet* Result::rs

Definition at line 134 of file psdatabase.h.


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