X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdataset.h;h=1fe535536f6cee4bd5d9da065d0e4a0bb7c9dedd;hb=06ac0c2d623e9ae54c3e22a2d6740219ab357b21;hp=8445094713cdc38bb1eb9e9f72bf4309bf3e0013;hpb=fe8dc2171009e90d2335f159d05f7e6660e24780;p=pspp diff --git a/src/data/dataset.h b/src/data/dataset.h index 8445094713..1fe535536f 100644 --- a/src/data/dataset.h +++ b/src/data/dataset.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2006, 2007, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2006, 2007, 2009, 2010, 2011, 2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,6 +26,7 @@ struct casereader; struct dataset; struct dictionary; struct session; +struct transformation; struct dataset *dataset_create (struct session *, const char *); struct dataset *dataset_clone (struct dataset *, const char *); @@ -78,21 +79,17 @@ void dataset_set_display (struct dataset *, enum dataset_display); /* Transformations. */ -void add_transformation (struct dataset *ds, - trns_proc_func *, trns_free_func *, void *); -void add_transformation_with_finalizer (struct dataset *ds, - trns_finalize_func *, - trns_proc_func *, - trns_free_func *, void *); -size_t next_transformation (const struct dataset *ds); +void add_transformation (struct dataset *ds, const struct trns_class *, void *); bool proc_cancel_all_transformations (struct dataset *ds); -struct trns_chain *proc_capture_transformations (struct dataset *ds); +void proc_push_transformations (struct dataset *); +void proc_pop_transformations (struct dataset *, struct trns_chain *); void proc_start_temporary_transformations (struct dataset *ds); bool proc_in_temporary_transformations (const struct dataset *ds); bool proc_make_temporary_transformations_permanent (struct dataset *ds); bool proc_cancel_temporary_transformations (struct dataset *ds); +struct variable *add_permanent_ordering_transformation (struct dataset *); /* Procedures. */