NAMD
|
#include <ResizeArrayRaw.h>
Public Member Functions | |
UniqueSortedArray (int s=0) | |
UniqueSortedArray (UniqueSortedArray< Elem > &ua) | |
UniqueSortedArray (SortedArray< Elem > &sa) | |
UniqueSortedArray< Elem > & | operator= (UniqueSortedArray< Elem > &ua) |
UniqueSortedArray< Elem > & | operator= (SortedArray< Elem > &sa) |
int | add (const Elem &elem) |
int | insert (const Elem &elem) |
![]() | |
SortedArray (void) | |
SortedArray (int s) | |
SortedArray (SortedArray< Elem > &sa) | |
SortedArray (SortableResizeArray< Elem > &ra) | |
SortedArray< Elem > & | operator= (SortedArray< Elem > &sa) |
SortedArray< Elem > & | operator= (SortableResizeArray< Elem > &ra) |
int | load (const Elem &elem) |
int | add (const Elem &elem) |
void | del (const Elem &elem) |
void | sort (void) |
int | bsearch (const Elem &elem) |
int | insert (const Elem &elem) |
int | index (const Elem &elem) |
Elem * | find (const Elem &elem) |
![]() | |
SortableResizeArray (void) | |
SortableResizeArray (int size) | |
SortableResizeArray (ResizeArray< Elem > &ra) | |
SortableResizeArray (SortableResizeArray< Elem > &ra) | |
SortableResizeArray (const ResizeArray< Elem > *ra) | |
SortableResizeArray (const SortableResizeArray< Elem > *ra) | |
SortableResizeArray (Elem **const r, int numElem, int maxElem) | |
SortableResizeArray< Elem > & | operator= (SortableResizeArray< Elem > &sa) |
~SortableResizeArray (void) | |
void | init (void) |
void | sort (void) |
void | sort (int bot, int top) |
void | uniq (void) |
int | bsearch (const Elem &elem) const |
![]() | |
iterator | begin (void) |
iterator | end (void) |
const_iterator | const_begin (void) const |
const_iterator | const_end (void) const |
ResizeArray (void) | |
ResizeArray (int s) | |
void | copy (ResizeArray< Elem > &ra) |
void | swap (ResizeArray< Elem > &ra) |
bool | shared () const |
ResizeArray (Elem **array, int arraySize, int allocSize=0) | |
~ResizeArray (void) | |
void | resize (int i) |
void | reserve (int i) |
void | clear () |
void | setall (const Elem &elem) |
int | add (const Elem &elem) |
void | del (int index, int num=1) |
int | insert (const Elem &elem, int index) |
Elem & | item (int i) |
Elem & | operator[] (int index) |
const Elem & | operator[] (int index) const |
int | size (void) const |
int | find (const Elem &e) const |
Additional Inherited Members | |
![]() | |
typedef Elem * | iterator |
typedef const Elem * | const_iterator |
![]() | |
int | isSorted |
![]() | |
ResizeArrayRaw< Elem > | rep |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 31 of file ResizeArrayRaw.h.
|
inline |
Definition at line 16 of file UniqueSortedArray.h.
|
inline |
Definition at line 18 of file UniqueSortedArray.h.
|
inline |
Definition at line 21 of file UniqueSortedArray.h.
|
inline |
|
inline |
Definition at line 58 of file UniqueSortedArray.h.
Referenced by UniqueSortedArray< PatchElem >::add().
|
inline |
Definition at line 31 of file UniqueSortedArray.h.
|
inline |
Definition at line 36 of file UniqueSortedArray.h.