X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcase-map.h;h=9baa412c5ca5ceca0a829b4cc4b01e484f73c6ee;hb=95cde62bdf5210c1c60dad5598a888b864f93161;hp=010dd487274d537af9035a53b5e5dac21ef12a91;hpb=a1efcf97ca2f75f4be6a0389ff2372c03ed2d4e1;p=pspp diff --git a/src/data/case-map.h b/src/data/case-map.h index 010dd48727..9baa412c5c 100644 --- a/src/data/case-map.h +++ b/src/data/case-map.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2012 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 @@ -32,11 +32,10 @@ struct casewriter; struct ccase; struct dictionary; -struct case_map *case_map_create (void); void case_map_destroy (struct case_map *); struct ccase *case_map_execute (const struct case_map *, struct ccase *); -size_t case_map_get_value_cnt (const struct case_map *); +const struct caseproto *case_map_get_proto (const struct case_map *); struct casereader *case_map_create_input_translator (struct case_map *, struct casereader *); @@ -45,12 +44,9 @@ struct casewriter *case_map_create_output_translator (struct case_map *, /* For mapping cases for one version of a dictionary to those in a modified version of the same dictionary. */ -void case_map_prepare_dict (const struct dictionary *); -struct case_map *case_map_from_dict (const struct dictionary *); - -/* For eliminating "holes" in a case. */ -struct case_map *case_map_to_compact_dict (const struct dictionary *d, - unsigned int exclude_classes); +struct case_map_stage *case_map_stage_create (const struct dictionary *); +void case_map_stage_destroy (struct case_map_stage *); +struct case_map *case_map_stage_to_case_map (struct case_map_stage *); /* For mapping cases for one dictionary to another based on variable names within the dictionary. */