#include "RowsetReader.h"
Definition at line 49 of file RowsetReader.h.
BaseRowsetReader::iterator::iterator |
( |
| ) |
|
|
protected |
virtual size_t BaseRowsetReader::iterator::_rowIndex |
( |
| ) |
const |
|
inlineprotectedvirtual |
virtual void BaseRowsetReader::iterator::_SetRow |
( |
size_t |
rowIndex | ) |
|
|
inlineprotectedvirtual |
std::string BaseRowsetReader::iterator::GetAsString |
( |
size_t |
index | ) |
const |
Definition at line 56 of file RowsetReader.cpp.
References PyObjectEx_Type1::GetType(), PyRep::PyTypeBool, PyRep::PyTypeFloat, PyRep::PyTypeInt, PyRep::PyTypeLong, PyRep::PyTypeNone, PyRep::PyTypeString, PyRep::PyTypeWString, SearchReplace(), and snprintf.
65 return std::to_string(
GetBool( index ) ? 1 : 0 );
67 return std::to_string(
GetInt( index ) );
69 return std::to_string(
GetLong( index ) );
81 str.insert( str.begin(),
'\'' );
82 str.insert( str.end(),
'\'' );
91 str.insert( str.begin(),
'\'' );
92 str.insert( str.end(),
'\'' );
99 snprintf( buf, 64,
"'UNKNOWN TYPE %u'", t );
virtual int64 GetLong(size_t index) const =0
virtual const char * GetString(size_t index) const =0
virtual bool GetBool(size_t index) const =0
virtual PyRep::PyType GetType(size_t index) const =0
PyType
Python wire object types.
virtual double GetFloat(size_t index) const =0
virtual const char * GetWString(size_t index) const =0
virtual uint32 GetInt(size_t index) const =0
void SearchReplace(std::string &subject, const std::string &search, const std::string &replace)
Does search & replace on subject.
virtual bool BaseRowsetReader::iterator::GetBool |
( |
size_t |
index | ) |
const |
|
pure virtual |
virtual double BaseRowsetReader::iterator::GetFloat |
( |
size_t |
index | ) |
const |
|
pure virtual |
virtual uint32 BaseRowsetReader::iterator::GetInt |
( |
size_t |
index | ) |
const |
|
pure virtual |
virtual int64 BaseRowsetReader::iterator::GetLong |
( |
size_t |
index | ) |
const |
|
pure virtual |
virtual const char* BaseRowsetReader::iterator::GetString |
( |
size_t |
index | ) |
const |
|
pure virtual |
virtual PyRep::PyType BaseRowsetReader::iterator::GetType |
( |
size_t |
index | ) |
const |
|
pure virtual |
virtual const char* BaseRowsetReader::iterator::GetWString |
( |
size_t |
index | ) |
const |
|
pure virtual |
virtual bool BaseRowsetReader::iterator::IsNone |
( |
size_t |
index | ) |
const |
|
inlinevirtual |
bool BaseRowsetReader::iterator::operator!= |
( |
const iterator & |
oth | ) |
const |
|
inline |
Definition at line 105 of file RowsetReader.cpp.
References BaseRowsetReader::rowCount().
virtual size_t rowCount() const =0
virtual BaseRowsetReader * _baseReader() const =0
virtual void _SetRow(size_t rowIndex)
virtual size_t _rowIndex() const
const iterator& BaseRowsetReader::iterator::operator++ |
( |
int |
| ) |
|
|
inline |
Definition at line 113 of file RowsetReader.cpp.
virtual void _SetRow(size_t rowIndex)
virtual size_t _rowIndex() const
const iterator& BaseRowsetReader::iterator::operator-- |
( |
int |
| ) |
|
|
inline |
bool BaseRowsetReader::iterator::operator== |
( |
const iterator & |
oth | ) |
const |
size_t BaseRowsetReader::iterator::mRowIndex |
|
protected |
The documentation for this class was generated from the following files:
- /backups/local/src/eve/EvEmu_Crucible/src/eve-common/database/RowsetReader.h
- /backups/local/src/eve/EvEmu_Crucible/src/eve-common/database/RowsetReader.cpp