![]() |
![]() |
![]() |
GNOME Data Access 3.0 manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
GdaDataModel column indexesGdaDataModel column indexes — Management of GdaDataModel column index attributes |
struct GdaColumnIndex; enum GdaSorting; struct GdaColumnIndexClass; GdaColumnIndexPrivate; GdaColumnIndex * gda_column_index_new (void
); GdaColumnIndex * gda_column_index_copy (GdaColumnIndex *dmcia
); gboolean gda_column_index_equal (const GdaColumnIndex *lhs
,const GdaColumnIndex *rhs
); const gchar * gda_column_index_get_column_name (GdaColumnIndex *dmcia
); void gda_column_index_set_column_name (GdaColumnIndex *dmcia
,const gchar *column_name
); glong gda_column_index_get_defined_size (GdaColumnIndex *dmcia
); void gda_column_index_set_defined_size (GdaColumnIndex *dmcia
,glong size
); GdaSorting gda_column_index_get_sorting (GdaColumnIndex *dmcia
); void gda_column_index_set_sorting (GdaColumnIndex *dmcia
,GdaSorting sorting
); const gchar * gda_column_index_get_references (GdaColumnIndex *dmcia
); void gda_column_index_set_references (GdaColumnIndex *dmcia
,const gchar *ref
);
GdaColumnIndex * gda_column_index_new (void
);
Returns : |
a newly allocated GdaColumnIndex object. |
GdaColumnIndex * gda_column_index_copy (GdaColumnIndex *dmcia
);
Creates a new GdaColumnIndex object from an existing one.
|
attributes to get a copy from. |
Returns : |
a newly allocated GdaColumnIndex with a copy of the data
in dmcia . |
gboolean gda_column_index_equal (const GdaColumnIndex *lhs
,const GdaColumnIndex *rhs
);
Tests whether two field attributes are equal.
|
a GdaColumnIndex |
|
another GdaColumnIndex |
Returns : |
TRUE if the field attributes contain the same information. |
const gchar * gda_column_index_get_column_name (GdaColumnIndex *dmcia
);
|
a GdaColumnIndex. |
Returns : |
the column name of dmcia . |
void gda_column_index_set_column_name (GdaColumnIndex *dmcia
,const gchar *column_name
);
Sets the name of dmcia
to column_name
.
|
a GdaColumnIndex. |
|
the new name of dmcia . |
glong gda_column_index_get_defined_size (GdaColumnIndex *dmcia
);
|
a GdaColumnIndex . |
Returns : |
the defined size of dmcia . |
void gda_column_index_set_defined_size (GdaColumnIndex *dmcia
,glong size
);
Sets the defined size of a GdaColumnIndex.
|
a GdaColumnIndex. |
|
the defined size we want to set. |
GdaSorting gda_column_index_get_sorting (GdaColumnIndex *dmcia
);
|
a GdaColumnIndex . |
Returns : |
the sorting of dmcia . |
void gda_column_index_set_sorting (GdaColumnIndex *dmcia
,GdaSorting sorting
);
Sets the sorting of a GdaColumnIndex.
|
a GdaColumnIndex. |
|
the new sorting of dmcia . |
const gchar * gda_column_index_get_references (GdaColumnIndex *dmcia
);
|
a GdaColumnIndex. |
Returns : |
dmcia 's references. |
void gda_column_index_set_references (GdaColumnIndex *dmcia
,const gchar *ref
);
Sets dmcia
's references
.
|
a GdaColumnIndex. |
|
references. |