Added a wrapString(const char*) which automatically handles null strings.
This commit is contained in:
@@ -49,6 +49,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 char* str);
|
||||
|
||||
/** wrap a string with "" quotes and use \" for any internal quotes.*/
|
||||
std::string wrapString(const std::string& str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user