## GogDataEditor

GogDataEditor

## Synopsis

                        GogDataAllocator;
                        GogDataAllocatorClass;
                        GogDataEditorClass;
    enum                GogDataType;
    void                gog_data_allocator_allocate         (GogDataAllocator *dalloc,
                                                             GogPlot *plot);
    GogDataEditor *     gog_data_allocator_editor           (GogDataAllocator *dalloc,
                                                             GogDataset *set,
                                                             int dim_i,
                                                             GogDataType data_type);
    void                gog_data_editor_set_format          (GogDataEditor *editor,
                                                             GOFormat const *fmt);
    void                gog_data_editor_set_value_double    (GogDataEditor *editor,
                                                             double val,
                                                             GODateConventions const *date_conv);

## Object Hierarchy

      GInterface
       +----GogDataAllocator

## Description

## Details

### GogDataAllocator

    typedef struct _GogDataAllocator GogDataAllocator;

### GogDataAllocatorClass

    typedef struct {
    	GTypeInterface		   base;

    	void	        (*allocate) (GogDataAllocator *a, GogPlot *plot);
    	GogDataEditor * (*editor)   (GogDataAllocator *a, GogDataset *set,
    				     int dim_i, GogDataType data_type);
    } GogDataAllocatorClass;

GTypeInterface `base`; | base interface.
`allocate` () | provides data to a GogPlot.
`editor` () | returns the GogDataEditor.

### GogDataEditorClass

    typedef struct {
    	GTypeInterface		   base;

    	void     (*set_format)       (GogDataEditor *editor,
    				      GOFormat const *fmt);
    	void     (*set_value_double) (GogDataEditor *editor, double val,
    				      GODateConventions const *date_conv);
    } GogDataEditorClass;

Interface to edit GOData.

GTypeInterface `base`; | base interface.
`set_format` () | sets the GOFormat
`set_value_double` () | sets a value as a double.

### enum GogDataType

    typedef enum {
    	GOG_DATA_SCALAR,
    	GOG_DATA_VECTOR,
    	GOG_DATA_MATRIX
    } GogDataType;

`GOG_DATA_SCALAR` | scalar value.
`GOG_DATA_VECTOR` | vector data.
`GOG_DATA_MATRIX` | matrix data.

### gog_data_allocator_allocate ()

    void                gog_data_allocator_allocate         (GogDataAllocator *dalloc,
                                                             GogPlot *plot);

`dalloc` : | a GogDataAllocator
`plot` : | a GogPlot

### gog_data_allocator_editor ()

    GogDataEditor *     gog_data_allocator_editor           (GogDataAllocator *dalloc,
                                                             GogDataset *set,
                                                             int dim_i,
                                                             GogDataType data_type);

`dalloc` : | a GogDataAllocator
Returns : | a GtkWidget. [transfer full]

### gog_data_editor_set_format ()

    void                gog_data_editor_set_format          (GogDataEditor *editor,
                                                             GOFormat const *fmt);

### gog_data_editor_set_value_double ()

    void                gog_data_editor_set_value_double    (GogDataEditor *editor,
                                                             double val,
                                                             GODateConventions const *date_conv);