Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes
nsMatchesTopic Class Reference
Inheritance diagram for nsMatchesTopic:
Inheritance graph
[legend]
Collaboration diagram for nsMatchesTopic:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsMatchesTopic (const nsAString &aString)
virtual voidoperator() (void *anObject)

Public Attributes

PRBool matched
nsObserverEntryentry

Private Attributes

const nsAString & mString

Detailed Description

Definition at line 228 of file nsParserService.cpp.


Constructor & Destructor Documentation

nsMatchesTopic::nsMatchesTopic ( const nsAString &  aString) [inline]

Definition at line 233 of file nsParserService.cpp.

:mString(aString),matched(PR_FALSE){};

Member Function Documentation

virtual void* nsMatchesTopic::operator() ( void anObject) [inline, virtual]

Implements nsDequeFunctor.

Definition at line 234 of file nsParserService.cpp.

                                          {
    entry=NS_STATIC_CAST(nsObserverEntry*, anObject);
    matched=mString.Equals(entry->mTopic);
    return matched ? nsnull : anObject;
  };

Member Data Documentation

Definition at line 232 of file nsParserService.cpp.

Definition at line 231 of file nsParserService.cpp.

const nsAString& nsMatchesTopic::mString [private]

Definition at line 229 of file nsParserService.cpp.


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