#include <mxml.h>
#include "include/agent.h"
#include "include/xml_compose.h"
#include "include/xml_helper.h"
Go to the source code of this file.
Functions | |
mxml_node_t * | agent_xml_compose (agent_p agent) |
mxml_node_t * | agent_xml_compose__gaf_message (agent_p agent) |
mxml_node_t * | agent_xml_compose__message (agent_p agent) |
mxml_node_t * | agent_xml_compose__mobile_agent (agent_p agent) |
mxml_node_t * | agent_xml_compose__agent_data (agent_p agent) |
mxml_node_t * | agent_xml_compose__name (agent_p agent) |
mxml_node_t * | agent_xml_compose__owner (agent_p agent) |
mxml_node_t * | agent_xml_compose__home (agent_p agent) |
mxml_node_t * | agent_xml_compose__tasks (agent_p agent) |
mxml_node_t * | agent_xml_compose__task (agent_p agent, int index) |
mxml_node_t * | agent_xml_compose__data (agent_p agent, int index, interpreter_variable_data_t *interp_variable) |
mxml_node_t * | agent_xml_compose__agent_code (agent_p agent, int index) |
mxml_node_t * | agent_xml_compose__row (interpreter_variable_data_t *interp_variable, int index) |
mxml_node_t * | agent_xml_compose__create_row_nodes (void *data, int index, int *extent, ChType_t type, int dim, int extent_index) |
mxml_node_t* agent_xml_compose | ( | agent_p | agent | ) |
Definition at line 41 of file xml_compose.c.
References agent_xml_compose__gaf_message(), MXML_ADD_AFTER, MXML_ADD_TO_PARENT, MXML_NO_CALLBACK, mxmlAdd(), mxmlLoadString(), and node.
Referenced by message_InitializeFromAgent().
mxml_node_t* agent_xml_compose__agent_code | ( | agent_p | agent, | |
int | index | |||
) |
Definition at line 501 of file xml_compose.c.
References agent_datastate_s::agent_code_ids, agent_datastate_s::agent_codes, agent_s::datastate, MXML_NO_PARENT, mxmlElementSetAttr(), mxmlNewElement(), node, and xml_new_cdata().
Referenced by agent_xml_compose__tasks().
mxml_node_t* agent_xml_compose__agent_data | ( | agent_p | agent | ) |
Definition at line 145 of file xml_compose.c.
References agent_xml_compose__home(), agent_xml_compose__name(), agent_xml_compose__owner(), agent_xml_compose__tasks(), MXML_ADD_AFTER, mxmlAdd(), mxmlNewElement(), and node.
Referenced by agent_xml_compose__mobile_agent().
mxml_node_t* agent_xml_compose__create_row_nodes | ( | void * | data, | |
int | index, | |||
int * | extent, | |||
ChType_t | type, | |||
int | dim, | |||
int | extent_index | |||
) |
Definition at line 552 of file xml_compose.c.
References agent_xml_compose__create_row_nodes(), buf, CH_DATATYPE_SIZE, CH_DATATYPE_VALUE_STRING, MXML_ADD_AFTER, MXML_ADD_TO_PARENT, MXML_NO_PARENT, mxmlAdd(), mxmlElementSetAttr(), mxmlNewElement(), mxmlNewText(), node, and size.
Referenced by agent_xml_compose__create_row_nodes(), and agent_xml_compose__row().
mxml_node_t* agent_xml_compose__data | ( | agent_p | agent, | |
int | index, | |||
interpreter_variable_data_t * | interp_variable | |||
) |
Definition at line 427 of file xml_compose.c.
References agent_xml_compose__row(), interpreter_variable_data_s::array_dim, buf, CH_DATATYPE_STRING, CH_DATATYPE_VALUE_STRING, interpreter_variable_data_s::data, interpreter_variable_data_s::data_type, MXML_ADD_AFTER, mxmlAdd(), mxmlElementSetAttr(), mxmlNewElement(), interpreter_variable_data_s::name, and node.
Referenced by agent_xml_compose__task().
mxml_node_t* agent_xml_compose__gaf_message | ( | agent_p | agent | ) |
Definition at line 61 of file xml_compose.c.
References agent_xml_compose__message(), MXML_ADD_AFTER, mxmlAdd(), mxmlNewElement(), and node.
Referenced by agent_xml_compose().
mxml_node_t* agent_xml_compose__home | ( | agent_p | agent | ) |
Definition at line 237 of file xml_compose.c.
References agent_s::home, mxmlNewElement(), mxmlNewText(), and node.
Referenced by agent_xml_compose__agent_data().
mxml_node_t* agent_xml_compose__message | ( | agent_p | agent | ) |
Definition at line 80 of file xml_compose.c.
References agent_s::agent_type, agent_xml_compose__mobile_agent(), MC_LOCAL_AGENT, MC_REMOTE_AGENT, MC_RETURN_AGENT, MXML_ADD_AFTER, mxmlAdd(), mxmlElementSetAttr(), mxmlNewElement(), and node.
Referenced by agent_xml_compose__gaf_message().
mxml_node_t* agent_xml_compose__mobile_agent | ( | agent_p | agent | ) |
Definition at line 124 of file xml_compose.c.
References agent_xml_compose__agent_data(), MXML_ADD_AFTER, mxmlAdd(), mxmlNewElement(), and node.
Referenced by agent_xml_compose__message().
mxml_node_t* agent_xml_compose__name | ( | agent_p | agent | ) |
Definition at line 205 of file xml_compose.c.
References mxmlNewElement(), mxmlNewText(), agent_s::name, and node.
Referenced by agent_xml_compose__agent_data().
mxml_node_t* agent_xml_compose__owner | ( | agent_p | agent | ) |
Definition at line 221 of file xml_compose.c.
References mxmlNewElement(), mxmlNewText(), node, and agent_s::owner.
Referenced by agent_xml_compose__agent_data().
mxml_node_t* agent_xml_compose__row | ( | interpreter_variable_data_t * | interp_variable, | |
int | index | |||
) |
Definition at line 529 of file xml_compose.c.
References agent_xml_compose__create_row_nodes(), interpreter_variable_data_s::array_dim, interpreter_variable_data_s::array_extent, interpreter_variable_data_s::data, interpreter_variable_data_s::data_type, and node.
Referenced by agent_xml_compose__data().
mxml_node_t* agent_xml_compose__task | ( | agent_p | agent, | |
int | index | |||
) |
Definition at line 310 of file xml_compose.c.
References agent_task_s::agent_return_data, agent_task_s::agent_variable_list, agent_xml_compose__data(), buf, agent_task_s::code_id, agent_s::datastate, MXML_ADD_AFTER, mxmlAdd(), mxmlElementSetAttr(), mxmlNewElement(), node, agent_task_s::persistent, agent_datastate_s::persistent, agent_task_s::server_name, agent_task_s::task_completed, agent_datastate_s::tasks, and agent_task_s::var_name.
Referenced by agent_xml_compose__tasks().
mxml_node_t* agent_xml_compose__tasks | ( | agent_p | agent | ) |
Definition at line 253 of file xml_compose.c.
References agent_xml_compose__agent_code(), agent_xml_compose__task(), buf, agent_s::datastate, MXML_ADD_AFTER, mxmlAdd(), mxmlElementSetAttr(), mxmlNewElement(), node, agent_datastate_s::number_of_tasks, and agent_datastate_s::task_progress.
Referenced by agent_xml_compose__agent_data().