|
LMMS
|
#include <assocarray.h>
Public Member Functions | |
| WDL_IntKeyedArray2 (void(*valdispose)(VAL)=0) | |
| ~WDL_IntKeyedArray2 () | |
| Public Member Functions inherited from WDL_AssocArrayImpl< int, VAL > | |
| ~WDL_AssocArrayImpl () | |
| VAL * | GetPtr (int key, int *keyPtrOut=NULL) const |
| bool | Exists (int key) const |
| int | Insert (int key, VAL val) |
| void | Delete (int key) |
| void | DeleteByIndex (int idx) |
| void | DeleteAll (bool resizedown=false) |
| int | GetSize () const |
| VAL * | EnumeratePtr (int i, int *key=0) const |
| int * | ReverseLookupPtr (VAL val) const |
| void | ChangeKey (int oldkey, int newkey) |
| void | ChangeKeyByIndex (int idx, int newkey, bool needsort) |
| void | AddUnsorted (int key, VAL val) |
| void | Resort (int(*new_keycmp)(int *k1, int *k2)=NULL) |
| void | ResortStable () |
| int | LowerBound (int key, bool *ismatch) const |
| int | GetIdx (int key) const |
| void | SetGranul (int gran) |
| void | CopyContents (const WDL_AssocArrayImpl &cp) |
| void | CopyContentsAsReference (const WDL_AssocArrayImpl &cp) |
Static Private Member Functions | |
| static int | cmpint (int *i1, int *i2) |
Additional Inherited Members | |
| Public Attributes inherited from WDL_AssocArrayImpl< int, VAL > | |
| WDL_TypedBuf< KeyVal > | m_data |
| Protected Attributes inherited from WDL_AssocArrayImpl< int, VAL > | |
| int(* | m_keycmp )(int *k1, int *k2) |
| int(* | m_keydup )(int) |
| void(* | m_keydispose )(int) |
| void(* | m_valdispose )(VAL) |
|
inlineexplicit |
|
inline |
|
inlinestaticprivate |