GizmoBase

gzDataSort< T, SORTVAL > Class Template Reference

#include <gzTemplates.h>

List of all members.

Public Member Functions

 gzDataSort (const gzULong entries=100, const gzULong chunkSize=100)
 gzDataSort (const gzDataSort< T, SORTVAL > &right)
 ~gzDataSort ()
gzVoid insert (const T &item, const SORTVAL &sortval, gzBool multipleInstances=TRUE)
gzVoid remove (const T &item, const SORTVAL &sortval)
gzVoid clear ()
gzULong getSize () const
gzVoid setChunkSize (gzULong size)
gzVoid setRealSize (gzULong size)
gzULong getRemoved () const
gzVoid reorder ()
gzVoid operator= (const gzDataSort< T, SORTVAL > &copy)
T & operator[] (gzULong index)
gzVoid getSortedArray (gzArray< T > &arrayOut)

Friends

class gzDataSortIterator< T, SORTVAL >

Classes

struct  AddItem
struct  Item


Detailed Description

template<class T, class SORTVAL = gzDouble>
class gzDataSort< T, SORTVAL >

Definition at line 6678 of file gzTemplates.h.


Constructor & Destructor Documentation

template<class T, class SORTVAL>
gzDataSort< T, SORTVAL >::gzDataSort ( const gzULong  entries = 100,
const gzULong  chunkSize = 100 
) [inline]

Definition at line 6813 of file gzTemplates.h.

References gzMax(), and NULL.

template<class T, class SORTVAL>
gzDataSort< T, SORTVAL >::gzDataSort ( const gzDataSort< T, SORTVAL > &  right  )  [inline]

template<class T, class SORTVAL>
gzDataSort< T, SORTVAL >::~gzDataSort (  )  [inline]

Definition at line 6826 of file gzTemplates.h.


Member Function Documentation

template<class T, class SORTVAL>
gzVoid gzDataSort< T, SORTVAL >::insert ( const T &  item,
const SORTVAL &  sortval,
gzBool  multipleInstances = TRUE 
) [inline]

Definition at line 6834 of file gzTemplates.h.

References FALSE, and TRUE.

Referenced by gzDataSort< T, SORTVAL >::gzDataSort(), and gzDataSort< T, SORTVAL >::operator=().

template<class T, class SORTVAL>
gzVoid gzDataSort< T, SORTVAL >::remove ( const T &  item,
const SORTVAL &  sortval 
) [inline]

Definition at line 6992 of file gzTemplates.h.

References TRUE.

template<class T, class SORTVAL>
gzVoid gzDataSort< T, SORTVAL >::clear (  )  [inline]

template<class T, class SORTVAL>
gzULong gzDataSort< T, SORTVAL >::getSize (  )  const [inline]

template<class T, class SORTVAL>
gzVoid gzDataSort< T, SORTVAL >::setChunkSize ( gzULong  size  )  [inline]

Definition at line 6779 of file gzTemplates.h.

template<class T, class SORTVAL>
gzVoid gzDataSort< T, SORTVAL >::setRealSize ( gzULong  size  )  [inline]

Definition at line 6785 of file gzTemplates.h.

References gzDataSort< T, SORTVAL >::clear().

template<class T, class SORTVAL>
gzULong gzDataSort< T, SORTVAL >::getRemoved (  )  const [inline]

Definition at line 6806 of file gzTemplates.h.

template<class T, class SORTVAL>
gzVoid gzDataSort< T, SORTVAL >::reorder (  )  [inline]

Definition at line 7659 of file gzTemplates.h.

References gzDataSort< T, SORTVAL >::operator=().

template<class T, class SORTVAL>
gzVoid gzDataSort< T, SORTVAL >::operator= ( const gzDataSort< T, SORTVAL > &  copy  )  [inline]

template<class T, class SORTVAL>
T & gzDataSort< T, SORTVAL >::operator[] ( gzULong  index  )  [inline]

template<class T, class SORTVAL>
gzVoid gzDataSort< T, SORTVAL >::getSortedArray ( gzArray< T > &  arrayOut  )  [inline]


Friends And Related Function Documentation

template<class T, class SORTVAL = gzDouble>
friend class gzDataSortIterator< T, SORTVAL > [friend]

Definition at line 6714 of file gzTemplates.h.


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

Documentation for GizmoBase generated at Mon Mar 1 12:10:49 2010 by   Saab Training Systems AB, ¸ (c) 2003-and beyond