Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsRuleWalker Class Reference

#include <nsRuleWalker.h>

Collaboration diagram for nsRuleWalker:
Collaboration graph
[legend]

List of all members.

Public Member Functions

nsRuleNodeGetCurrentNode ()
void SetCurrentNode (nsRuleNode *aNode)
void Forward (nsIStyleRule *aRule)
void Back ()
void Reset ()
PRBool AtRoot ()
 nsRuleWalker (nsRuleNode *aRoot)
 ~nsRuleWalker ()

Private Attributes

nsRuleNodemCurrent
nsRuleNodemRoot

Detailed Description

Definition at line 41 of file nsRuleWalker.h.


Constructor & Destructor Documentation

nsRuleWalker::nsRuleWalker ( nsRuleNode aRoot) [inline]

Definition at line 66 of file nsRuleWalker.h.

:mCurrent(aRoot), mRoot(aRoot) { MOZ_COUNT_CTOR(nsRuleWalker); };

Definition at line 67 of file nsRuleWalker.h.


Member Function Documentation

Definition at line 59 of file nsRuleWalker.h.

{ return mCurrent == mRoot; }

Here is the caller graph for this function:

void nsRuleWalker::Back ( void  ) [inline]

Definition at line 52 of file nsRuleWalker.h.

Here is the call graph for this function:

void nsRuleWalker::Forward ( nsIStyleRule aRule) [inline]

Definition at line 46 of file nsRuleWalker.h.

                                    { 
    nsRuleNode* next;
    mCurrent->Transition(aRule, &next);
    mCurrent = next;
  }

Here is the caller graph for this function:

Definition at line 43 of file nsRuleWalker.h.

{ return mCurrent; }

Here is the caller graph for this function:

void nsRuleWalker::Reset ( void  ) [inline]

Definition at line 57 of file nsRuleWalker.h.

{ mCurrent = mRoot; }

Here is the caller graph for this function:

Definition at line 44 of file nsRuleWalker.h.

{ mCurrent = aNode; }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 62 of file nsRuleWalker.h.

Definition at line 63 of file nsRuleWalker.h.


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