RenderMan  26.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RixZipSubfile Class Referenceabstract

RIBs can be written into single zip files and this helper object allows access to the sub-files. More...

#include <RixRIB.h>

Public Member Functions

virtual size_t GetSize (void)=0
 size of the data in the file. More...
 
virtual void BeginReading (void)=0
 This must be called before calling Read();. More...
 
virtual void Read (void *blk, size_t blocksize)=0
 Read at most blocksize bytes from the file. More...
 
virtual void EndReading (void)=0
 Call when you are done calling Read();. More...
 
virtual void Write (const void *blk, size_t blocksize)=0
 Write data to a file. More...
 
virtual ~RixZipSubfile ()
 

Detailed Description

RIBs can be written into single zip files and this helper object allows access to the sub-files.

Constructor & Destructor Documentation

virtual RixZipSubfile::~RixZipSubfile ( )
inlinevirtual

Member Function Documentation

virtual void RixZipSubfile::BeginReading ( void  )
pure virtual

This must be called before calling Read();.

virtual void RixZipSubfile::EndReading ( void  )
pure virtual

Call when you are done calling Read();.

virtual size_t RixZipSubfile::GetSize ( void  )
pure virtual

size of the data in the file.

virtual void RixZipSubfile::Read ( void *  blk,
size_t  blocksize 
)
pure virtual

Read at most blocksize bytes from the file.

virtual void RixZipSubfile::Write ( const void *  blk,
size_t  blocksize 
)
pure virtual

Write data to a file.


The documentation for this class was generated from the following file: