Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# OsclFileCacheBuffer Class Reference
[OSCL IO]

`#include <oscl_file_cache.h>`

## Public Methods
| OsclFileCacheBuffer ()
int32 | SetPosition (TOsclFileOffset pos)
int32 | PrepRead ()
int32 | PrepWrite ()
int32 | WriteUpdatesToFile ()
int32 | FillFromFile (uint32, uint32)
bool | IsUpdated ()
bool | Contains (TOsclFileOffset pos)
bool | Preceeds (TOsclFileOffset pos)
## Data Fields
OsclFileCache * | iContainer
bool | isFixed
uint32 | capacity
uint32 | usableSize
uint8 * | pBuffer
TOsclFileOffset | filePosition
uint32 | currentPos
uint32 | endPos
uint32 | updateStart
uint32 | updateEnd

## Constructor & Destructor Documentation

OsclFileCacheBuffer::OsclFileCacheBuffer | ( |  | ) | `[inline]`

## Member Function Documentation

bool OsclFileCacheBuffer::Contains | ( | TOsclFileOffset | pos | ) | `[inline]`

int32 OsclFileCacheBuffer::FillFromFile | ( | uint32 | ,
|  | uint32 |
| ) |

bool OsclFileCacheBuffer::IsUpdated | ( |  | ) | `[inline]`

bool OsclFileCacheBuffer::Preceeds | ( | TOsclFileOffset | pos | ) | `[inline]`

int32 OsclFileCacheBuffer::PrepRead | ( |  | ) |

int32 OsclFileCacheBuffer::PrepWrite | ( |  | ) |

int32 OsclFileCacheBuffer::SetPosition | ( | TOsclFileOffset | pos | ) |

int32 OsclFileCacheBuffer::WriteUpdatesToFile | ( |  | ) |

## Field Documentation

uint32 OsclFileCacheBuffer::capacity

uint32 OsclFileCacheBuffer::currentPos

uint32 OsclFileCacheBuffer::endPos

TOsclFileOffset OsclFileCacheBuffer::filePosition

OsclFileCache* OsclFileCacheBuffer::iContainer

bool OsclFileCacheBuffer::isFixed

uint8* OsclFileCacheBuffer::pBuffer

uint32 OsclFileCacheBuffer::updateEnd

uint32 OsclFileCacheBuffer::updateStart

uint32 OsclFileCacheBuffer::usableSize

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

- oscl_file_cache.h