|
girara
|
Go to the source code of this file.
Data Structures | |
| struct | GiraraTemplate |
| struct | GiraraTemplateClass |
Macros | |
| #define | GIRARA_TYPE_TEMPLATE (girara_template_get_type()) |
| #define | GIRARA_TEMPLATE(obj) |
| #define | GIRARA_TEMPLATE_CLASS(obj) |
| #define | GIRARA_IS_TEMPLATE(obj) |
| #define | GIRARA_IS_TEMPLATE_CLASS(obj) |
| #define | GIRARA_TEMPLATE_GET_CLASS(obj) |
Functions | |
| GType | girara_template_get_type (void) G_GNUC_CONST GIRARA_VISIBLE |
| GiraraTemplate * | girara_template_new (const char *base) GIRARA_VISIBLE |
| void | girara_template_set_base (GiraraTemplate *object, const char *base) GIRARA_VISIBLE |
| const char * | girara_template_get_base (GiraraTemplate *object) GIRARA_VISIBLE |
| girara_list_t * | girara_template_referenced_variables (GiraraTemplate *object) GIRARA_VISIBLE |
| bool | girara_template_add_variable (GiraraTemplate *object, const char *name) GIRARA_VISIBLE |
| void | girara_template_set_variable_value (GiraraTemplate *object, const char *name, const char *value) GIRARA_VISIBLE |
| char * | girara_template_evaluate (GiraraTemplate *object) GIRARA_VISIBLE |
| #define GIRARA_IS_TEMPLATE | ( | obj | ) |
Definition at line 28 of file template.h.
| #define GIRARA_IS_TEMPLATE_CLASS | ( | obj | ) |
Definition at line 29 of file template.h.
| #define GIRARA_TEMPLATE | ( | obj | ) |
Definition at line 26 of file template.h.
| #define GIRARA_TEMPLATE_CLASS | ( | obj | ) |
Definition at line 27 of file template.h.
| #define GIRARA_TEMPLATE_GET_CLASS | ( | obj | ) |
Definition at line 30 of file template.h.
| #define GIRARA_TYPE_TEMPLATE (girara_template_get_type()) |
Definition at line 25 of file template.h.
| bool girara_template_add_variable | ( | GiraraTemplate * | object, |
| const char * | name ) |
Register a variable.
| object | GiraraTemplate object |
| name | name of the variable |
| char * girara_template_evaluate | ( | GiraraTemplate * | object | ) |
Replace all variables with their values in the template.
| object | GiraraTemplate object |
| const char * girara_template_get_base | ( | GiraraTemplate * | object | ) |
Get the base string of the template.
| object | GiraraTemplate object |
| GType girara_template_get_type | ( | void | ) |
Returns the type of the template.
| GiraraTemplate * girara_template_new | ( | const char * | base | ) |
Create new template object.
| base | a string that is used as template |
| girara_list_t * girara_template_referenced_variables | ( | GiraraTemplate * | object | ) |
Get list of variable names referenced in the template.
| object | GiraraTemplate object |
| void girara_template_set_base | ( | GiraraTemplate * | object, |
| const char * | base ) |
Set the base string of the template.
| object | GiraraTemplate object |
| base | a string that is used as template |
| void girara_template_set_variable_value | ( | GiraraTemplate * | object, |
| const char * | name, | ||
| const char * | value ) |
Set value of a variable.
| object | GiraraTemplate object |
| name | name of the variable |
| value | value of the variable |