2 * (c) Oleg Puchinin 2006
3 * graycardinalster@gmail.com
7 #ifndef DEFINE_EARRAY_H
8 #define DEFINE_EARRAY_H
10 class EArray
: public DArray
13 EArray (int asize
= 0);
15 int sfind (char * d_find
);
16 int snfind (char * d_find
);
19 int find (long d_one
);
22 int inline add (char * d_one
) {
23 return add ((long) d_one
);
26 /// \note "find (char *)" search a pointer, not a string. Use sfind (or snfind) instead.
28 inline char * operator [] (int n
) {
32 void push (char ** d_push
);
33 int snfind_fast (char *str
, int n
);
34 char * join (char * mid
= NULL
, int *len_out
= NULL
);
36 int from_pipe (int fd
);
37 int strings_to_file (char *f_name
);
38 int expand (EArray
* e
);
39 int expand (char *S
, char * split
);
40 int dump (char * d_join
);
42 EArray
& operator <<(char *);