| GOffice Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
GogDatasetClass; GogDatasetElement; void gog_dataset_dims (GogDataset const *set,int *first,int *last); void gog_dataset_dup_to_simple (GogDataset const *src,GogDataset *dst); void gog_dataset_finalize (GogDataset *set); GOData * gog_dataset_get_dim (GogDataset const *set,int dim_i); GogDatasetElement * gog_dataset_get_elem (GogDataset const *set,int dim_i); void gog_dataset_parent_changed (GogDataset *set,gboolean was_set); void gog_dataset_set_dim (GogDataset *set,int dim_i,GOData *val,GError **err); void gog_dataset_set_dim_internal (GogDataset *set,int dim_i,GOData *val,GogGraph *graph);
typedef struct {
GTypeInterface base;
GogDatasetElement *(*get_elem) (GogDataset const *set, int dim_i);
void (*set_dim) (GogDataset *set, int dim_i,
GOData *val, GError **err);
void (*dims) (GogDataset const *set, int *first, int *last);
void (*dim_changed) (GogDataset *set, int dim_i);
} GogDatasetClass;
GTypeInterface |
|
| gets i-th element. | |
| sets the data for i-th element. | |
| gest first and last valid elements indices. | |
| called when an element has changed. |
typedef struct {
GOData *data;
GogDataset *set;
int dim_i;
} GogDatasetElement;
GOData * |
the GOData |
GogDataset * |
the owner data set. |
| the dimension iside the dataset. |
void gog_dataset_dims (GogDataset const *set,int *first,int *last);
FIXME ?? Fix what ??
Stores the first and last valid indicises to get/set dim
in first and last.
|
GogDataset |
|
inclusive |
|
_inclusive_ |
void gog_dataset_dup_to_simple (GogDataset const *src,GogDataset *dst);
GOData * gog_dataset_get_dim (GogDataset const *set,int dim_i);
|
GogDataset |
Returns : |
the GOData associated with dimension dim_i. Does NOT add a
reference. or NULL on failure. [transfer none]
|
GogDatasetElement * gog_dataset_get_elem (GogDataset const *set,int dim_i);
|
GogDataset |
Returns : |
the GODataset associated with dimension dim_i. |
void gog_dataset_set_dim (GogDataset *set,int dim_i,GOData *val,GError **err);
Absorbs a ref to val if it is non NULL
|
GogDataset |
|
< 0 gets the name |
|
GOData. [transfer full] |
|
GError |
void gog_dataset_set_dim_internal (GogDataset *set,int dim_i,GOData *val,GogGraph *graph);
an internal routine to handle signal setup and teardown
|
GogDataset |
|
the index |
|
GOData |
|
GogGraph |