LLStrider< Object > Class Template Reference

#include <llstrider.h>

Collaboration diagram for LLStrider< Object >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLStrider ()
 ~LLStrider ()
const LLStrider< Object > & operator= (Object *first)
void setStride (S32 skipBytes)
void skip (const U32 index)
Object * get ()
Object * operator-> ()
Object & operator * ()
Object * operator++ (int)
Object * operator+= (int i)
Object & operator[] (U32 index)

Private Attributes

union {
   Object *   mObjectp
   U8 *   mBytep
}; 
U32 mSkip

Detailed Description

template<class Object>
class LLStrider< Object >

Definition at line 36 of file llstrider.h.


Constructor & Destructor Documentation

template<class Object>
LLStrider< Object >::LLStrider (  )  [inline]

Definition at line 46 of file llstrider.h.

References LLStrider< Object >::mObjectp, LLStrider< Object >::mSkip, and NULL.

template<class Object>
LLStrider< Object >::~LLStrider (  )  [inline]

Definition at line 47 of file llstrider.h.


Member Function Documentation

template<class Object>
Object* LLStrider< Object >::get (  )  [inline]

Definition at line 54 of file llstrider.h.

References LLStrider< Object >::mObjectp.

Referenced by LLVOSurfacePatch::updateEastGeometry(), LLVOSurfacePatch::updateMainGeometry(), and LLVOSurfacePatch::updateNorthGeometry().

template<class Object>
Object& LLStrider< Object >::operator * (  )  [inline]

Definition at line 56 of file llstrider.h.

References LLStrider< Object >::mObjectp.

template<class Object>
Object* LLStrider< Object >::operator++ ( int   )  [inline]

Definition at line 57 of file llstrider.h.

References LLStrider< Object >::mBytep, LLStrider< Object >::mObjectp, and LLStrider< Object >::mSkip.

template<class Object>
Object* LLStrider< Object >::operator+= ( int  i  )  [inline]

Definition at line 58 of file llstrider.h.

References LLStrider< Object >::mBytep, LLStrider< Object >::mObjectp, and LLStrider< Object >::mSkip.

template<class Object>
Object* LLStrider< Object >::operator-> (  )  [inline]

Definition at line 55 of file llstrider.h.

References LLStrider< Object >::mObjectp.

template<class Object>
const LLStrider<Object>& LLStrider< Object >::operator= ( Object *  first  )  [inline]

Definition at line 49 of file llstrider.h.

References LLStrider< Object >::mObjectp.

template<class Object>
Object& LLStrider< Object >::operator[] ( U32  index  )  [inline]

Definition at line 59 of file llstrider.h.

References LLStrider< Object >::mBytep, and LLStrider< Object >::mSkip.

template<class Object>
void LLStrider< Object >::setStride ( S32  skipBytes  )  [inline]

Definition at line 50 of file llstrider.h.

References LLStrider< Object >::mSkip.

Referenced by VertexBufferStrider< T, type >::get().

template<class Object>
void LLStrider< Object >::skip ( const U32  index  )  [inline]

Definition at line 52 of file llstrider.h.

References LLStrider< Object >::mBytep, and LLStrider< Object >::mSkip.


Member Data Documentation

union { ... } [private]

template<class Object>
U8* LLStrider< Object >::mBytep [private]

Definition at line 41 of file llstrider.h.

Referenced by LLStrider< Object >::operator++(), LLStrider< Object >::operator+=(), LLStrider< Object >::operator[](), and LLStrider< Object >::skip().

template<class Object>
Object* LLStrider< Object >::mObjectp [private]

Definition at line 40 of file llstrider.h.

Referenced by LLStrider< Object >::get(), LLStrider< Object >::LLStrider(), LLStrider< Object >::operator *(), LLStrider< Object >::operator++(), LLStrider< Object >::operator+=(), LLStrider< Object >::operator->(), and LLStrider< Object >::operator=().

template<class Object>
U32 LLStrider< Object >::mSkip [private]

Definition at line 43 of file llstrider.h.

Referenced by LLStrider< Object >::LLStrider(), LLStrider< Object >::operator++(), LLStrider< Object >::operator+=(), LLStrider< Object >::operator[](), LLStrider< Object >::setStride(), and LLStrider< Object >::skip().


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