RenderManAPI  24.0
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

◆ ~RixZipSubfile()

virtual RixZipSubfile::~RixZipSubfile ( )
inlinevirtual

Member Function Documentation

◆ BeginReading()

virtual void RixZipSubfile::BeginReading ( void  )
pure virtual

This must be called before calling Read();.

◆ EndReading()

virtual void RixZipSubfile::EndReading ( void  )
pure virtual

Call when you are done calling Read();.

◆ GetSize()

virtual size_t RixZipSubfile::GetSize ( void  )
pure virtual

size of the data in the file.

◆ Read()

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

Read at most blocksize bytes from the file.

◆ Write()

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: