DD::Image::ImageCacheWriteI Class Referenceabstract

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

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

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.



©2022 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk