Back to index

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

#include <txXSLTPatterns.h>

Inheritance diagram for txLocPathPattern:
Inheritance graph
[legend]
Collaboration diagram for txLocPathPattern:
Collaboration graph
[legend]

List of all members.

Classes

class  Step

Public Member Functions

 txLocPathPattern ()
 ~txLocPathPattern ()
nsresult addStep (txPattern *aPattern, MBool isChild)
virtual MBool matches (const txXPathNode &aNode, txIMatchContext *aContext)=0
virtual double getDefaultPriority ()=0
virtual nsresult getSimplePatterns (txList &aList)

Public Attributes

 TX_DECL_PATTERN

Private Attributes

txList mSteps

Detailed Description

Definition at line 124 of file txXSLTPatterns.h.


Constructor & Destructor Documentation

Definition at line 127 of file txXSLTPatterns.h.

    {
    }

Definition at line 163 of file txXSLTPatterns.cpp.

{
    txListIterator iter(&mSteps);
    while (iter.hasNext()) {
         delete (Step*)iter.next();
    }
}

Here is the call graph for this function:


Member Function Documentation

nsresult txLocPathPattern::addStep ( txPattern aPattern,
MBool  isChild 
)

Definition at line 171 of file txXSLTPatterns.cpp.

{
    if (!aPattern)
        return NS_ERROR_NULL_POINTER;
    Step* step = new Step(aPattern, isChild);
    if (!step)
        return NS_ERROR_OUT_OF_MEMORY;
    mSteps.add(step);
    return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

virtual double txPattern::getDefaultPriority ( ) [pure virtual, inherited]

Here is the caller graph for this function:

nsresult txPattern::getSimplePatterns ( txList aList) [virtual, inherited]

Definition at line 56 of file txXSLTPatterns.cpp.

{
    aList.add(this);
    return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

virtual MBool txPattern::matches ( const txXPathNode aNode,
txIMatchContext aContext 
) [pure virtual, inherited]

Here is the caller graph for this function:


Member Data Documentation

Definition at line 154 of file txXSLTPatterns.h.

Definition at line 135 of file txXSLTPatterns.h.


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