Back to index

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

#include <nsAbUtils.h>

List of all members.

Public Member Functions

 PRUnicharPtrArrayGuard (PRBool freeElements=PR_TRUE)
 ~PRUnicharPtrArrayGuard ()
PRUnicharoperator[] (int i)
PRUint32GetSizeAddr (void)
PRUint32 GetSize (void)
PRUnichar *** GetArrayAddr (void)
const PRUnichar ** GetArray (void)

Private Member Functions

void Free ()

Private Attributes

PRBool mFreeElements
PRUnichar ** mArray
PRUint32 mSize

Detailed Description

Definition at line 115 of file nsAbUtils.h.


Constructor & Destructor Documentation

Definition at line 118 of file nsAbUtils.h.

                                                           :
        mFreeElements (freeElements),
        mArray (0),
        mSize (0)
    {
    }

Definition at line 125 of file nsAbUtils.h.

    {
        Free ();
    }

Here is the call graph for this function:


Member Function Documentation

void PRUnicharPtrArrayGuard::Free ( ) [inline, private]

Definition at line 161 of file nsAbUtils.h.

Here is the caller graph for this function:

Definition at line 150 of file nsAbUtils.h.

    {
        return (const PRUnichar** ) mArray;
    }

Definition at line 145 of file nsAbUtils.h.

    {
        return &mArray;
    }

Here is the caller graph for this function:

Definition at line 140 of file nsAbUtils.h.

    {
        return mSize;
    }

Here is the caller graph for this function:

Definition at line 135 of file nsAbUtils.h.

    {
        return &mSize;
    }

Here is the caller graph for this function:

PRUnichar* PRUnicharPtrArrayGuard::operator[] ( int  i) [inline]

Definition at line 130 of file nsAbUtils.h.

    {
        return mArray[i];
    }

Member Data Documentation

Definition at line 159 of file nsAbUtils.h.

Definition at line 158 of file nsAbUtils.h.

Definition at line 160 of file nsAbUtils.h.


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