Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
nsCSSValue::URL Struct Reference

#include <nsCSSValue.h>

Inheritance diagram for nsCSSValue::URL:
Inheritance graph
Collaboration diagram for nsCSSValue::URL:
Collaboration graph

List of all members.

Public Member Functions

 URL (nsIURI *aURI, const PRUnichar *aString, nsIURI *aReferrer)
 ~URL ()
PRBool operator== (const URL &aOther)
void AddRef ()
void Release ()

Public Attributes

nsCOMPtr< nsIURImReferrer

Protected Attributes

nsrefcnt mRefCnt

Detailed Description

Definition at line 392 of file nsCSSValue.h.

Constructor & Destructor Documentation

nsCSSValue::URL::URL ( nsIURI aURI,
const PRUnichar aString,
nsIURI aReferrer 
) [inline]

Definition at line 395 of file nsCSSValue.h.

nsCSSValue::URL::~URL ( ) [inline]

Definition at line 404 of file nsCSSValue.h.

      // null |mString| isn't valid normally, but is checked by callers
      // of the constructor
      if (mString)

Here is the call graph for this function:

Member Function Documentation

Reimplemented in nsCSSValue::Image.

Definition at line 427 of file nsCSSValue.h.

{ ++mRefCnt; }
PRBool nsCSSValue::URL::operator== ( const URL aOther) [inline]

Definition at line 413 of file nsCSSValue.h.

      PRBool eq;
      return nsCRT::strcmp(mString, aOther.mString) == 0 &&
             (mURI == aOther.mURI || // handles null == null
              (mURI && aOther.mURI &&
               NS_SUCCEEDED(mURI->Equals(aOther.mURI, &eq)) &&

Reimplemented in nsCSSValue::Image.

Definition at line 428 of file nsCSSValue.h.

{ if (--mRefCnt == 0) delete this; }

Member Data Documentation

Definition at line 430 of file nsCSSValue.h.

Definition at line 425 of file nsCSSValue.h.

Definition at line 424 of file nsCSSValue.h.

Definition at line 423 of file nsCSSValue.h.

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