## GOPersist

GOPersist

## Synopsis

                        GOPersist;
                        GOPersistClass;
    #define             GO_PARAM_PERSISTENT
    void                go_persist_prep_sax                 (GOPersist *gp,
                                                             GsfXMLIn *xin,
                                                             xmlChar const **attrs);
    void                go_persist_sax_save                 (GOPersist const *gp,
                                                             GsfXMLOut *output);

## Object Hierarchy

      GInterface
       +----GOPersist

## Known Implementations

GOPersist is implemented by GODistribution, GOStyle, GogAxis, GogAxisColorMap, GogErrorBar, GogGraph, GogStyle and GogTheme.

## Description

## Details

### GOPersist

    typedef struct _GOPersist GOPersist;

### GOPersistClass

    typedef struct {
    	GTypeInterface base;

    	void	 (*prep_sax) (GOPersist *gp, GsfXMLIn *xin, xmlChar const **attrs);
    	void     (*sax_save) (GOPersist const *gp, GsfXMLOut *output);
    } GOPersistClass;

GTypeInterface `base`; | base interface.
`prep_sax` () | loads the persistent object from a GsfXMLIn.
`sax_save` () | saves the persistent object to a GsfXMLOut.

### GO_PARAM_PERSISTENT

    #define GO_PARAM_PERSISTENT (1 << (G_PARAM_USER_SHIFT+0))

### go_persist_prep_sax ()

    void                go_persist_prep_sax                 (GOPersist *gp,
                                                             GsfXMLIn *xin,
                                                             xmlChar const **attrs);

### go_persist_sax_save ()

    void                go_persist_sax_save                 (GOPersist const *gp,
                                                             GsfXMLOut *output);