- [Main Page](index.md)
- [Classes](annotated.md)
- [Files](files.md)
- [Directories](dirs.md)
- [Related Pages](pages.md)
- [Class List](annotated.md)
- [Alphabetical List](classes.md)
- [Class Hierarchy](hierarchy.md)
- [Class Members](functions.md)
HashArray\< TYPE, ARG_TYPE > Class Template Reference¶
#include <HashArra.h>
Inheritance diagram for HashArray\< TYPE, ARG_TYPE >:
Inheritance graph
[legend]
Collaboration diagram for HashArray\< TYPE, ARG_TYPE >:
Collaboration graph
[legend]
Public Member Functions |
|
| HashArray () | |
| int | GetSize () const |
| int | GetUpperBound () const |
| void | SetSize (int newsize, int growby=-1) |
| void | FreeExtra () |
| void | RemoveAll () |
| TYPE | GetAt (int index) const |
| TYPE & | ElementAt (int index) |
| void | SetAt (int index, ARG_TYPE newElement) |
| void | InsertAt (int nIndex, ARG_TYPE newElement, int nCount=1) |
| void | RemoveAt (int index, int count=1) |
| TYPE | operator[] (int index) const |
| TYPE & | operator[] (int index) |
| TYPE * | GetArray () |
| void | SetAtGrow (int index, ARG_TYPE newElement) |
| int | Add (ARG_TYPE newElement) |
| void | Push (ARG_TYPE newElement) |
| TYPE | Pop () |
| TYPE | GetPushed () const |
| void | SetGranularity (int granularity) |
| ~HashArray () | |
Protected Attributes |
|
| TYPE * | m_data |
| int | m_size |
| int | m_maxsize |
| int | m_growby |