GdaGraphQuery

GdaGraphQuery —

Synopsis




            GdaGraphQuery;
GObject*    gda_graph_query_new             (GdaQuery *query);
void        gda_graph_query_sync_targets    (GdaGraphQuery *graph);

Description

Details

GdaGraphQuery

typedef struct {
	GdaGraph               object;
	GdaGraphQueryPrivate  *priv;
} GdaGraphQuery;


gda_graph_query_new ()

GObject*    gda_graph_query_new             (GdaQuery *query);

Creates a new GdaGraphQuery object. This graph object is a specialized GdaGraph object in the way that it always make sure it "contains" GdaGraphItem objects for each target in query.

However, when created, the new GdaGraphItem object will not contain any graph item; but can be brought in sync with the gda_graph_query_sync_targets() method.

query : a GdaQuery object
Returns : the newly created object

gda_graph_query_sync_targets ()

void        gda_graph_query_sync_targets    (GdaGraphQuery *graph);

Synchronises the graph items with the targets of the query graph represents

graph : a GdaGraphQuery object