Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::StringWriter Class Reference

Writer implementation for directing HTML output to a string. More...

#include "string_writer.h"

Inheritance diagram for net_instaweb::StringWriter:
net_instaweb::Writer

Public Member Functions

 StringWriter (GoogleString *str)
 
virtual bool Write (const StringPiece &str, MessageHandler *message_handler)
 
virtual bool Flush (MessageHandler *message_handler)
 
virtual bool Dump (Writer *writer, MessageHandler *message_handler)
 

Detailed Description

Writer implementation for directing HTML output to a string.

Member Function Documentation

virtual bool net_instaweb::StringWriter::Dump ( Writer writer,
MessageHandler message_handler 
)
virtual

Dumps the contents of what's been written to the Writer. Many Writer implementations will not be able to do this, and the default implementation will return false. But StringWriter and SharedCircularBuffer can dump their contents, and override this with implementations that return true.

Reimplemented from net_instaweb::Writer.


The documentation for this class was generated from the following file: