#include <libxml/tree.h>
#include "object.h"
Include dependency graph for xmlobjectfactory.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
AlarmdObject * | object_factory (xmlNode *object_node) |
object_factory: : The node in the tree, which describes the object to be. | |
GParameter * | elements_to_parameters (xmlNode *object_node, guint *n_params) |
elements_to_parameters: : Node whose children should be handled. |
|
elements_to_parameters: : Node whose children should be handled. : Pointer to guint that should hold the size of returned array. Scans the children of #object_node for occurrencies of parameter nodes. A GParameter array is build of these. Returns: Newly allocated GParameter array, use alarmd_gparameterv_free to free. Definition at line 105 of file xmlobjectfactory.c. References A_NAME, A_TYPE, E_COUNT, E_PARAMETER, get_element_text(), get_id(), object_factory(), T_ATTRIBUTE, T_COUNT, T_ELEMENT, T_TYPE, type_gtypes, Y_BOOLEAN, Y_CHAR, Y_INT, Y_INT64, Y_LONG, Y_OBJECT, Y_STRING, Y_UCHAR, Y_UINT, Y_UINT64, and Y_ULONG. Referenced by init_queue(), and object_factory(). |
|
object_factory: : The node in the tree, which describes the object to be. Creates a new object from the xnk tree. May recursively call self to create sub-objects. Returns: Newly created object. Definition at line 218 of file xmlobjectfactory.c. References A_TYPE, alarmd_gparameterv_free(), DEBUG, E_OBJECT, elements_to_parameters(), ENTER_FUNC, get_element_text(), get_id(), LEAVE_FUNC, T_ATTRIBUTE, and T_ELEMENT. Referenced by elements_to_parameters(), and init_queue(). |