Panda3D

config_dxml.h

00001 // Filename: config_dxml.h
00002 // Created by: drose (08Aug09)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
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 // The purpose of this directory is to expose tinyxml interfaces to
00023 // Python via interrogate.
00024 
00025 // tinyxml.h requires having the symbol TIXML_USE_STL already defined
00026 // before you include it.
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
 All Classes Functions Variables Enumerations