Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes
nsRDFConMemberTestNode::Element Class Reference

#include <nsRDFConMemberTestNode.h>

Inheritance diagram for nsRDFConMemberTestNode::Element:
Inheritance graph
[legend]
Collaboration diagram for nsRDFConMemberTestNode::Element:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Element (nsIRDFResource *aContainer, nsIRDFNode *aMember)
virtual ~Element ()
virtual const char * Type () const
virtual PLHashNumber Hash () const
virtual PRBool Equals (const MemoryElement &aElement) const
virtual MemoryElementClone (void *aPool) const
PRBool operator== (const MemoryElement &aMemoryElement) const
PRBool operator!= (const MemoryElement &aMemoryElement) const

Static Public Member Functions

static ElementCreate (nsFixedSizeAllocator &aPool, nsIRDFResource *aContainer, nsIRDFNode *aMember)
static void Destroy (nsFixedSizeAllocator &aPool, Element *aElement)

Static Protected Member Functions

static voidoperator new (size_t) CPP_THROW_NEW
static void operator delete (void *, size_t)

Protected Attributes

nsCOMPtr< nsIRDFResourcemContainer
nsCOMPtr< nsIRDFNodemMember

Detailed Description

Definition at line 81 of file nsRDFConMemberTestNode.h.


Constructor & Destructor Documentation

nsRDFConMemberTestNode::Element::Element ( nsIRDFResource aContainer,
nsIRDFNode aMember 
) [inline]

Definition at line 89 of file nsRDFConMemberTestNode.h.

Here is the caller graph for this function:

virtual nsRDFConMemberTestNode::Element::~Element ( ) [inline, virtual]

Definition at line 95 of file nsRDFConMemberTestNode.h.

Here is the caller graph for this function:


Member Function Documentation

virtual MemoryElement* nsRDFConMemberTestNode::Element::Clone ( void aPool) const [inline, virtual]

Implements MemoryElement.

Definition at line 123 of file nsRDFConMemberTestNode.h.

                                                        {
            return Create(*NS_STATIC_CAST(nsFixedSizeAllocator*, aPool),
                          mContainer, mMember); }

Here is the call graph for this function:

static Element* nsRDFConMemberTestNode::Element::Create ( nsFixedSizeAllocator &  aPool,
nsIRDFResource aContainer,
nsIRDFNode aMember 
) [inline, static]

Definition at line 98 of file nsRDFConMemberTestNode.h.

                                    {
            void* place = aPool.Alloc(sizeof(Element));
            return place ? ::new (place) Element(aContainer, aMember) : nsnull; }

Here is the call graph for this function:

Here is the caller graph for this function:

static void nsRDFConMemberTestNode::Element::Destroy ( nsFixedSizeAllocator &  aPool,
Element aElement 
) [inline, static]

Definition at line 105 of file nsRDFConMemberTestNode.h.

                                                                {
            aElement->~Element();
            aPool.Free(aElement, sizeof(*aElement)); }

Here is the call graph for this function:

virtual PRBool nsRDFConMemberTestNode::Element::Equals ( const MemoryElement aElement) const [inline, virtual]

Implements MemoryElement.

Definition at line 116 of file nsRDFConMemberTestNode.h.

                                                                   {
            if (aElement.Type() == Type()) {
                const Element& element = NS_STATIC_CAST(const Element&, aElement);
                return mContainer == element.mContainer && mMember == element.mMember;
            }
            return PR_FALSE; }

Here is the call graph for this function:

virtual PLHashNumber nsRDFConMemberTestNode::Element::Hash ( ) const [inline, virtual]

Implements MemoryElement.

Definition at line 112 of file nsRDFConMemberTestNode.h.

Here is the call graph for this function:

static void nsRDFConMemberTestNode::Element::operator delete ( void ,
size_t   
) [inline, static, protected]

Definition at line 86 of file nsRDFConMemberTestNode.h.

{}
static void* nsRDFConMemberTestNode::Element::operator new ( size_t  ) [inline, static, protected]

Definition at line 85 of file nsRDFConMemberTestNode.h.

{ return 0; }
PRBool MemoryElement::operator!= ( const MemoryElement aMemoryElement) const [inline, inherited]

Definition at line 250 of file nsRuleNetwork.h.

                                                                 {
        return !Equals(aMemoryElement);
    }

Here is the call graph for this function:

PRBool MemoryElement::operator== ( const MemoryElement aMemoryElement) const [inline, inherited]

Definition at line 246 of file nsRuleNetwork.h.

                                                                 {
        return Equals(aMemoryElement);
    }

Here is the call graph for this function:

virtual const char* nsRDFConMemberTestNode::Element::Type ( ) const [inline, virtual]

Implements MemoryElement.

Definition at line 109 of file nsRDFConMemberTestNode.h.

                                         {
            return "nsRDFConMemberTestNode::Element"; }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 128 of file nsRDFConMemberTestNode.h.

Definition at line 129 of file nsRDFConMemberTestNode.h.


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