ToutDoux : Reference manual
<<< Previous PageHomeUpNext Page >>>

TdDbBase

Name

TdDbBase -- Base

Synopsis

strucTdDbBase
gbooleantd_db_base_save
(TdDbBase *base,
gchar *file);
voidtd_db_base_add_table
(TdDbBase *db_base,
GtkObject *table);
voidtd_db_base_set_connection
(TdDbBase *db_base,
GtkObject *connection);
voidtd_db_base_add_mod
(TdDbBase *db_base,
GtkObject *mod);
voidtd_db_base_destroy
(TdDbBase *db_base);
GtkObject*td_db_base_new
(void);
voidtd_db_base_add_datatable
(TdDbBase *db_base,
GtkObject *datatable);
GtkObject*td_db_base_load
(gchar *file);

Description

Details

struct TdDbBase

struct TdDbBase
{
gchar *name;
gchar *comment;
gchar *encoding;
GList *table;
GList *mod;
GList *datatable;
GtkObject *connection;
};

fr: Object base

en: Base object

gchar *nameNom - Name
gchar *commentCommantaire - Comments
gchar *encodingEncodage - Encoding
GList *tableSchéma des tables - Tables schema
GList *modParamétrage des modules - Modules parameters
GList *datatableTables de donénes - Datatables
GtkObject *connectionConnexion - Connection

td_db_base_save ()

gbooleantd_db_base_save
(TdDbBase *base,
gchar *file);

fr: Créé un fichier correspondante à la base

en: Creates the file corresponding the base

Return value: FALSE on error

base : td_db_base
file : file location

td_db_base_add_table ()

voidtd_db_base_add_table
(TdDbBase *db_base,
GtkObject *table);

fr: Ajoute le schéma de la table à la base

en: Adds the table schema to base

db_base : base
table : table

td_db_base_set_connection ()

voidtd_db_base_set_connection
(TdDbBase *db_base,
GtkObject *connection);

fr: Affecte la connexion à la base

en: Allocates the connection to base

db_base : base
connection : connection

td_db_base_add_mod ()

voidtd_db_base_add_mod
(TdDbBase *db_base,
GtkObject *mod);

fr: Ajoute le paramétrage du module à la base

en: Adds the module parameters to base

db_base : base
mod : module

td_db_base_destroy ()

voidtd_db_base_destroy
(TdDbBase *db_base);

fr: Détruit la base

en: Destroys the base

db_base : base

td_db_base_new ()

GtkObject*td_db_base_new
(void);

fr: Créé une nouvelle base

en: Creates a new base

Return value: base


td_db_base_add_datatable ()

voidtd_db_base_add_datatable
(TdDbBase *db_base,
GtkObject *datatable);

fr: Ajoute la table de données à la base

en: Adds the datatable to base

db_base : base
datatable : datatable

td_db_base_load ()

GtkObject*td_db_base_load
(gchar *file);

fr: Retourne la base correspondante au fichier

en: Return the base corresponding the file

Return value: base

file : file location

See Also

<<< Previous PageHomeUpNext Page >>>
IndexIndex