Documentation de la bibliothèque MLV-3.1.0

MLV_xml_va.h
Aller à la documentation de ce fichier.
1/*
2 * This file is part of the MLV Library.
3 *
4 * Copyright (C) 2013-2014 Adrien Boussicault, Marc Zipstein
5 *
6 *
7 * This Library is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This Library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this Library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
39#ifndef __MLV__MLV_XML_VA_H__
40#define __MLV__MLV_XML_VA_H__
41
42#include <stdarg.h>
43
44#ifdef __cplusplus
45extern "C" {
46#endif
47
61 const MLV_Xml* xml_data, char** result, const char* xpath, va_list pile
62);
63
64
80 const MLV_Xml* xml_data, int* result, const char* xpath, va_list pile
81);
82
98 const MLV_Xml* xml_data, double* result, const char* xpath, va_list pile
99);
100
116 const MLV_Xml* xml_data, float* result, const char* xpath, va_list pile
117);
118
119
132 const MLV_Xml* xml_data, const char* xpath, va_list pile
133);
134
148 const MLV_Xml* xml_data, const char* xpath, va_list pile
149);
150
151#ifdef __cplusplus
152}
153#endif
154
155#endif
MLV_Xml_error
Énumère les différents codes d'erreurs que l'on peut rencontrer lorsque l'ordinateur lit un document ...
Definition MLV_xml.h:75
struct _MLV_Xml MLV_Xml
Définit le type de donnée stockée au format xml dans la bibliothèque MLV.
Definition MLV_xml.h:51
MLV_Xml_error MLV_get_float_value_from_xml_va(const MLV_Xml *xml_data, float *result, const char *xpath, va_list pile)
Permet de récupérer le réel d'un champs donné du fichier xml.
MLV_Xml_error MLV_get_integer_value_from_xml_va(const MLV_Xml *xml_data, int *result, const char *xpath, va_list pile)
Permet de récupérer l'entier d'un champs donné du fichier xml.
MLV_Xml_error MLV_get_string_value_from_xml_va(const MLV_Xml *xml_data, char **result, const char *xpath, va_list pile)
Permet d'accéder à l'interieur d'un champs donné du fichier xml.
MLV_Xml_error MLV_get_double_value_from_xml_va(const MLV_Xml *xml_data, double *result, const char *xpath, va_list pile)
Permet de récupérer le reel d'un champs donné du fichier xml.
MLV_Xml * MLV_get_xml_object_of_va(const MLV_Xml *xml_data, const char *xpath, va_list pile)
Permet de récupérer un noeud interne de l'arbre représentant le fichier XML.
int MLV_get_number_of_objects_from_xml_va(const MLV_Xml *xml_data, const char *xpath, va_list pile)
Compte le nombre d'objets présents dans le fichier xml verifiant un certain nombre de critères passés...