@@ -26,15 +26,15 @@ namespace xmlpp
26
26
27
27
/* * Base class for xmlOutputBuffer wrapper
28
28
*
29
- * It can be herited to create a new output buffer.
30
- * A child class has to override do_write, and eventually
31
- * do_close if some actions are required before buffer closing.
29
+ * It can be derived from to create a new output buffer.
30
+ * A child class has to override do_write() , and possibly
31
+ * do_close() if some actions are required before buffer closing.
32
32
*/
33
33
class OutputBuffer : public NonCopyable
34
34
{
35
35
public:
36
36
/* *
37
- * @param encoding The encoding herited class wait for in do_write. If
37
+ * @param encoding The encoding that the derived class waits for in do_write. If
38
38
* not provided, UTF-8 will be sent to do_write.
39
39
*
40
40
* @warning The encoding is done by libxml. As a consequence, libxml must
@@ -60,12 +60,12 @@ namespace xmlpp
60
60
* @param buffer The datas encoded in the charset given to the constructor
61
61
* @param len Buffer length
62
62
*
63
- * This function MUST be overriden in herited classes.
63
+ * This function MUST be overriden in derived classes.
64
64
*/
65
65
virtual bool do_write (const char * buffer, int len) = 0;
66
66
67
67
/* * Function called before closing the buffer.
68
- * Herited classes should override it if some actions are required before
68
+ * Derived classes should override it if some actions are required before
69
69
* closing the buffer, instead of doing them in the destructor.
70
70
*/
71
71
virtual bool do_close ();
0 commit comments