/* PSPP - a program for statistical analysis.
- Copyright (C) 2008, 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 2008, 2010, 2011, 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
#include "libpspp/hmapx.h"
+struct pxd;
+
/* This header supports custom attribute of the sort maintained
by the DATAFILE ATTRIBUTE and VARIABLE ATTRIBUTE commands.
void attribute_del_value (struct attribute *, size_t index);
size_t attribute_get_n_values (const struct attribute *);
+struct pxd_object *attribute_save (const struct attribute *, struct pxd *);
+struct attribute *attribute_load (struct pxd_object *, const struct pxd *);
+
struct attrset
{
struct hmap map;
void attrset_delete (struct attrset *, const char *);
void attrset_clear (struct attrset *);
+struct pxd_object *attrset_save (const struct attrset *, struct pxd *);
+void attrset_load (struct attrset *, struct pxd_object *, const struct pxd *);
+
struct attrset_iterator
{
struct hmap_node *node;