int
-valued numbers.
More...
#include <mxmNumberSet.h>
Inheritance diagram for mxmNumberSet:
Public Member Functions | |
void | addNumber (int numba) |
If the number is not already in the set, it is added. | |
void | deleteNumber (int numba) |
If the number is in the set, it is removed. | |
int | size (void) |
Returns the number of numbers stored in the container. | |
void | clear (void) |
Well, clears the container. | |
void | addOffset (int offset) |
Adds the given offset to all numbers in the set. | |
void | resetIterator (void) |
Prepares container for number readout. | |
int | nextNumber (void) |
Returns next number or -1 , if iteration finished or iterator otherwise invalidated. | |
Private Member Functions | |
bool | locate (int numba, Bucket **bucket_ptr, int *index_ptr, mxmList::Iterator *bucket_iterator=0) |
Private Attributes | |
mxmList | NumbaBuckets |
Bucket * | LastBucket |
int | NumbaCount |
bool | IteratorValid |
mxmList::Iterator | BucketIterator |
Bucket * | CurrentBucket |
int | CurrentIndex |
void * | StableABIDataExtension |
Classes | |
class | Bucket |
int
-valued numbers.
Note that since the items managed by this class are not subclassed from mxmObject, the class is not a true modularMX
container, and as such it is not subclassed from mxmContainer.
[khe]
Kai Hergenroether
|
If the number is not already in the set, it is added. If a negative number is passed as argument, the method does nothing. The inbuilt iterator is invalidated. |
|
Adds the given offset to all numbers in the set. Invalidates the crappy inbuilt iterator. |
|
Well, clears the container. Invalidates the inbuilt iterator. |
|
If the number is in the set, it is removed. Invalidates the inbuilt iterator. |
|
If the number is in the set, the method returns |