X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fprops%2Fprops_io.hxx;h=92c3bef378f14d733edaf79bac33f90a2980e62a;hb=708ae35068499af33329f9db91f55441f4956acb;hp=c8f46997207abeaabe2fc2812e30be8de5ae7dca;hpb=733e6fa14ff507a1022ecab8d55cc9bf587bee40;p=simgear.git diff --git a/simgear/props/props_io.hxx b/simgear/props/props_io.hxx index c8f46997..92c3bef3 100644 --- a/simgear/props/props_io.hxx +++ b/simgear/props/props_io.hxx @@ -26,21 +26,23 @@ * 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); /** @@ -63,7 +65,8 @@ void writeProperties (const std::string &file, /** * Copy properties from one node to another. */ -bool copyProperties (const SGPropertyNode *in, SGPropertyNode *out); +bool copyProperties (const SGPropertyNode *in, SGPropertyNode *out, + int attr_value=0, int attr_mask=0); #endif // __PROPS_IO_HXX