7 #ifdef CompilerIs64bitReady
9 #include <mix/SortedAr.H>
20 Int8Ar (
const Int8Ar& int8ar);
21 Int8Ar (
unsigned quant = DEFAULT_QUANT,
22 unsigned volume = START_VOLUME);
24 long long& fetch (
unsigned i);
25 long long get (
unsigned i)
const;
27 void insert (
unsigned i,
long long val);
29 void addh (
long long val);
30 void addl (
long long val);
32 void addh (
const Int8Ar& int8ar);
33 void addl (
const Int8Ar& int8ar);
35 Int8Ar& assign (
const Int8Ar& int8ar);
36 Int8Ar& assign (
unsigned cnt,
long long* vect);
39 long long* vector ()
const;
42 long long& operator[] (
unsigned i) {
return fetch(i);};
43 long long operator() (
unsigned i)
const {
return get(i);};
44 Int8Ar& operator= (
const Int8Ar& int8ar) {
return assign(int8ar);};
47 virtual Compar compare (
const char* item1,
const char* item2)
const;
50 virtual void exchange (
unsigned i1,
unsigned i2);
53 int find_ascent (
long long item)
const
54 {
return quick_find_ascent((
const char*)&item);}
55 int find_descent (
long long item)
const
56 {
return quick_find_descent((
const char*)&item);}
57 int find (
long long item)
const
58 {
return slow_find((
const char*)&item);}
62 Compar find_range_ascent (
long long value,
63 unsigned& L,
unsigned& R)
const {
64 return SortedAr::find_range_ascent((
const char*)&value, L, R);
66 Compar find_range_descent (
long long value,
67 unsigned& L,
unsigned& R)
const {
68 return SortedAr::find_range_descent((
const char*)&value, L, R);
72 virtual void print_item (
unsigned i)
const;
73 virtual void print_contents ()
const;
86 UInt8Ar (
const UInt8Ar& uint8ar);
87 UInt8Ar (
unsigned quant = DEFAULT_QUANT,
88 unsigned volume = START_VOLUME);
90 unsigned long long& fetch (
unsigned i);
91 unsigned long long get (
unsigned i)
const;
93 void insert (
unsigned i,
unsigned long long val);
95 void addh (
unsigned long long val);
96 void addl (
unsigned long long val);
98 void addh (
const UInt8Ar& uint8ar);
99 void addl (
const UInt8Ar& uint8ar);
101 UInt8Ar& assign (
const UInt8Ar& uint8ar);
102 UInt8Ar& assign (
unsigned cnt,
unsigned long long* vect);
105 unsigned long long* vector ()
const;
108 unsigned long long& operator[] (
unsigned i) {
return fetch(i);};
109 unsigned long long operator() (
unsigned i)
const {
return get(i);};
110 UInt8Ar& operator= (
const UInt8Ar& uint8ar) {
return assign(uint8ar);};
113 virtual Compar compare (
const char* item1,
const char* item2)
const;
116 virtual void exchange (
unsigned i1,
unsigned i2);
119 int find_ascent (
unsigned long long item)
const
120 {
return quick_find_ascent((
const char*)&item);}
121 int find_descent (
unsigned long long item)
const
122 {
return quick_find_descent((
const char*)&item);}
123 int find (
unsigned long item)
const
124 {
return slow_find((
const char*)&item);}
128 Compar find_range_ascent (
unsigned long long value,
129 unsigned& L,
unsigned& R)
const {
130 return SortedAr::find_range_ascent((
const char*)&value, L, R);
132 Compar find_range_descent (
unsigned long long value,
133 unsigned& L,
unsigned& R)
const {
134 return SortedAr::find_range_descent((
const char*)&value, L, R);
138 virtual void print_item (
unsigned i)
const;
139 virtual void print_contents ()
const;
Definition: SortedAr.H:14