Anope IRC Services  Version 2.0
Public Member Functions
SQLiteResult Class Reference
Inheritance diagram for SQLiteResult:
Inheritance graph
Collaboration diagram for SQLiteResult:
Collaboration graph

Public Member Functions

 SQLiteResult (unsigned int i, const Query &q, const Anope::string &fq)
 SQLiteResult (const Query &q, const Anope::string &fq, const Anope::string &err)
void AddRow (const std::map< Anope::string, Anope::string > &data)
- Public Member Functions inherited from SQL::Result
 Result ()
 Result (unsigned int i, const Query &q, const Anope::string &fq, const Anope::string &err="")
 operator bool () const
const unsigned int GetID () const
const QueryGetQuery () const
const Anope::stringGetError () const
int Rows () const
const std::map< Anope::string,
Anope::string > & 
Row (size_t index) const
const Anope::string Get (size_t index, const Anope::string &col) const

Additional Inherited Members

- Data Fields inherited from SQL::Result
unsigned int id
Anope::string finished_query
- Protected Attributes inherited from SQL::Result
std::vector< std::map
< Anope::string, Anope::string > > 
Query query
Anope::string error

Detailed Description

A SQLite result

Definition at line 14 of file m_sqlite.cpp.

Constructor & Destructor Documentation

SQLiteResult::SQLiteResult ( unsigned int  i,
const Query q,
const Anope::string fq 

Definition at line 17 of file m_sqlite.cpp.

SQLiteResult::SQLiteResult ( const Query q,
const Anope::string fq,
const Anope::string err 

Definition at line 21 of file m_sqlite.cpp.

Member Function Documentation

void SQLiteResult::AddRow ( const std::map< Anope::string, Anope::string > &  data)

Definition at line 25 of file m_sqlite.cpp.

Referenced by SQLiteService::RunQuery().

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