00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CONFIG_DXML_H
00016 #define CONFIG_DXML_H
00017
00018 #include "pandabase.h"
00019 #include "notifyCategoryProxy.h"
00020 #include "dconfig.h"
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef TIXML_USE_STL
00029 #define TIXML_USE_STL
00030 #endif
00031
00032 NotifyCategoryDecl(dxml, EXPCL_PANDA, EXPTP_PANDA);
00033
00034 extern EXPCL_PANDA void init_libdxml();
00035
00036 class TiXmlDocument;
00037 class TiXmlNode;
00038 BEGIN_PUBLISH
00039 TiXmlDocument *read_xml_stream(istream &in);
00040 void write_xml_stream(ostream &out, TiXmlDocument *doc);
00041 void print_xml(TiXmlNode *xnode);
00042 void print_xml_to_file(const Filename &filename, TiXmlNode *xnode);
00043 END_PUBLISH
00044
00045 #endif