Updated the handling of string in the .osg reading and writing so that it

handles the use of " quotes inside the string.
This commit is contained in:
Robert Osfield
2002-10-28 12:55:19 +00:00
parent 91c73c6da1
commit 32c6a7809a
7 changed files with 76 additions and 15 deletions

View File

@@ -34,6 +34,9 @@ class OSGDB_EXPORT Output : public std::ofstream
Output& indent();
/** wrap a string with "" quotes and use \" for any internal quotes.*/
std::string wrapString(const std::string& str);
inline void setIndentStep(int step) { _indentStep = step; }
inline int getIndentStep() const { return _indentStep; }