Public Member Functions

IncrementalReadInterface Class Reference

#include <IncrementalReadInterface.h>

Inherited by AutopatcherRepositoryInterface.

List of all members.

Public Member Functions

 IncrementalReadInterface ()
virtual ~IncrementalReadInterface ()
virtual unsigned int GetFilePart (const char *filename, unsigned int startReadBytes, unsigned int numBytesToRead, void *preallocatedDestination, FileListNodeContext context)

Detailed Description

Definition at line 7 of file IncrementalReadInterface.h.


Constructor & Destructor Documentation

IncrementalReadInterface::IncrementalReadInterface (  )  [inline]

Definition at line 10 of file IncrementalReadInterface.h.

virtual IncrementalReadInterface::~IncrementalReadInterface (  )  [inline, virtual]

Definition at line 11 of file IncrementalReadInterface.h.


Member Function Documentation

unsigned int IncrementalReadInterface::GetFilePart ( const char *  filename,
unsigned int  startReadBytes,
unsigned int  numBytesToRead,
void *  preallocatedDestination,
FileListNodeContext  context 
) [virtual]

Read part of a file into destination Return the number of bytes written. Return 0 when file is done.

Parameters:
[in] filename Filename to read
[in] startReadBytes What offset from the start of the file to read from
[in] numBytesToRead How many bytes to read. This is also how many bytes have been allocated to preallocatedDestination
[out] preallocatedDestination Write your data here
Returns:
The number of bytes read, or 0 if none

Definition at line 4 of file IncrementalReadInterface.cpp.

Here is the caller graph for this function:


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