1 /* PSPP - computes sample statistics.
2 Copyright (C) 1997-9, 2000, 2006, 2007 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 #ifndef LANGUAGE_DATA_IO_CASE_MAP_H
20 #define LANGUAGE_DATA_IO_CASE_MAP_H 1
24 A case map copies data from a case that corresponds for one
25 dictionary to a case that corresponds to a second dictionary
26 derived from the first by, optionally, deleting, reordering,
27 or renaming variables. (No new variables may be created.)
33 void case_map_prepare (struct dictionary *);
34 struct case_map *case_map_finish (struct dictionary *);
35 void case_map_execute (const struct case_map *,
36 const struct ccase *, struct ccase *);
37 void case_map_destroy (struct case_map *);
39 #endif /* language/data-io/case-map.h */