00001 /*============================================================================ 00002 Copyright 2006 Thad Harroun, Kevin Yager 00003 00004 This file is part of "yanera 2.0". 00005 00006 "yanera" is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. 00007 00008 "yanera" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 00009 00010 You should have received a copy of the GNU General Public License along with "yanera"; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 00011 ==============================================================================*/ 00012 /*============================================================================*/ 00018 /*============================================================================*/ 00030 void yanera_read_xml(yanera_container *yanera); 00031 /*============================================================================*/ 00045 void parseModelSection(xmlDocPtr xml_doc, xmlNodePtr xml_parent_node, \ 00046 yanera_container *yanera); 00047 /*============================================================================*/ 00068 void parseModel(xmlDocPtr xml_doc, xmlNodePtr xml_node_model, \ 00069 yanera_model *model, yanera_container *yanera); 00070 /*============================================================================*/ 00094 void parseLayer(xmlDocPtr xml_doc, xmlNodePtr xml_node_layer, \ 00095 yanera_layer *layer, yanera_container *yanera); 00096 /*============================================================================*/ 00111 void parseRepeat(xmlDocPtr xml_doc, xmlNodePtr xml_node_parent, \ 00112 unsigned short repeat_number, \ 00113 yanera_model *model, yanera_container *yanera); 00114 /*============================================================================*/ 00127 void parseDataSection(xmlDocPtr xml_doc, xmlNodePtr xml_node_parent, \ 00128 yanera_container *yanera); 00129 /*============================================================================*/ 00144 void parseData(xmlDocPtr xml_doc, xmlNodePtr xml_node_parent, \ 00145 yanera_data *data); 00146 /*============================================================================*/ 00159 void parseResolution(xmlDocPtr xml_doc, xmlNodePtr xml_node_data, \ 00160 yanera_data *data); 00161 /*============================================================================*/ 00182 void parseMiscellaneousSection(xmlDocPtr xml_doc, xmlNodePtr xml_parent_node, \ 00183 yanera_container *yanera); 00184 /*============================================================================*/ 00194 void parseMinMax(xmlDocPtr xml_doc, xmlNodePtr xml_node_parent, \ 00195 unsigned short index, yanera_container *yanera);