Whiteboard
An interface and tools for visualizing large and complex datasets
Public Member Functions | Protected Attributes | List of all members
TMPtrList< Item, ChunkSize > Class Template Reference

#include <mutil.h>

Inheritance diagram for TMPtrList< Item, ChunkSize >:
TMNoOwnPtrList< Item, ChunkSize >

Public Member Functions

 TMPtrList ()
 
 ~TMPtrList ()
 
const Item * operator[] (const long index) const
 
const Item * operator() (const long index) const
 
Item * operator[] (long index)
 
Item * operator() (long index)
 
long length () const
 
void add (Item *)
 
void add (const Item &)
 
void insert (Item *, long)
 
void insert (const Item &, long)
 
long add ()
 
void remove (const Item *)
 
void remove (long index)
 
void removeNoDelete (const Item *)
 
void removeNoDelete (long index)
 
void removeNoDeleteAll ()
 
void removeAll ()
 
TMPtrList< Item > & operator= (const TMPtrList< Item > &toCopy)
 
void nullify (long i)
 
void replaceWithLast (long i)
 

Protected Attributes

long m_realLength
 
TMValueVector< Item * > m_list
 

Constructor & Destructor Documentation

template<class Item , unsigned long ChunkSize>
TMPtrList< Item, ChunkSize >::TMPtrList ( )
template<class Item , unsigned long ChunkSize>
TMPtrList< Item, ChunkSize >::~TMPtrList ( )

Member Function Documentation

template<class Item, unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::add ( Item *  pItem)
inline
template<class Item, unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::add ( const Item &  item)
inline
template<class Item, unsigned long ChunkSize>
long TMPtrList< Item, ChunkSize >::add ( )
inline
template<class Item, unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::insert ( Item *  pItem,
long  pos 
)
inline
template<class Item, unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::insert ( const Item &  item,
long  pos 
)
inline
template<class Item , unsigned long ChunkSize>
long TMPtrList< Item, ChunkSize >::length ( ) const
inline
template<class Item , unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::nullify ( long  i)
inline
template<class Item , unsigned long ChunkSize>
const Item * TMPtrList< Item, ChunkSize >::operator() ( const long  index) const
inline
template<class Item , unsigned long ChunkSize>
Item * TMPtrList< Item, ChunkSize >::operator() ( long  index)
inline
template<class Item, unsigned long ChunkSize>
TMPtrList< Item > & TMPtrList< Item, ChunkSize >::operator= ( const TMPtrList< Item > &  toCopy)
inline
template<class Item , unsigned long ChunkSize>
const Item * TMPtrList< Item, ChunkSize >::operator[] ( const long  index) const
inline
template<class Item , unsigned long ChunkSize>
Item * TMPtrList< Item, ChunkSize >::operator[] ( long  index)
inline
template<class Item, unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::remove ( const Item *  pItem)
inline
template<class Item, unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::remove ( long  index)
inline
template<class Item , unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::removeAll ( )
inline
template<class Item, unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::removeNoDelete ( const Item *  pItem)
inline
template<class Item, unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::removeNoDelete ( long  index)
inline
template<class Item , unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::removeNoDeleteAll ( )
inline
template<class Item , unsigned long ChunkSize>
void TMPtrList< Item, ChunkSize >::replaceWithLast ( long  i)
inline

Member Data Documentation

template<class Item, unsigned long ChunkSize = 64>
TMValueVector<Item *> TMPtrList< Item, ChunkSize >::m_list
protected
template<class Item, unsigned long ChunkSize = 64>
long TMPtrList< Item, ChunkSize >::m_realLength
protected

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