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::NullWriter Class Reference

#include "null_writer.h"

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

Public Member Functions

virtual bool Write (const StringPiece &str, MessageHandler *handler)
 
virtual bool Flush (MessageHandler *handler)
 
- Public Member Functions inherited from net_instaweb::Writer
virtual bool Dump (Writer *writer, MessageHandler *message_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: