HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_PtrArraySorted< T > Class Template Reference

#include <SIM_PtrArraySorted.h>

Public Member Functions

 SIM_PtrArraySorted ()
 
 SIM_PtrArraySorted (typename UT_ValArray< T >::Comparator comparator)
 
 SIM_PtrArraySorted (const SIM_PtrArraySorted &src)
 
virtual ~SIM_PtrArraySorted ()
 
void setComparator (typename UT_ValArray< T >::Comparator cmp)
 
void sort ()
 
exint size () const
 
void setSize (exint newsize)
 
void setCapacity (exint newcapacity)
 
exint entries () const
 
void entries (int newnumentries)
 
void resize (int newsize)
 
T operator() (int index) const
 
T last () const
 
int find (T ptr) const
 
bool operator== (const SIM_PtrArraySorted &cmp) const
 
bool containsAny (const SIM_PtrArraySorted &cmp) const
 
bool containsFully (const SIM_PtrArraySorted &cmp) const
 
void remove (int index)
 
void remove (T ptr)
 
void remove (const SIM_PtrArraySorted &src)
 
void keepOnly (const SIM_PtrArraySorted &src)
 
SIM_PtrArraySortedoperator= (const SIM_PtrArraySorted &src)
 
int add (T ptr)
 
void set (const SIM_PtrArraySorted &src)
 
void setUnsorted (const UT_ValArray< T > &src, SIM_PtrArraySorted &duplicates)
 
void merge (const SIM_PtrArraySorted &src)
 
void mergeSelected (const SIM_PtrArraySorted &src, bool(*selectfunc)(T))
 
void appendUnsafe (T ptr)
 
const UT_ValArray< T > & getRawArray () const
 
UT_ValArray< T > & getRawArray ()
 

Detailed Description

template<class T>
class SIM_PtrArraySorted< T >

Definition at line 27 of file SIM_PtrArraySorted.h.

Constructor & Destructor Documentation

template<class T>
SIM_PtrArraySorted< T >::SIM_PtrArraySorted ( )
inline

Definition at line 30 of file SIM_PtrArraySorted.h.

template<class T>
SIM_PtrArraySorted< T >::SIM_PtrArraySorted ( typename UT_ValArray< T >::Comparator  comparator)
inline

Definition at line 36 of file SIM_PtrArraySorted.h.

template<class T>
SIM_PtrArraySorted< T >::SIM_PtrArraySorted ( const SIM_PtrArraySorted< T > &  src)
inline

Definition at line 40 of file SIM_PtrArraySorted.h.

template<class T>
virtual SIM_PtrArraySorted< T >::~SIM_PtrArraySorted ( )
inlinevirtual

Definition at line 44 of file SIM_PtrArraySorted.h.

Member Function Documentation

template<class T>
int SIM_PtrArraySorted< T >::add ( T  ptr)
inline

Definition at line 239 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::appendUnsafe ( T  ptr)
inline

Definition at line 357 of file SIM_PtrArraySorted.h.

template<class T>
bool SIM_PtrArraySorted< T >::containsAny ( const SIM_PtrArraySorted< T > &  cmp) const
inline

Definition at line 101 of file SIM_PtrArraySorted.h.

template<class T>
bool SIM_PtrArraySorted< T >::containsFully ( const SIM_PtrArraySorted< T > &  cmp) const
inline

Definition at line 131 of file SIM_PtrArraySorted.h.

template<class T>
exint SIM_PtrArraySorted< T >::entries ( ) const
inline

Definition at line 65 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::entries ( int  newnumentries)
inline

Definition at line 67 of file SIM_PtrArraySorted.h.

template<class T>
int SIM_PtrArraySorted< T >::find ( T  ptr) const
inline

Definition at line 76 of file SIM_PtrArraySorted.h.

template<class T>
const UT_ValArray<T>& SIM_PtrArraySorted< T >::getRawArray ( ) const
inline

Definition at line 360 of file SIM_PtrArraySorted.h.

template<class T>
UT_ValArray<T>& SIM_PtrArraySorted< T >::getRawArray ( )
inline

Definition at line 363 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::keepOnly ( const SIM_PtrArraySorted< T > &  src)
inline

Definition at line 199 of file SIM_PtrArraySorted.h.

template<class T>
T SIM_PtrArraySorted< T >::last ( ) const
inline

Definition at line 74 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::merge ( const SIM_PtrArraySorted< T > &  src)
inline

Definition at line 270 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::mergeSelected ( const SIM_PtrArraySorted< T > &  src,
bool(*)(T selectfunc 
)
inline

Definition at line 317 of file SIM_PtrArraySorted.h.

template<class T>
T SIM_PtrArraySorted< T >::operator() ( int  index) const
inline

Definition at line 72 of file SIM_PtrArraySorted.h.

template<class T>
SIM_PtrArraySorted& SIM_PtrArraySorted< T >::operator= ( const SIM_PtrArraySorted< T > &  src)
inline

Definition at line 234 of file SIM_PtrArraySorted.h.

template<class T>
bool SIM_PtrArraySorted< T >::operator== ( const SIM_PtrArraySorted< T > &  cmp) const
inline

Definition at line 79 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::remove ( int  index)
inline

Definition at line 163 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::remove ( T  ptr)
inline

Definition at line 165 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::remove ( const SIM_PtrArraySorted< T > &  src)
inline

Definition at line 167 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::resize ( int  newsize)
inline

Definition at line 69 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::set ( const SIM_PtrArraySorted< T > &  src)
inline

Definition at line 244 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::setCapacity ( exint  newcapacity)
inline

Definition at line 61 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::setComparator ( typename UT_ValArray< T >::Comparator  cmp)
inline

Definition at line 47 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::setSize ( exint  newsize)
inline

Definition at line 57 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::setUnsorted ( const UT_ValArray< T > &  src,
SIM_PtrArraySorted< T > &  duplicates 
)
inline

Definition at line 249 of file SIM_PtrArraySorted.h.

template<class T>
exint SIM_PtrArraySorted< T >::size ( void  ) const
inline

Definition at line 53 of file SIM_PtrArraySorted.h.

template<class T>
void SIM_PtrArraySorted< T >::sort ( )
inline

Definition at line 50 of file SIM_PtrArraySorted.h.


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