Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
txNodeSetContext Class Reference

#include <txNodeSetContext.h>

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

List of all members.

Public Member Functions

 txNodeSetContext (txNodeSet *aContextNodeSet, txIMatchContext *aContext)
virtual ~txNodeSetContext ()
MBool hasNext ()
void next ()
void setPosition (PRUint32 aPosition)
virtual const txXPathNodegetContextNode ()=0
virtual PRUint32 size ()=0
virtual PRUint32 position ()=0
virtual nsresult getVariable (PRInt32 aNamespace, nsIAtom *aLName, txAExprResult *&aResult)=0
virtual MBool isStripSpaceAllowed (const txXPathNode &aNode)=0
virtual voidgetPrivateContext ()=0
 Returns a pointer to the private context.
virtual txResultRecyclerrecycler ()=0
virtual void receiveError (const nsAString &aMsg, nsresult aRes)=0

Public Attributes

 TX_DECL_EVAL_CONTEXT

Protected Attributes

nsRefPtr< txNodeSetmContextSet
PRUint32 mPosition
txIMatchContextmInner

Detailed Description

Definition at line 46 of file txNodeSetContext.h.


Constructor & Destructor Documentation

txNodeSetContext::txNodeSetContext ( txNodeSet aContextNodeSet,
txIMatchContext aContext 
) [inline]

Definition at line 49 of file txNodeSetContext.h.

        : mContextSet(aContextNodeSet), mPosition(0), mInner(aContext)
    {
    }
virtual txNodeSetContext::~txNodeSetContext ( ) [inline, virtual]

Definition at line 53 of file txNodeSetContext.h.

    {
    }

Member Function Documentation

virtual const txXPathNode& txIEvalContext::getContextNode ( ) [pure virtual, inherited]

Implemented in txXSLTParamContext, and txSingleNodeContext.

Here is the caller graph for this function:

virtual void* txIMatchContext::getPrivateContext ( ) [pure virtual, inherited]

Returns a pointer to the private context.

Implemented in txXSLTParamContext, and txSingleNodeContext.

Here is the caller graph for this function:

virtual nsresult txIMatchContext::getVariable ( PRInt32  aNamespace,
nsIAtom aLName,
txAExprResult *&  aResult 
) [pure virtual, inherited]

Implemented in txXSLTParamContext, and txSingleNodeContext.

Here is the caller graph for this function:

Definition at line 58 of file txNodeSetContext.h.

    {
        return mPosition < size();
    }

Here is the call graph for this function:

Here is the caller graph for this function:

virtual MBool txIMatchContext::isStripSpaceAllowed ( const txXPathNode aNode) [pure virtual, inherited]

Implemented in txXSLTParamContext, and txSingleNodeContext.

Here is the caller graph for this function:

Definition at line 62 of file txNodeSetContext.h.

    {
        NS_ASSERTION(mPosition < size(), "Out of bounds.");
        mPosition++;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

virtual PRUint32 txIEvalContext::position ( ) [pure virtual, inherited]

Implemented in txXSLTParamContext, and txSingleNodeContext.

Here is the caller graph for this function:

virtual void txIMatchContext::receiveError ( const nsAString &  aMsg,
nsresult  aRes 
) [pure virtual, inherited]

Implemented in txXSLTParamContext, and txSingleNodeContext.

Here is the caller graph for this function:

virtual txResultRecycler* txIMatchContext::recycler ( ) [pure virtual, inherited]

Implemented in txXSLTParamContext, and txSingleNodeContext.

Here is the caller graph for this function:

void txNodeSetContext::setPosition ( PRUint32  aPosition) [inline]

Definition at line 67 of file txNodeSetContext.h.

    {
        NS_ASSERTION(aPosition > 0 &&
                     aPosition <= size(), "Out of bounds.");
        mPosition = aPosition;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

virtual PRUint32 txIEvalContext::size ( ) [pure virtual, inherited]

Implemented in txXSLTParamContext, and txSingleNodeContext.

Here is the caller graph for this function:


Member Data Documentation

Definition at line 77 of file txNodeSetContext.h.

Definition at line 79 of file txNodeSetContext.h.

Definition at line 78 of file txNodeSetContext.h.

Definition at line 74 of file txNodeSetContext.h.


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