line

line

Synopsis

GebrGeoXmlLine *    gebr_geoxml_line_new                ();
void                gebr_geoxml_line_set_base_path      (GebrGeoXmlLine *line,
                                                         const gchar *base);
gchar *             gebr_geoxml_line_get_import_path    (GebrGeoXmlLine *line);
void                gebr_geoxml_line_set_import_path    (GebrGeoXmlLine *line,
                                                         const gchar *import);
GebrGeoXmlLineFlow * gebr_geoxml_line_append_flow       (GebrGeoXmlLine *line,
                                                         const gchar *source);
int                 gebr_geoxml_line_get_flow           (GebrGeoXmlLine *line,
                                                         GebrGeoXmlSequence **line_flow,
                                                         gulong index);
glong               gebr_geoxml_line_get_flows_number   (GebrGeoXmlLine *line);
void                gebr_geoxml_line_set_flow_source    (GebrGeoXmlLineFlow *line_flow,
                                                         const gchar *source);
const gchar *       gebr_geoxml_line_get_flow_source    (GebrGeoXmlLineFlow *line_flow);
GebrGeoXmlLinePath * gebr_geoxml_line_append_path       (GebrGeoXmlLine *line,
                                                         const gchar *name,
                                                         const gchar *path);
int                 gebr_geoxml_line_get_path           (GebrGeoXmlLine *line,
                                                         GebrGeoXmlSequence **path,
                                                         gulong index);
gchar *             gebr_geoxml_line_path_get_name      (GebrGeoXmlLinePath *line_path);
glong               gebr_geoxml_line_get_paths_number   (GebrGeoXmlLine *line);
void                gebr_geoxml_line_set_maestro        (GebrGeoXmlLine *line,
                                                         const gchar *maestro_addr);
gchar *             gebr_geoxml_line_get_maestro        (GebrGeoXmlLine *line);
gchar ***           gebr_geoxml_line_get_paths          (GebrGeoXmlLine *line);
gchar *             gebr_geoxml_line_get_path_by_name   (GebrGeoXmlLine *line,
                                                         const gchar *name);
void                gebr_geoxml_line_set_path_by_name   (GebrGeoXmlLine *line,
                                                         const gchar *name,
                                                         const gchar *new_value);
gchar *             gebr_geoxml_escape_path             (const gchar *path);
gchar *             gebr_geoxml_get_paths_for_base      (const gchar *base);
gchar *             gebr_geoxml_line_create_key         (const gchar *title);

Description

Details

gebr_geoxml_line_new ()

GebrGeoXmlLine *    gebr_geoxml_line_new                ();

gebr_geoxml_line_set_base_path ()

void                gebr_geoxml_line_set_base_path      (GebrGeoXmlLine *line,
                                                         const gchar *base);

gebr_geoxml_line_get_import_path ()

gchar *             gebr_geoxml_line_get_import_path    (GebrGeoXmlLine *line);

gebr_geoxml_line_set_import_path ()

void                gebr_geoxml_line_set_import_path    (GebrGeoXmlLine *line,
                                                         const gchar *import);

gebr_geoxml_line_append_flow ()

GebrGeoXmlLineFlow * gebr_geoxml_line_append_flow       (GebrGeoXmlLine *line,
                                                         const gchar *source);

gebr_geoxml_line_get_flow ()

int                 gebr_geoxml_line_get_flow           (GebrGeoXmlLine *line,
                                                         GebrGeoXmlSequence **line_flow,
                                                         gulong index);

gebr_geoxml_line_get_flows_number ()

glong               gebr_geoxml_line_get_flows_number   (GebrGeoXmlLine *line);

gebr_geoxml_line_set_flow_source ()

void                gebr_geoxml_line_set_flow_source    (GebrGeoXmlLineFlow *line_flow,
                                                         const gchar *source);

gebr_geoxml_line_get_flow_source ()

const gchar *       gebr_geoxml_line_get_flow_source    (GebrGeoXmlLineFlow *line_flow);

gebr_geoxml_line_append_path ()

GebrGeoXmlLinePath * gebr_geoxml_line_append_path       (GebrGeoXmlLine *line,
                                                         const gchar *name,
                                                         const gchar *path);

gebr_geoxml_line_get_path ()

int                 gebr_geoxml_line_get_path           (GebrGeoXmlLine *line,
                                                         GebrGeoXmlSequence **path,
                                                         gulong index);

gebr_geoxml_line_path_get_name ()

gchar *             gebr_geoxml_line_path_get_name      (GebrGeoXmlLinePath *line_path);

gebr_geoxml_line_get_paths_number ()

glong               gebr_geoxml_line_get_paths_number   (GebrGeoXmlLine *line);

gebr_geoxml_line_set_maestro ()

void                gebr_geoxml_line_set_maestro        (GebrGeoXmlLine *line,
                                                         const gchar *maestro_addr);

maestro_group :

the Maestro address.

gebr_geoxml_line_get_maestro ()

gchar *             gebr_geoxml_line_get_maestro        (GebrGeoXmlLine *line);

maestro_addr :

Return location for the maestro server address.

gebr_geoxml_line_get_paths ()

gchar ***           gebr_geoxml_line_get_paths          (GebrGeoXmlLine *line);

Returns :

A vector of pairs of string of type (path, name). Free with gebr_pair_strfreev().

gebr_geoxml_line_get_path_by_name ()

gchar *             gebr_geoxml_line_get_path_by_name   (GebrGeoXmlLine *line,
                                                         const gchar *name);

Returns :

NULL if line does not have a path named name. Otherwise, returns a newly allocated string containing the path. Free with g_free().

gebr_geoxml_line_set_path_by_name ()

void                gebr_geoxml_line_set_path_by_name   (GebrGeoXmlLine *line,
                                                         const gchar *name,
                                                         const gchar *new_value);

Sets a path by name. If the path already exists, it is overwritten.


gebr_geoxml_escape_path ()

gchar *             gebr_geoxml_escape_path             (const gchar *path);

gebr_geoxml_get_paths_for_base ()

gchar *             gebr_geoxml_get_paths_for_base      (const gchar *base);

gebr_geoxml_line_create_key ()

gchar *             gebr_geoxml_line_create_key         (const gchar *title);

Returns :

A Key for title line, lower-case, change space to underscore, and remove all vowels.