7 #include <mix/SortedAr.H>
19 StrAr (
unsigned max_len,
20 unsigned quant = DEFAULT_QUANT,
21 unsigned volume = START_VOLUME);
23 unsigned max_len ()
const;
25 char* fetch (
unsigned i);
26 const char*
get (
unsigned i)
const;
28 void insert (
unsigned i,
const char* szString);
30 void addh (
const char* szString);
31 void addl (
const char* szString);
33 void addh (
const StrAr& star);
34 void addl (
const StrAr& star);
37 StrAr& assign (
unsigned n,
const char*
const* arofstr);
40 char** vector ()
const;
43 char* operator[] (
unsigned i) {
return fetch(i);};
44 const char* operator() (
unsigned i)
const {
return get(i);};
45 StrAr& operator= (
const StrAr& star) {
return assign(star);};
49 virtual Compar compare (
const char* szStr1,
const char* szStr2)
const;
52 virtual void print_item (
unsigned i)
const;
53 virtual void print_contents ()
const;
Definition: SortedAr.H:14