Panda3D
config_dxml.h
1 // Filename: config_dxml.h
2 // Created by: drose (08Aug09)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef CONFIG_DXML_H
16 #define CONFIG_DXML_H
17 
18 #include "pandabase.h"
19 #include "notifyCategoryProxy.h"
20 #include "dconfig.h"
21 
22 // The purpose of this directory is to expose tinyxml interfaces to
23 // Python via interrogate.
24 
25 // tinyxml.h requires having the symbol TIXML_USE_STL already defined
26 // before you include it.
27 
28 #ifndef TIXML_USE_STL
29 #define TIXML_USE_STL
30 #endif
31 
32 NotifyCategoryDecl(dxml, EXPCL_PANDA, EXPTP_PANDA);
33 
34 extern EXPCL_PANDA void init_libdxml();
35 
36 class TiXmlDocument;
37 class TiXmlNode;
38 BEGIN_PUBLISH
39 EXPCL_PANDA TiXmlDocument *read_xml_stream(istream &in);
40 EXPCL_PANDA void write_xml_stream(ostream &out, TiXmlDocument *doc);
41 EXPCL_PANDA void print_xml(TiXmlNode *xnode);
42 EXPCL_PANDA void print_xml_to_file(const Filename &filename, TiXmlNode *xnode);
43 END_PUBLISH
44 
45 #endif
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:44
Always the top level node.
Definition: tinyxml.h:1386
The parent class for everything in the Document Object Model.
Definition: tinyxml.h:423