UT_Pointers Class Reference

#include <UT_Pointers.h>

Inheritance diagram for UT_Pointers:

OP_Cache UT_FileList

List of all members.

Public Types

typedef UT_Iterator< UT_ThingP,
UT_Pointers
Iterator

Public Member Functions

 UT_Pointers ()
virtual ~UT_Pointers ()
int index (UT_ThingP thing) const
int addMember (UT_ThingP thing)
int removeMember (UT_ThingP thing)
UT_ThingP removeMember (int idx)
int removeMembers (int from, int to)
void insertMember (UT_ThingP thing, int idx)
Iterator iterator (int idx=0)
Iterator iteratorReverse (int idx=0)
int entries () const
int count () const
int getSize () const
void grow (int newsize)
void empty ()
void clear ()
UT_ThingPoperator[] (int idx)
UT_ThingP operator() (int idx) const
void sortPointers (int(*compare)(const void *, const void *))
int searchPointers (int(*compare)(const void *, const void *), const void *key) const
void reverse ()
const UT_ThingPnull () const


Detailed Description

Definition at line 18 of file UT_Pointers.h.


Member Typedef Documentation

Definition at line 31 of file UT_Pointers.h.


Constructor & Destructor Documentation

UT_Pointers::UT_Pointers (  )  [inline]

Definition at line 21 of file UT_Pointers.h.

virtual UT_Pointers::~UT_Pointers (  )  [virtual]


Member Function Documentation

int UT_Pointers::addMember ( UT_ThingP  thing  ) 

void UT_Pointers::clear (  ) 

Reimplemented in OP_Cache.

int UT_Pointers::count (  )  const [inline]

Definition at line 47 of file UT_Pointers.h.

void UT_Pointers::empty (  ) 

int UT_Pointers::entries ( void   )  const [inline]

Definition at line 44 of file UT_Pointers.h.

int UT_Pointers::getSize ( void   )  const [inline]

Reimplemented in OP_Cache.

Definition at line 48 of file UT_Pointers.h.

void UT_Pointers::grow ( int  newsize  ) 

int UT_Pointers::index ( UT_ThingP  thing  )  const

void UT_Pointers::insertMember ( UT_ThingP  thing,
int  idx 
)

Iterator UT_Pointers::iterator ( int  idx = 0  )  [inline]

Definition at line 33 of file UT_Pointers.h.

Iterator UT_Pointers::iteratorReverse ( int  idx = 0  )  [inline]

Definition at line 38 of file UT_Pointers.h.

const UT_ThingP& UT_Pointers::null (  )  const [inline]

Definition at line 71 of file UT_Pointers.h.

UT_ThingP UT_Pointers::operator() ( int  idx  )  const [inline]

Definition at line 56 of file UT_Pointers.h.

UT_ThingP& UT_Pointers::operator[] ( int  idx  ) 

UT_ThingP UT_Pointers::removeMember ( int  idx  ) 

int UT_Pointers::removeMember ( UT_ThingP  thing  ) 

int UT_Pointers::removeMembers ( int  from,
int  to 
)

void UT_Pointers::reverse (  ) 

int UT_Pointers::searchPointers ( int(*)(const void *, const void *)  compare,
const void *  key 
) const

void UT_Pointers::sortPointers ( int(*)(const void *, const void *)  compare  ) 


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

Generated on Fri May 25 00:10:51 2012 for HDK by  doxygen 1.5.9