CWikiDb Class Reference

List of all members.

Public Member Functions

 ~CWikiDb ()
void SearchL (const TDesC &aPrefix, MWikiCountObserver *aObserver)
void PageUpL (const TDesC &aPrefix)
TBool Next ()
const TInt GetTitle (TPtrC &aTitle)
const TDesC8 & GetArticleContentL ()
const TDesC8 & GetArticleContentL (const TDesC &aTitle)
const TDesC8 & GetArticleContentL (const TDesC8 &aTitle)
void SetCurrentArticleL (const TDesC &aTitle)
const TDesC8 & GetCurrentArticleContentL ()
TBool DoesNextItemExist ()
TInt CurrentPage ()
TInt CurrentItem ()
TInt NumRecords ()
void DoCancel ()
void RunL ()

Static Public Member Functions

static CWikiDbNewL ()

Protected Attributes

RSqlDatabase iDatabase
RSqlStatement iStatement
RSqlStatement iCountStatement
RBuf8 iQueryBuf
RBuf8 iCountBuf
RBuf8 iUtf8Chars
RBuf8 iArticleText
HBufC * iCurArticleTitle
MWikiCountObserveriObserver
TRequestCode iRequestCode
TRequestStatus * iRequestStatus
RBuf8 iRequestTitle
TPtrC8 * iRequestBuffer
TInt iCurItem
TInt iCurPage
TBool iAtNextItem
TInt iNumRecords

Detailed Description

Definition at line 75 of file WikiDb.h.


Constructor & Destructor Documentation

CWikiDb::~CWikiDb (  ) 

~CWikiDb Destructor

Definition at line 27 of file WikiDb.cpp.


Member Function Documentation

CWikiDb * CWikiDb::NewL (  )  [static]

NewL 1st phase Constructor

Definition at line 40 of file WikiDb.cpp.

TBool CWikiDb::Next (  ) 

Offers traversal of results specified by previous call to Search.

Returns:
ETrue if there are more elements to traverse

Definition at line 93 of file WikiDb.cpp.

const TInt CWikiDb::GetTitle ( TPtrC &  aTitle  ) 

Get the title of the article currently under cursor.

Definition at line 118 of file WikiDb.cpp.

const TDesC8 & CWikiDb::GetArticleContentL (  ) 

Get the content of the article currently under cursor.

Definition at line 126 of file WikiDb.cpp.

const TDesC8 & CWikiDb::GetArticleContentL ( const TDesC &  aTitle  ) 

Get the article content by title.

Definition at line 138 of file WikiDb.cpp.

const TDesC8 & CWikiDb::GetArticleContentL ( const TDesC8 &  aTitle  ) 

Get the article content by title.

Definition at line 147 of file WikiDb.cpp.

void CWikiDb::SetCurrentArticleL ( const TDesC &  aTitle  ) 

Set the current article content by title

Definition at line 276 of file WikiDb.cpp.

const TDesC8 & CWikiDb::GetCurrentArticleContentL (  ) 

Get the current article content

Definition at line 282 of file WikiDb.cpp.


Generated by  doxygen 1.6.2