bool casereader_peek (struct casereader *, casenumber, struct ccase *)
WARN_UNUSED_RESULT;
+bool casereader_is_empty (struct casereader *);
bool casereader_error (const struct casereader *);
void casereader_force_error (struct casereader *);
casereader_create_filter_missing (struct casereader *,
const struct variable **vars, size_t var_cnt,
enum mv_class,
+ casenumber *n_missing,
struct casewriter *exclude);
struct casereader *
bool (*destroy) (void *aux),
void *aux);
+/* A function which creates a numberic value from an existing case */
+typedef double new_value_func (const struct ccase *, casenumber, void *);
+
+struct casereader *
+casereader_create_append_numeric (struct casereader *subreader,
+ new_value_func func, void *aux,
+ void (*destroy) (void *aux));
+
+struct casereader *
+casereader_create_arithmetic_sequence (struct casereader *,
+ double first, double increment);
+
+
+typedef void distinct_func (double v, casenumber n, double w, void *aux);
+
+struct casereader *
+casereader_create_append_rank (struct casereader *,
+ const struct variable *v, const struct variable *w,
+ distinct_func *distinct_callback, void *aux);
+
+
#endif /* data/casereader.h */