rwsf::XmlStreamWriterrwsf::XmlWriter
#include rwsf/core/XmlStreamWriter.h
rwsf::XmlStreamWriter implements an rwsf::XmlWriter that uses an std::ostream as a data sink. The class inherits most functions from rwsf::XmlWriter. This class can be constructed on any std::ostream implementation.
XmlStreamWriter(std::ostream & out);
Constructs an rwsf::XmlStreamWriter that writes to the std::ostream out. The caller should ensure that out is in a good state before starting. Additionally, the user must ensure that out is in scope longer than the rwsf::XmlStreamWriter instance.
void flush();
Implements method in rwsf::XmlWriter
Base class documentation:
Pure virtual function. In a derived class, this function flushes the underlying data sink. The behavior of the function depends on the type of the data sink.
Implementation documentation:
Calls flush() on the underlying std::ostream.
void writeToSink(const char * textData, size_t textLength);
Implements method in rwsf::XmlWriter
Base class documentation:
Pure virtual function. In a derived class, this function writes the contents of str limited to the length of len to the underlying data sink.
void writeToSink(char c);
Implements method in rwsf::XmlWriter
Base class documentation:
Pure virtual function. In a derived class, this function writes c to the underlying data sink.
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.