net_instaweb::FileSystem::OutputFile Class Reference

Inheritance diagram for net_instaweb::FileSystem::OutputFile:
net_instaweb::FileSystem::File

List of all members.

Public Member Functions

virtual bool Write (const StringPiece &buf, MessageHandler *handler)=0
virtual bool Flush (MessageHandler *handler)=0
virtual bool SetWorldReadable (MessageHandler *handler)=0

Friends

class FileSystem
 Use public interface provided by FileSystem::Close.

Member Function Documentation

virtual bool net_instaweb::FileSystem::OutputFile::Write ( const StringPiece &  buf,
MessageHandler handler 
) [pure virtual]

Note: Write is not atomic. If Write fails, there is no indication of how much data has already been written to the file.

Todo:
TODO(sligocki): Would we like a version that returns the amound written? If so, it should be named so that it is clear it is returning int.

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:09 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3