Back to index

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

#include <Expr.h>

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

List of all members.

Public Member Functions

 txNameTest (nsIAtom *aPrefix, nsIAtom *aLocalName, PRInt32 aNSID, PRUint16 aNodeType)
 ~txNameTest ()
virtual PRBool matches (const txXPathNode &aNode, txIMatchContext *aContext)=0
virtual double getDefaultPriority ()=0

Public Attributes

 TX_DECL_NODE_TEST

Private Attributes

nsCOMPtr< nsIAtommPrefix
nsCOMPtr< nsIAtommLocalName
PRInt32 mNamespace
PRUint16 mNodeType

Detailed Description

Definition at line 255 of file Expr.h.


Constructor & Destructor Documentation

txNameTest::txNameTest ( nsIAtom aPrefix,
nsIAtom aLocalName,
PRInt32  aNSID,
PRUint16  aNodeType 
)

Definition at line 45 of file txNameTest.cpp.

    :mPrefix(aPrefix), mLocalName(aLocalName), mNamespace(aNSID),
     mNodeType(aNodeType)
{
    if (aPrefix == txXMLAtoms::_empty)
        mPrefix = 0;
    NS_ASSERTION(aLocalName, "txNameTest without a local name?");
    NS_ASSERTION(aNodeType == txXPathNodeType::DOCUMENT_NODE ||
                 aNodeType == txXPathNodeType::ELEMENT_NODE ||
                 aNodeType == txXPathNodeType::ATTRIBUTE_NODE,
                 "Go fix txNameTest::matches");
}

Definition at line 59 of file txNameTest.cpp.

{
}

Member Function Documentation

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

Here is the caller graph for this function:

virtual PRBool txNodeTest::matches ( const txXPathNode aNode,
txIMatchContext aContext 
) [pure virtual, inherited]

Here is the caller graph for this function:


Member Data Documentation

Definition at line 271 of file Expr.h.

Definition at line 272 of file Expr.h.

Definition at line 273 of file Expr.h.

Definition at line 270 of file Expr.h.

Definition at line 267 of file Expr.h.


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