Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Private Member Functions | Friends
nsImapSearchResultSequence Class Reference

#include <nsImapSearchResults.h>

List of all members.

Public Member Functions

virtual ~nsImapSearchResultSequence ()
virtual void AddSearchResultLine (const char *searchLine)
virtual void ResetSequence ()
void Clear ()

Static Public Member Functions

static nsImapSearchResultSequenceCreateSearchResultSequence ()

Private Member Functions

 nsImapSearchResultSequence ()

Friends

class nsImapSearchResultIterator

Detailed Description

Definition at line 42 of file nsImapSearchResults.h.


Constructor & Destructor Documentation

Definition at line 67 of file nsImapSearchResults.cpp.

{
  Clear();
}

Here is the call graph for this function:

Definition at line 44 of file nsImapSearchResults.cpp.

{
}

Here is the caller graph for this function:


Member Function Documentation

Definition at line 78 of file nsImapSearchResults.cpp.

{
  // The first add becomes node 2.  Fix this.
  char *copiedSequence = PL_strdup(searchLine + 9); // 9 == "* SEARCH "
  
  if (copiedSequence)       // if we can't allocate this then the search won't hit
    AppendElement(copiedSequence);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 53 of file nsImapSearchResults.cpp.

{
  if (mImpl) 
  {
    PRInt32 i = mImpl->mCount;
    while (0 <= --i) 
    {
      char* string = (char*)mImpl->mArray[i];
      PR_Free(string);
    }
    nsVoidArray::Clear();
  }
}

Here is the caller graph for this function:

Definition at line 48 of file nsImapSearchResults.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 73 of file nsImapSearchResults.cpp.

{
  Clear();
}

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class nsImapSearchResultIterator [friend]

Definition at line 52 of file nsImapSearchResults.h.


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