Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
IntImpl Class Reference
Inheritance diagram for IntImpl:
Inheritance graph
Collaboration diagram for IntImpl:
Collaboration graph

List of all members.

Public Member Functions

 IntImpl (PRInt32 s)
virtual ~IntImpl ()
GetValue (PRInt32 *value)
boolean EqualsNode (in nsIRDFNode aNode)

Public Attributes

readonly attribute long Value
 The integer value of the literal.

Private Member Functions

nsresult EqualsInt (nsIRDFInt *value, PRBool *result)

Private Attributes

PRInt32 mValue

Detailed Description

Definition at line 770 of file nsRDFService.cpp.

Constructor & Destructor Documentation

Definition at line 790 of file nsRDFService.cpp.

Here is the call graph for this function:

IntImpl::~IntImpl ( ) [virtual]

Definition at line 797 of file nsRDFService.cpp.


    // Use NS_RELEASE2() here, because we want to decrease the
    // refcount, but not null out the gRDFService pointer (which is
    // what a vanilla NS_RELEASE() would do).
    nsrefcnt refcnt;
    NS_RELEASE2(gRDFService, refcnt);

Here is the call graph for this function:

Member Function Documentation

nsresult IntImpl::EqualsInt ( nsIRDFInt value,
PRBool result 
) [private]

Definition at line 857 of file nsRDFService.cpp.

    NS_ASSERTION(intValue && result, "null ptr");
    if (!intValue || !result)
        return NS_ERROR_NULL_POINTER;

    nsresult rv;
    PRInt32 p;
    if (NS_FAILED(rv = intValue->GetValue(&p)))
        return rv;

    *result = (p == mValue);
    return NS_OK;
boolean nsIRDFNode::EqualsNode ( in nsIRDFNode  aNode) [inherited]

Definition at line 845 of file nsRDFService.cpp.

    NS_ASSERTION(value, "null ptr");
    if (! value)
        return NS_ERROR_NULL_POINTER;

    *value = mValue;
    return NS_OK;

Member Data Documentation

Definition at line 786 of file nsRDFService.cpp.

readonly attribute long nsIRDFInt::Value [inherited]

The integer value of the literal.

Definition at line 82 of file nsIRDFLiteral.idl.

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