net_instaweb::NullWriter Class Reference

#include "null_writer.h"

Inheritance diagram for net_instaweb::NullWriter:
net_instaweb::Writer

List of all members.

Public Member Functions

virtual bool Write (const StringPiece &str, MessageHandler *handler)
virtual bool Flush (MessageHandler *handler)

Detailed Description

A writer that silently eats the bytes. This can be used, for example, with writers is designed to cascade to another one, such as CountingWriter. If you just want to count the bytes and don't want to store them, you can pass a NullWriter to a CountingWriter's constructor.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue May 29 16:34:14 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3