GdaXmlDatabase

Name

GdaXmlDatabase -- 

Synopsis



struct      GdaXmlDatabasePrivate;
GdaXmlDatabase* gda_xml_database_new        (void);
GdaXmlDatabase* gda_xml_database_new_from_uri
                                            (const gchar *uri);
void        gda_xml_database_changed        (GdaXmlDatabase *xmldb);
GdaTable*   gda_xml_database_new_table      (GdaXmlDatabase *xmldb,
                                             const gchar *name);
GdaTable*   gda_xml_database_new_table_from_node
                                            (GdaXmlDatabase *xmldb,
                                             xmlNodePtr xmlnode);

Description

Details

struct GdaXmlDatabasePrivate

struct GdaXmlDatabasePrivate;


gda_xml_database_new ()

GdaXmlDatabase* gda_xml_database_new        (void);

Creates a new GdaXmlDatabase object, which can be used to describe a database which will then be loaded by a provider to create its defined structure


gda_xml_database_new_from_uri ()

GdaXmlDatabase* gda_xml_database_new_from_uri
                                            (const gchar *uri);


gda_xml_database_changed ()

void        gda_xml_database_changed        (GdaXmlDatabase *xmldb);

Emit the "changed" signal for the given XML database


gda_xml_database_new_table ()

GdaTable*   gda_xml_database_new_table      (GdaXmlDatabase *xmldb,
                                             const gchar *name);

Create a new empty table in the given XML database.


gda_xml_database_new_table_from_node ()

GdaTable*   gda_xml_database_new_table_from_node
                                            (GdaXmlDatabase *xmldb,
                                             xmlNodePtr xmlnode);

Add a table to the given XML database by parsong the given XML node pointer, which usually is obtained from an already loaded xmlDocPtr.