Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::XmlStringWriter

Group:  Core XML


rwsf::XmlStringWriterrwsf::XmlWriter

Local Index

Members

Header File

#include rwsf/core/XmlStringWriter.h

Description

Class rwsf::XmlStringWriter implements an rwsf::XmlWriter that uses an std::string as a data sink. This class provides a string buffer based implementation of the rwsf::XmlWriter interface to aid in writing XML content to a string.

The class inherits most functions from rwsf::XmlWriter.

Public Constructors

XmlStringWriter(size_t capacity = RWSF_STR_WRITER_BUFFER_SIZE);

Public Destructors

virtual
~XmlStringWriter();

Public Member Functions

void
flush();
size_t
getBufferLength() const;
size_t
getLength() const;
std::string
getString() const;
void
resize(size_t);
void
writeToSink(const std::string &);
void
writeToSink(const char *,
    size_t);
void
writeToSink(char);


Previous fileTop of DocumentContentsIndex pageNext file

© 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.