sbAutoFreeXPCOMArrayByRef< T > Class Template Reference

#include <sbMemoryUtils.h>

Public Member Functions

 sbAutoFreeXPCOMArrayByRef (PRUint32 &aCount, T &aArray)
 
 ~sbAutoFreeXPCOMArrayByRef ()
 

Detailed Description

template<class T>
class sbAutoFreeXPCOMArrayByRef< T >

Auto class that automatically deallocates an external XPCOM array

Definition at line 55 of file sbMemoryUtils.h.

Constructor & Destructor Documentation

template<class T>
sbAutoFreeXPCOMArrayByRef< T >::sbAutoFreeXPCOMArrayByRef ( PRUint32 &  aCount,
T &  aArray 
)
inline

Definition at line 58 of file sbMemoryUtils.h.

template<class T>
sbAutoFreeXPCOMArrayByRef< T >::~sbAutoFreeXPCOMArrayByRef ( )
inline

Definition at line 67 of file sbMemoryUtils.h.


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