Lee Thomason 14 лет назад
Родитель
Сommit
4cd8534a1e
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      tinyxml2.h

+ 3 - 1
tinyxml2.h

@@ -1327,7 +1327,9 @@ class XMLPrinter : public XMLVisitor
 public:
 public:
 	/** Construct the printer. If the FILE* is specified,
 	/** Construct the printer. If the FILE* is specified,
 		this will print to the FILE. Else it will print
 		this will print to the FILE. Else it will print
-		to memory, and the result is available in CStr()
+		to memory, and the result is available in CStr().
+		If 'compact' is set to true, then output is created
+		with only required whitespace and newlines.
 	*/
 	*/
 	XMLPrinter( FILE* file=0, bool compact = false );
 	XMLPrinter( FILE* file=0, bool compact = false );
 	~XMLPrinter()	{}
 	~XMLPrinter()	{}