#include <LocalDataFileSource.h>
BUSBOY::LocalDataFileSource::LocalDataFileSource |
( |
const std::string & |
path | ) |
|
BUSBOY::LocalDataFileSource::~LocalDataFileSource |
( |
| ) |
|
char * BUSBOY::LocalDataFileSource::getFileBytes |
( |
| ) |
const |
|
virtual |
NOTE: logical const, implementations may make changes behind the interface to lookup the data.
Implements BUSBOY::DataFileSource.
size_t BUSBOY::LocalDataFileSource::getFileSize |
( |
| ) |
const |
|
virtual |
NOTE: logical const, implementations may make changes behind the interface to lookup the data.
Implements BUSBOY::DataFileSource.
std::string BUSBOY::LocalDataFileSource::getPath |
( |
| ) |
const |
bool BUSBOY::LocalDataFileSource::isReleased |
( |
| ) |
const |
|
virtual |
size_t BUSBOY::LocalDataFileSource::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::LocalDataFileSource::release |
( |
| ) |
|
|
virtual |
size_t BUSBOY::LocalDataFileSource::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.