Public Types | Public Member Functions | Protected Attributes

nsAutoArrayBase< TArrayBase, N > Class Template Reference

#include <nsTArray.h>

List of all members.

Public Types

typedef TArrayBase base_type
typedef base_type::Header Header
typedef base_type::elem_type elem_type

Public Member Functions

 nsAutoArrayBase ()

Protected Attributes

union {
   char   mAutoBuf [sizeof(Header)+N *sizeof(elem_type)]
   PRUint64   dummy
}; 

template<class TArrayBase, PRUint32 N>
class nsAutoArrayBase< TArrayBase, N >


Member Typedef Documentation

template<class TArrayBase, PRUint32 N>
typedef TArrayBase nsAutoArrayBase< TArrayBase, N >::base_type
template<class TArrayBase, PRUint32 N>
typedef base_type::elem_type nsAutoArrayBase< TArrayBase, N >::elem_type
template<class TArrayBase, PRUint32 N>
typedef base_type::Header nsAutoArrayBase< TArrayBase, N >::Header

Constructor & Destructor Documentation

template<class TArrayBase, PRUint32 N>
nsAutoArrayBase< TArrayBase, N >::nsAutoArrayBase (  )  [inline]

Member Data Documentation

union { ... } [protected]
template<class TArrayBase, PRUint32 N>
PRUint64 nsAutoArrayBase< TArrayBase, N >::dummy
template<class TArrayBase, PRUint32 N>
char nsAutoArrayBase< TArrayBase, N >::mAutoBuf[sizeof(Header)+N *sizeof(elem_type)]

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