sqlite3x::sqlite3_reader Class Reference

#include <sqlite3x.hpp>

List of all members.

Public Member Functions

 sqlite3_reader ()
 sqlite3_reader (const sqlite3_reader &copy)
 ~sqlite3_reader ()
sqlite3_readeroperator= (const sqlite3_reader &copy)
bool read ()
void reset ()
void close ()
int getint (int index)
long long getint64 (int index)
double getdouble (int index)
std::string getstring (int index)
std::wstring getstring16 (int index)
std::string getblob (int index)
std::string getcolname (int index)
std::wstring getcolname16 (int index)

Private Member Functions

 sqlite3_reader (sqlite3_command *cmd)

Private Attributes

sqlite3_commandcmd

Friends

class sqlite3_command


Detailed Description

Definition at line 136 of file sqlite3x.hpp.


Constructor & Destructor Documentation

sqlite3x::sqlite3_reader::sqlite3_reader ( sqlite3_command cmd  )  [private]

Definition at line 40 of file sqlite3x_reader.cpp.

References sqlite3x::sqlite3_command::refs.

sqlite3x::sqlite3_reader::sqlite3_reader (  ) 

Definition at line 32 of file sqlite3x_reader.cpp.

sqlite3x::sqlite3_reader::sqlite3_reader ( const sqlite3_reader copy  ) 

Definition at line 35 of file sqlite3x_reader.cpp.

References cmd, and sqlite3x::sqlite3_command::refs.

sqlite3x::sqlite3_reader::~sqlite3_reader (  ) 

Definition at line 45 of file sqlite3x_reader.cpp.

References close().


Member Function Documentation

sqlite3_reader & sqlite3x::sqlite3_reader::operator= ( const sqlite3_reader copy  ) 

Definition at line 50 of file sqlite3x_reader.cpp.

References close(), cmd, and sqlite3x::sqlite3_command::refs.

bool sqlite3x::sqlite3_reader::read (  ) 

Definition at line 60 of file sqlite3x_reader.cpp.

References SQLITE3X_THROW.

Referenced by zypp::cache::CacheInitializer::CacheInitializer(), zypp::repo::cached::RepoImpl::createPatchAndDeltas(), zypp::repo::cached::RepoImpl::createResolvables(), sqlite3x::sqlite3_command::executeblob(), sqlite3x::sqlite3_command::executedouble(), sqlite3x::sqlite3_command::executeint(), sqlite3x::sqlite3_command::executeint64(), sqlite3x::sqlite3_command::executenonquery(), sqlite3x::sqlite3_command::executestring(), sqlite3x::sqlite3_command::executestring16(), zypp::cache::ResolvableQuery::Impl::iterateResolvablesByKindsAndStringsAndRepos(), zypp::cache::CacheStore::lookupOrAppendFile(), zypp::cache::ResolvableQuery::Impl::query(), zypp::cache::ResolvableQuery::Impl::queryDiskUsage(), zypp::cache::ResolvableQuery::Impl::queryNumericAttributeInternal(), zypp::cache::ResolvableQuery::Impl::queryRepositoryAlias(), zypp::cache::ResolvableQuery::Impl::queryRepositoryId(), zypp::cache::ResolvableQuery::Impl::queryStringAttributeTranslationInternal(), zypp::cache::ResolvableQuery::Impl::queryTranslatedStringAttributeInternal(), zypp::cache::CacheTypes::refreshCache(), zypp::cache::CacheStore::repositoryStatus(), and zypp::cache::CacheFSCK::Impl::start().

void sqlite3x::sqlite3_reader::reset (  ) 

Definition at line 75 of file sqlite3x_reader.cpp.

References SQLITE3X_THROW.

void sqlite3x::sqlite3_reader::close (  ) 

Definition at line 83 of file sqlite3x_reader.cpp.

References cmd.

Referenced by zypp::cache::CacheInitializer::CacheInitializer(), zypp::repo::cached::RepoImpl::createPatchAndDeltas(), operator=(), zypp::cache::ResolvableQuery::Impl::queryNumericAttributeInternal(), zypp::cache::ResolvableQuery::Impl::queryStringAttributeTranslationInternal(), zypp::cache::ResolvableQuery::Impl::queryTranslatedStringAttributeInternal(), and ~sqlite3_reader().

int sqlite3x::sqlite3_reader::getint ( int  index  ) 

Definition at line 92 of file sqlite3x_reader.cpp.

References SQLITE3X_THROW.

Referenced by zypp::repo::cached::RepoImpl::createPatchAndDeltas(), zypp::repo::cached::RepoImpl::createResolvables(), sqlite3x::sqlite3_command::executeint(), zypp::cache::ResolvableQuery::Impl::fromRow(), zypp::cache::ResolvableQuery::Impl::queryDiskUsage(), zypp::cache::ResolvableQuery::Impl::queryNumericAttributeInternal(), zypp::cache::ResolvableQuery::Impl::queryStringAttributeTranslationInternal(), and zypp::cache::ResolvableQuery::Impl::queryTranslatedStringAttributeInternal().

long long sqlite3x::sqlite3_reader::getint64 ( int  index  ) 

Definition at line 99 of file sqlite3x_reader.cpp.

References SQLITE3X_THROW.

Referenced by zypp::repo::cached::RepoImpl::createPatchAndDeltas(), zypp::repo::cached::RepoImpl::createResolvables(), sqlite3x::sqlite3_command::executeint64(), zypp::cache::ResolvableQuery::Impl::iterateResolvablesByKindsAndStringsAndRepos(), zypp::cache::CacheStore::lookupOrAppendFile(), zypp::cache::ResolvableQuery::Impl::query(), zypp::cache::ResolvableQuery::Impl::queryRepositoryId(), and zypp::cache::CacheTypes::refreshCache().

double sqlite3x::sqlite3_reader::getdouble ( int  index  ) 

Definition at line 106 of file sqlite3x_reader.cpp.

References SQLITE3X_THROW.

Referenced by sqlite3x::sqlite3_command::executedouble().

std::string sqlite3x::sqlite3_reader::getstring ( int  index  ) 

Definition at line 113 of file sqlite3x_reader.cpp.

References SQLITE3X_THROW.

Referenced by zypp::cache::CacheInitializer::CacheInitializer(), zypp::repo::cached::RepoImpl::createPatchAndDeltas(), zypp::repo::cached::RepoImpl::createResolvables(), sqlite3x::sqlite3_command::executestring(), zypp::cache::ResolvableQuery::Impl::fromRow(), zypp::cache::ResolvableQuery::Impl::queryDiskUsage(), zypp::cache::ResolvableQuery::Impl::queryRepositoryAlias(), zypp::cache::ResolvableQuery::Impl::queryStringAttributeTranslationInternal(), zypp::cache::ResolvableQuery::Impl::queryTranslatedStringAttributeInternal(), zypp::cache::CacheTypes::refreshCache(), zypp::cache::CacheStore::repositoryStatus(), and zypp::cache::CacheFSCK::Impl::start().

std::wstring sqlite3x::sqlite3_reader::getstring16 ( int  index  ) 

Definition at line 120 of file sqlite3x_reader.cpp.

References SQLITE3X_THROW.

Referenced by sqlite3x::sqlite3_command::executestring16().

std::string sqlite3x::sqlite3_reader::getblob ( int  index  ) 

Definition at line 127 of file sqlite3x_reader.cpp.

References SQLITE3X_THROW.

Referenced by sqlite3x::sqlite3_command::executeblob().

std::string sqlite3x::sqlite3_reader::getcolname ( int  index  ) 

Definition at line 134 of file sqlite3x_reader.cpp.

References SQLITE3X_THROW.

std::wstring sqlite3x::sqlite3_reader::getcolname16 ( int  index  ) 

Definition at line 141 of file sqlite3x_reader.cpp.

References SQLITE3X_THROW.


Friends And Related Function Documentation

friend class sqlite3_command [friend]

Definition at line 139 of file sqlite3x.hpp.


Member Data Documentation

sqlite3_command* sqlite3x::sqlite3_reader::cmd [private]

Definition at line 141 of file sqlite3x.hpp.

Referenced by close(), operator=(), and sqlite3_reader().


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:13 2007 for libzypp by  doxygen 1.5.3