Back to index

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

#include <nsISupportsImpl.h>

List of all members.

Public Member Functions

 nsAutoRefCnt ()
 nsAutoRefCnt (nsrefcnt aValue)
nsrefcnt operator++ ()
nsrefcnt operator-- ()
nsrefcnt operator= (nsrefcnt aValue)
 operator nsrefcnt () const
nsrefcnt get () const

Private Member Functions

nsrefcnt operator++ (int)
nsrefcnt operator-- (int)

Private Attributes

nsrefcnt mValue

Detailed Description

Definition at line 91 of file nsISupportsImpl.h.


Constructor & Destructor Documentation

Definition at line 94 of file nsISupportsImpl.h.

: mValue(0) {}
nsAutoRefCnt::nsAutoRefCnt ( nsrefcnt  aValue) [inline]

Definition at line 95 of file nsISupportsImpl.h.

: mValue(aValue) {}

Member Function Documentation

nsrefcnt nsAutoRefCnt::get ( ) const [inline]

Definition at line 103 of file nsISupportsImpl.h.

{ return mValue; }
nsAutoRefCnt::operator nsrefcnt ( ) const [inline]

Definition at line 102 of file nsISupportsImpl.h.

{ return mValue; }
nsrefcnt nsAutoRefCnt::operator++ ( ) [inline]

Definition at line 98 of file nsISupportsImpl.h.

{ return ++mValue; }
nsrefcnt nsAutoRefCnt::operator++ ( int  ) [private]
nsrefcnt nsAutoRefCnt::operator-- ( ) [inline]

Definition at line 99 of file nsISupportsImpl.h.

{ return --mValue; }
nsrefcnt nsAutoRefCnt::operator-- ( int  ) [private]
nsrefcnt nsAutoRefCnt::operator= ( nsrefcnt  aValue) [inline]

Definition at line 101 of file nsISupportsImpl.h.

{ return (mValue = aValue); }

Member Data Documentation

Definition at line 108 of file nsISupportsImpl.h.


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