#include <SimpleDataFileSource.h>
BUSBOY::SimpleDataFileSource::~SimpleDataFileSource |
( |
| ) |
|
char * BUSBOY::SimpleDataFileSource::getFileBytes |
( |
| ) |
const |
|
virtual |
NOTE: logical const, implementations may make changes behind the interface to lookup the data.
Implements BUSBOY::DataFileSource.
size_t BUSBOY::SimpleDataFileSource::getFileSize |
( |
| ) |
const |
|
virtual |
NOTE: logical const, implementations may make changes behind the interface to lookup the data.
Implements BUSBOY::DataFileSource.
bool BUSBOY::SimpleDataFileSource::isReleased |
( |
| ) |
const |
|
virtual |
size_t BUSBOY::SimpleDataFileSource::read |
( |
char * |
buf, |
|
|
size_t |
num |
|
) |
| |
|
virtual |
Read up to the next num bytes into buf, returns the number of bytes read.
Reimplemented from BUSBOY::DataFileSource.
void BUSBOY::SimpleDataFileSource::release |
( |
| ) |
|
|
virtual |
size_t BUSBOY::SimpleDataFileSource::skip |
( |
size_t |
num | ) |
|
|
virtual |
Skip up to the next num bytes, returns the number of bytes skipped.
Reimplemented from BUSBOY::DataFileSource.
The documentation for this class was generated from the following files:
Copyright 2014 Google Inc. All rights reserved.