UT_RefFixArray< utRef, FixedSize > Class Template Reference

#include <UT_RefFixArray.h>

List of all members.

Public Member Functions

 UT_RefFixArray (void)
virtual ~UT_RefFixArray (void)
long insert (const utRef &t, unsigned short duplicates=1)
long insert (const utRef &t, unsigned long index, unsigned short duplicates=1)
long insert (const utRef &t, int(*compare)(const void *t1, const void *t2))
long insert (const utRef &t, unsigned long index, int(*compare)(const void *t1, const void *t2))
long remove (const utRef &t, unsigned short duplicates=1)
long remove (unsigned long index, unsigned short duplicates=1)
long remove (const utRef &t, int(*compare)(const void *t1, const void *t2), unsigned short duplicates=1)
long remove (unsigned long index, int(*compare)(const void *t1, const void *t2), unsigned short duplicates=1)
int shift (unsigned long srcIdx, unsigned long destIdx, unsigned long howMany)
long find (const utRef &t) const
long find (const utRef &t, int(*compare)(const void *t1, const void *t2)) const
void sort (int(*compare)(const void *t1, const void *t2))
uint capacity (void) const
int64 getMemoryUsage () const
uint entries (void) const
bool isEmpty (void) const
utRef & operator() (unsigned long i)
const utRef & operator() (unsigned long i) const
utRef & operator[] (unsigned long i)
const utRef & operator[] (unsigned long i) const
unsigned long apply (int(*applyFct)(utRef &t, void *d), void *d)

Protected Member Functions

void entries (unsigned long ne)


Detailed Description

template<class utRef, unsigned long FixedSize>
class UT_RefFixArray< utRef, FixedSize >

Definition at line 41 of file UT_RefFixArray.h.


Constructor & Destructor Documentation

template<class utRef , unsigned long FixedSize>
UT_RefFixArray< utRef, FixedSize >::UT_RefFixArray ( void   )  [inline]

Definition at line 44 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
UT_RefFixArray< utRef, FixedSize >::~UT_RefFixArray ( void   )  [inline, virtual]

Definition at line 50 of file UT_RefFixArray.C.


Member Function Documentation

template<class utRef , unsigned long FixedSize>
unsigned long UT_RefFixArray< utRef, FixedSize >::apply ( int(*)(utRef &t, void *d)  applyFct,
void *  d 
) [inline]

Definition at line 224 of file UT_RefFixArray.C.

template<class utRef , unsigned long FixedSize>
uint UT_RefFixArray< utRef, FixedSize >::capacity ( void   )  const [inline]

Definition at line 127 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
void UT_RefFixArray< utRef, FixedSize >::entries ( unsigned long  ne  )  [inline, protected]

Definition at line 165 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
uint UT_RefFixArray< utRef, FixedSize >::entries ( void   )  const [inline]

Definition at line 129 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
long UT_RefFixArray< utRef, FixedSize >::find ( const utRef &  t,
int(*)(const void *t1, const void *t2)  compare 
) const [inline]

Definition at line 206 of file UT_RefFixArray.C.

template<class utRef , unsigned long FixedSize>
long UT_RefFixArray< utRef, FixedSize >::find ( const utRef &  t  )  const [inline]

Definition at line 195 of file UT_RefFixArray.C.

template<class utRef , unsigned long FixedSize>
int64 UT_RefFixArray< utRef, FixedSize >::getMemoryUsage ( void   )  const [inline]

Definition at line 128 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
long UT_RefFixArray< utRef, FixedSize >::insert ( const utRef &  t,
unsigned long  index,
int(*)(const void *t1, const void *t2)  compare 
) [inline]

Definition at line 91 of file UT_RefFixArray.C.

template<class utRef , unsigned long FixedSize>
long UT_RefFixArray< utRef, FixedSize >::insert ( const utRef &  t,
int(*)(const void *t1, const void *t2)  compare 
) [inline]

Definition at line 78 of file UT_RefFixArray.C.

template<class utRef , unsigned long FixedSize>
long UT_RefFixArray< utRef, FixedSize >::insert ( const utRef &  t,
unsigned long  index,
unsigned short  duplicates = 1 
) [inline]

Definition at line 67 of file UT_RefFixArray.C.

template<class utRef , unsigned long FixedSize>
long UT_RefFixArray< utRef, FixedSize >::insert ( const utRef &  t,
unsigned short  duplicates = 1 
) [inline]

Definition at line 54 of file UT_RefFixArray.C.

template<class utRef , unsigned long FixedSize>
bool UT_RefFixArray< utRef, FixedSize >::isEmpty ( void   )  const [inline]

Definition at line 130 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
const utRef& UT_RefFixArray< utRef, FixedSize >::operator() ( unsigned long  i  )  const [inline]

Definition at line 139 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
utRef& UT_RefFixArray< utRef, FixedSize >::operator() ( unsigned long  i  )  [inline]

Definition at line 133 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
const utRef& UT_RefFixArray< utRef, FixedSize >::operator[] ( unsigned long  i  )  const [inline]

Definition at line 150 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
utRef& UT_RefFixArray< utRef, FixedSize >::operator[] ( unsigned long  i  )  [inline]

Definition at line 144 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
long UT_RefFixArray< utRef, FixedSize >::remove ( unsigned long  index,
int(*)(const void *t1, const void *t2)  compare,
unsigned short  duplicates = 1 
) [inline]

Definition at line 98 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
long UT_RefFixArray< utRef, FixedSize >::remove ( const utRef &  t,
int(*)(const void *t1, const void *t2)  compare,
unsigned short  duplicates = 1 
) [inline]

Definition at line 139 of file UT_RefFixArray.C.

template<class utRef , unsigned long FixedSize>
long UT_RefFixArray< utRef, FixedSize >::remove ( unsigned long  index,
unsigned short  duplicates = 1 
) [inline]

Definition at line 85 of file UT_RefFixArray.h.

template<class utRef , unsigned long FixedSize>
long UT_RefFixArray< utRef, FixedSize >::remove ( const utRef &  t,
unsigned short  duplicates = 1 
) [inline]

Definition at line 102 of file UT_RefFixArray.C.

template<class utRef , unsigned long FixedSize>
int UT_RefFixArray< utRef, FixedSize >::shift ( unsigned long  srcIdx,
unsigned long  destIdx,
unsigned long  howMany 
) [inline]

Definition at line 178 of file UT_RefFixArray.C.

template<class utRef , unsigned long FixedSize>
void UT_RefFixArray< utRef, FixedSize >::sort ( int(*)(const void *t1, const void *t2)  compare  ) 


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

Generated on Mon Jan 28 00:49:12 2013 for HDK by  doxygen 1.5.9