DD::Image::ImageCacheWriteI Class Reference

Holder of temporary data to write files to cache: More...

Inherited by DD::Image::FileStreamWrite, and ImageCacheWrite.

List of all members.

Public Member Functions

virtual size_t write (const void *data, size_t n)=0
virtual void close ()=0

Detailed Description

Holder of temporary data to write files to cache:


Member Function Documentation

virtual size_t DD::Image::ImageCacheWriteI::write ( const void *  data,
size_t  n 
) [pure virtual]

Write a block of data to the file.

virtual void DD::Image::ImageCacheWriteI::close ( ) [pure virtual]

Close the file and delete the write data structure. At this point the add_file is done.