Parent Directory | Revision Log
First import
1 | bearsoft | 1.1 | #ifndef __IntArray_H__ |
2 | #define __IntArray_H__ | ||
3 | |||
4 | class IntArray | ||
5 | { | ||
6 | |||
7 | public: | ||
8 | |||
9 | IntArray(); | ||
10 | IntArray(int iSize); | ||
11 | ~IntArray(); | ||
12 | |||
13 | |||
14 | void sortLargestOrder(); | ||
15 | void sortSmallestOrder(); | ||
16 | void setInt(int value,int index); | ||
17 | int getInt(int index); | ||
18 | void addLast(int value); | ||
19 | void removeInt(int index); | ||
20 | void resetInternIndex(); | ||
21 | void internIndexForward(); | ||
22 | void setInt(int value); | ||
23 | int getInternIndex(); | ||
24 | int getInt(); | ||
25 | void clearBuffer(int clearValue); | ||
26 | int *buffer; | ||
27 | int size; | ||
28 | int internIndex; | ||
29 | }; | ||
30 | |||
31 | #endif |
root@recompile.se | ViewVC Help |
Powered by ViewVC 1.1.26 |