#include <sortflts.h>
Public Member Functions | |
| SORTED_FLOATS () | |
SORTED_FLOATS::add | |
Add a new entry to the sorted list of floats. | |
| void | add (float value, int32_t key) |
SORTED_FLOATS::remove | |
Remove an entry from the sorted list of floats. | |
| void | remove (int32_t key) |
SORTED_FLOATS::operator[] | |
Return the floating point value of the given index into the list. | |
| float | operator[] (int32_t index) |
Private Attributes | |
| SORTED_FLOAT_LIST | list |
| SORTED_FLOAT_IT | it |
|
inline |
empty constructor
| void SORTED_FLOATS::add | ( | float | value, |
| int32_t | key | ||
| ) |
add sample
| value | sample float |
| key | retrieval key |
| float SORTED_FLOATS::operator[] | ( | int32_t | index | ) |
index to list
| index | item to get |
| void SORTED_FLOATS::remove | ( | int32_t | key | ) |
delete sample
| key | key to delete |
|
private |
|
private |