LLTable< T > Class Template Reference

#include <lltable.h>

Collaboration diagram for LLTable< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTable (U32 w, U32 h=0)
 ~LLTable ()
void init (const T &t)
const T & at (U32 w, U32 h) const
T & at (U32 w, U32 h)
U32 size () const
U32 w () const
U32 h () const

Private Attributes

T * _tab
U32 _w
U32 _h
U32 _size

Detailed Description

template<class T>
class LLTable< T >

Definition at line 35 of file lltable.h.


Constructor & Destructor Documentation

template<class T>
LLTable< T >::LLTable ( U32  w,
U32  h = 0 
) [inline]

Definition at line 43 of file lltable.h.

References LLTable< T >::_h, LLTable< T >::_size, LLTable< T >::_tab, LLTable< T >::_w, and LLTable< T >::h().

template<class T>
LLTable< T >::~LLTable (  )  [inline]

Definition at line 54 of file lltable.h.

References LLTable< T >::_tab, and NULL.


Member Function Documentation

template<class T>
T& LLTable< T >::at ( U32  w,
U32  h 
) [inline]

Definition at line 66 of file lltable.h.

References LLTable< T >::_tab, and LLTable< T >::_w.

template<class T>
const T& LLTable< T >::at ( U32  w,
U32  h 
) const [inline]

Definition at line 65 of file lltable.h.

References LLTable< T >::_tab, and LLTable< T >::_w.

template<class T>
U32 LLTable< T >::h (  )  const [inline]

Definition at line 69 of file lltable.h.

References LLTable< T >::_h.

Referenced by LLTable< T >::LLTable().

template<class T>
void LLTable< T >::init ( const T &  t  )  [inline]

Definition at line 60 of file lltable.h.

References LLTable< T >::_size, LLTable< T >::_tab, and i.

template<class T>
U32 LLTable< T >::size (  )  const [inline]

Definition at line 67 of file lltable.h.

References LLTable< T >::_size.

template<class T>
U32 LLTable< T >::w (  )  const [inline]

Definition at line 68 of file lltable.h.

References LLTable< T >::_w.


Member Data Documentation

template<class T>
U32 LLTable< T >::_h [private]

Definition at line 40 of file lltable.h.

Referenced by LLTable< T >::h(), and LLTable< T >::LLTable().

template<class T>
U32 LLTable< T >::_size [private]

Definition at line 41 of file lltable.h.

Referenced by LLTable< T >::init(), LLTable< T >::LLTable(), and LLTable< T >::size().

template<class T>
T* LLTable< T >::_tab [private]

Definition at line 38 of file lltable.h.

Referenced by LLTable< T >::at(), LLTable< T >::init(), LLTable< T >::LLTable(), and LLTable< T >::~LLTable().

template<class T>
U32 LLTable< T >::_w [private]

Definition at line 39 of file lltable.h.

Referenced by LLTable< T >::at(), LLTable< T >::LLTable(), and LLTable< T >::w().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:49 2010 for Second Life Viewer by  doxygen 1.4.7