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

TdDbTable

Name

TdDbTable -- Table schema

Synopsis

strucTdDbTable
GtkObject*td_db_table_new
(void);
voidtd_db_table_add_field
(TdDbTable *db_table,
GtkObject *field);
GtkObject*td_db_table_load
(XmlDoc *doc,
XmlNs *ns,
XmlNode *cur_root);
voidtd_db_table_add_rule
(TdDbTable *db_table,
GtkObject *rule);
voidtd_db_table_add_function
(TdDbTable *db_table,
GtkObject *function);
voidtd_db_table_destroy
(TdDbTable *db_table);

Description

Details

struct TdDbTable

struct TdDbTable
{
gchar *name;
gchar *comment;
GList *field;
GList *rule;
GList *function;
};

fr: Objet schéma de table

en: Table schema object

gchar *nameNom - Name
gchar *commentCommentaire - Comment
GList *fieldSchéma des champs - Fields schema
GList *ruleRègles - Rules
GList *functionFonction - Function

td_db_table_new ()

GtkObject*td_db_table_new
(void);

fr: Créé un nouveau schéma de table

en: Creates new table schema

Return value: table schema


td_db_table_add_field ()

voidtd_db_table_add_field
(TdDbTable *db_table,
GtkObject *field);

fr: Ajoute le schéma du champs au schéma de la table

en: Adds the field schema to table schema

db_table : table schema
field : field schema

td_db_table_load ()

GtkObject*td_db_table_load
(XmlDoc *doc,
XmlNs *ns,
XmlNode *cur_root);

fr: Retourne le schéma de la table correspondant à la localisation XML

en: Return the table schema corresponding the XML location

Return value: table schema

doc : XML document
ns : XML namespace
cur_root : XML node

td_db_table_add_rule ()

voidtd_db_table_add_rule
(TdDbTable *db_table,
GtkObject *rule);

fr: Ajoute la règle à la table

en: Adds the rule to table

db_table : table
rule : rule

td_db_table_add_function ()

voidtd_db_table_add_function
(TdDbTable *db_table,
GtkObject *function);

fr: Ajoute la function à la table

en: Adds the function to table

db_table : table
function : function

td_db_table_destroy ()

voidtd_db_table_destroy
(TdDbTable *db_table);

fr: Détruit le schéma de table

en: Destroys the table schema

db_table : table parameters

See Also

<<< Previous PageHomeUpNext Page >>>
IndexIndex