]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/props_io.hxx
Update doxgen config and some comments.
[simgear.git] / simgear / props / props_io.hxx
index c8f46997207abeaabe2fc2812e30be8de5ae7dca..591fe6274476d9f8dc0a8abe32f372261a851f3a 100644 (file)
 #include <simgear/compiler.h>
 #include <simgear/props/props.hxx>
 
-#include <stdio.h>
-
 #include <string>
-#include <vector>
-#include <map>
 #include <iosfwd>
 
 /**
  * Read properties from an XML input stream.
  */
 void readProperties (std::istream &input, SGPropertyNode * start_node,
-                    const std::string &base = "", int default_mode = 0);
+                    const std::string &base = "", int default_mode = 0,
+                     bool extended = false);
 
 
 /**
  * Read properties from an XML file.
  */
 void readProperties (const std::string &file, SGPropertyNode * start_node,
-                     int default_mode = 0);
+                     int default_mode = 0, bool extended = false);
 
 
 /**
  * Read properties from an in-memory buffer.
  */
 void readProperties (const char *buf, const int size,
-                     SGPropertyNode * start_node, int default_mode = 0);
+                     SGPropertyNode * start_node, int default_mode = 0,
+                     bool extended = false);
 
 
 /**
@@ -66,6 +64,9 @@ void writeProperties (const std::string &file,
 bool copyProperties (const SGPropertyNode *in, SGPropertyNode *out);
 
 
+bool copyPropertiesWithAttribute(const SGPropertyNode *in, SGPropertyNode *out,
+                                 SGPropertyNode::Attribute attr);
+
 #endif // __PROPS_IO_HXX
 
 // end of props_io.hxx