Public Methods |
| CSet () |
| CSet (const int maxSize_) |
| ~CSet () |
void | open (const int maxSize_) |
void | close () |
void | clear () |
int | add (const ObjType &u,const CountType &count=(CountType)1.0) |
int | remove (const ObjType &u) |
int | operator+= (const ObjType &u) |
int | operator-= (const ObjType &u) |
const CountType | count (const ObjType &u)const |
const CountType | count (const int idx)const |
void | setCount (const ObjType &u,const CountType count) |
void | setCount (const int idx,const CountType count) |
void | grow (const int newSize) |
void | ClearData () |
Protected Attributes |
CountType* | countOfIndex |