| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
#ifndef __XPATH_STATIC_H |
| 31 |
#define __XPATH_STATIC_H |
| 32 |
|
| 33 |
#include "xpath_processor.h" |
| 34 |
|
| 35 |
namespace TinyXPath |
| 36 |
{ |
| 37 |
|
| 38 |
extern int i_xpath_int (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr); |
| 39 |
extern double d_xpath_double (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr); |
| 40 |
extern bool o_xpath_bool (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr); |
| 41 |
extern TIXML_STRING S_xpath_string (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr); |
| 42 |
extern TiXmlNode * XNp_xpath_node (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr); |
| 43 |
extern TiXmlAttribute * XAp_xpath_attribute (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr); |
| 44 |
|
| 45 |
|
| 46 |
extern bool o_xpath_int (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr, int & i_res); |
| 47 |
extern bool o_xpath_double (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr, double & d_res); |
| 48 |
extern bool o_xpath_bool (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr, bool & o_res); |
| 49 |
extern bool o_xpath_string (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr, TIXML_STRING & S_res); |
| 50 |
extern bool o_xpath_node (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr, const TiXmlNode * & XNp_node); |
| 51 |
extern bool o_xpath_attribute (const TiXmlNode * XNp_source_tree, const char * cp_xpath_expr, const TiXmlAttribute * & XAp_attrib); |
| 52 |
} |
| 53 |
|
| 54 |
#endif |