struct _PsppireDictClass
{
GObjectClass parent_class;
-
};
/* Return the number of variables in the dictionary */
gint psppire_dict_get_var_cnt (const PsppireDict *d);
+/* Return the number of `union value's in the dictionary */
+size_t psppire_dict_get_value_cnt (const PsppireDict *d);
+
/* Return a variable by name.
Return NULL if it doesn't exist
*/
gboolean psppire_dict_check_name (const PsppireDict *dict,
const gchar *name, gboolean report);
-gint psppire_dict_get_next_value_idx (const PsppireDict *dict);
+inline gint psppire_dict_get_next_value_idx (const PsppireDict *dict);
gboolean psppire_dict_rename_var (PsppireDict *dict, struct variable *v,
const gchar *text);
struct variable * psppire_dict_get_weight_variable (const PsppireDict *);
+#if DEBUGGING
+void psppire_dict_dump (const PsppireDict *);
+#endif
G_END_DECLS