|
|
| version 1.42, 2001/08/02 09:58:34 | version 1.43, 2001/08/06 16:18:26 |
|---|---|
| Line 49 public: | Line 49 public: |
| typedef void (*For_each_func)(Item *value, void *info); | typedef void (*For_each_func)(Item *value, void *info); |
| /// first_that iterator function type, const info | /// first_that iterator function type, const info |
| typedef bool (*First_that_func_const)(Item *value, const void *info); | typedef void *(*Item_that_func_const)(Item *value, const void *info); |
| /// first_that iterator function type | /// first_that iterator function type |
| typedef bool (*First_that_func)(Item *value, void *info); | typedef void *(*Item_that_func)(Item *value, void *info); |
| enum { | enum { |
| CR_INITIAL_ROWS_DEFAULT=3, ///< default preallocated row count | CR_INITIAL_ROWS_DEFAULT=3, ///< default preallocated row count |
| Line 93 public: | Line 93 public: |
| void for_each(For_each_func func, void *info=0) const; | void for_each(For_each_func func, void *info=0) const; |
| /// iterate over all elements until condition, const info | /// iterate over all elements until condition, const info |
| void* first_that(First_that_func_const func, const void *info=0) const; | void* first_that(Item_that_func_const func, const void *info=0) const; |
| /// iterate over all elements until condition | /// iterate over all elements until condition |
| void* first_that(First_that_func func, void *info=0) const; | void* first_that(Item_that_func func, void *info=0) const; |
| private: | private: |