Back to index

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

List of all members.

Public Member Functions

 EvalContextImpl (const txXPathNode &aContextNode, PRUint32 aContextPosition, PRUint32 aContextSize, txResultRecycler *aRecycler)
 ~EvalContextImpl ()
nsresult getError ()
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

Private Attributes

const txXPathNodemContextNode
PRUint32 mContextPosition
PRUint32 mContextSize
nsresult mLastError
nsRefPtr< txResultRecyclermRecycler

Detailed Description

Definition at line 75 of file nsXPathExpression.h.


Constructor & Destructor Documentation

nsXPathExpression::EvalContextImpl::EvalContextImpl ( const txXPathNode aContextNode,
PRUint32  aContextPosition,
PRUint32  aContextSize,
txResultRecycler aRecycler 
) [inline]

Definition at line 78 of file nsXPathExpression.h.

            : mContextNode(aContextNode),
              mContextPosition(aContextPosition),
              mContextSize(aContextSize),
              mLastError(NS_OK),
              mRecycler(aRecycler)
        {
        }

Definition at line 89 of file nsXPathExpression.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:

Definition at line 93 of file nsXPathExpression.h.

        {
            return mLastError;
        }
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:

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

Implemented in txXSLTParamContext, and txSingleNodeContext.

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:

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 101 of file nsXPathExpression.h.

Definition at line 102 of file nsXPathExpression.h.

Definition at line 103 of file nsXPathExpression.h.

Definition at line 104 of file nsXPathExpression.h.

Definition at line 105 of file nsXPathExpression.h.

Definition at line 98 of file nsXPathExpression.h.


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