UT_PtrArraySorted< utPtr > Class Template Reference

#include <UT_PtrArraySorted.h>

List of all members.

Public Member Functions

 UT_PtrArraySorted ()
 UT_PtrArraySorted (typename UT_PtrArray< utPtr >::Comparator comparator)
virtual ~UT_PtrArraySorted ()
void setComparator (typename UT_PtrArray< utPtr >::Comparator cmp)
void sort ()
int entries () const
void entries (int newnumentries)
void resize (int newsize)
utPtr operator() (int index) const
utPtr last () const
int find (utPtr ptr) const
int findString (const char *str) const
bool operator== (const UT_PtrArraySorted &cmp) const
bool containsAny (const UT_PtrArraySorted &cmp) const
bool containsFully (const UT_PtrArraySorted &cmp) const
void remove (int index)
void remove (utPtr ptr)
void remove (const UT_PtrArraySorted &src)
void keepOnly (const UT_PtrArraySorted &src)
const UT_PtrArraySortedoperator= (const UT_PtrArraySorted &src)
int add (utPtr ptr)
void set (const UT_PtrArraySorted &src)
void setUnsorted (const UT_PtrArray< utPtr > &src, UT_PtrArraySorted &duplicates)
void merge (const UT_PtrArraySorted &src)
void mergeSelected (const UT_PtrArraySorted &src, bool(*selectfunc)(utPtr))
void appendUnsafe (utPtr ptr)
const UT_PtrArray< utPtr > & getRawArray () const
UT_PtrArray< utPtr > & getRawArray ()


Detailed Description

template<class utPtr>
class UT_PtrArraySorted< utPtr >

Definition at line 20 of file UT_PtrArraySorted.h.


Constructor & Destructor Documentation

template<class utPtr>
UT_PtrArraySorted< utPtr >::UT_PtrArraySorted (  )  [inline]

Definition at line 23 of file UT_PtrArraySorted.h.

template<class utPtr>
UT_PtrArraySorted< utPtr >::UT_PtrArraySorted ( typename UT_PtrArray< utPtr >::Comparator  comparator  )  [inline]

Definition at line 29 of file UT_PtrArraySorted.h.

template<class utPtr>
virtual UT_PtrArraySorted< utPtr >::~UT_PtrArraySorted (  )  [inline, virtual]

Definition at line 33 of file UT_PtrArraySorted.h.


Member Function Documentation

template<class utPtr>
int UT_PtrArraySorted< utPtr >::add ( utPtr  ptr  )  [inline]

Definition at line 216 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::appendUnsafe ( utPtr  ptr  )  [inline]

Definition at line 316 of file UT_PtrArraySorted.h.

template<class utPtr>
bool UT_PtrArraySorted< utPtr >::containsAny ( const UT_PtrArraySorted< utPtr > &  cmp  )  const [inline]

Definition at line 81 of file UT_PtrArraySorted.h.

template<class utPtr>
bool UT_PtrArraySorted< utPtr >::containsFully ( const UT_PtrArraySorted< utPtr > &  cmp  )  const [inline]

Definition at line 111 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::entries ( int  newnumentries  )  [inline]

Definition at line 44 of file UT_PtrArraySorted.h.

template<class utPtr>
int UT_PtrArraySorted< utPtr >::entries ( void   )  const [inline]

Definition at line 42 of file UT_PtrArraySorted.h.

template<class utPtr>
int UT_PtrArraySorted< utPtr >::find ( utPtr  ptr  )  const [inline]

Definition at line 53 of file UT_PtrArraySorted.h.

template<class utPtr>
int UT_PtrArraySorted< utPtr >::findString ( const char *  str  )  const [inline]

Definition at line 56 of file UT_PtrArraySorted.h.

template<class utPtr>
UT_PtrArray<utPtr>& UT_PtrArraySorted< utPtr >::getRawArray (  )  [inline]

Definition at line 322 of file UT_PtrArraySorted.h.

template<class utPtr>
const UT_PtrArray<utPtr>& UT_PtrArraySorted< utPtr >::getRawArray (  )  const [inline]

Definition at line 319 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::keepOnly ( const UT_PtrArraySorted< utPtr > &  src  )  [inline]

Definition at line 179 of file UT_PtrArraySorted.h.

template<class utPtr>
utPtr UT_PtrArraySorted< utPtr >::last (  )  const [inline]

Definition at line 51 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::merge ( const UT_PtrArraySorted< utPtr > &  src  )  [inline]

Definition at line 247 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::mergeSelected ( const UT_PtrArraySorted< utPtr > &  src,
bool(*)(utPtr)  selectfunc 
) [inline]

Definition at line 276 of file UT_PtrArraySorted.h.

template<class utPtr>
utPtr UT_PtrArraySorted< utPtr >::operator() ( int  index  )  const [inline]

Definition at line 49 of file UT_PtrArraySorted.h.

template<class utPtr>
const UT_PtrArraySorted& UT_PtrArraySorted< utPtr >::operator= ( const UT_PtrArraySorted< utPtr > &  src  )  [inline]

Definition at line 214 of file UT_PtrArraySorted.h.

template<class utPtr>
bool UT_PtrArraySorted< utPtr >::operator== ( const UT_PtrArraySorted< utPtr > &  cmp  )  const [inline]

Definition at line 59 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::remove ( const UT_PtrArraySorted< utPtr > &  src  )  [inline]

Definition at line 147 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::remove ( utPtr  ptr  )  [inline]

Definition at line 145 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::remove ( int  index  )  [inline]

Definition at line 143 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::resize ( int  newsize  )  [inline]

Definition at line 46 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::set ( const UT_PtrArraySorted< utPtr > &  src  )  [inline]

Definition at line 221 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::setComparator ( typename UT_PtrArray< utPtr >::Comparator  cmp  )  [inline]

Definition at line 36 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::setUnsorted ( const UT_PtrArray< utPtr > &  src,
UT_PtrArraySorted< utPtr > &  duplicates 
) [inline]

Definition at line 226 of file UT_PtrArraySorted.h.

template<class utPtr>
void UT_PtrArraySorted< utPtr >::sort ( void   )  [inline]

Definition at line 39 of file UT_PtrArraySorted.h.


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

Generated on Thu Jan 31 00:33:30 2013 for HDK by  doxygen 1.5.9