#include <CachedPage.h>

Public Types | |
| typedef boost::shared_ptr < CacheUnit > | UnitPtr |
Public Member Functions | |
| CachedPage (UnitPtr pCacheUnit, size_t offset, DimensionDescriptor startRow) | |
| virtual | ~CachedPage () |
| void * | getRawData () |
| unsigned int | getNumRows () |
| unsigned int | getNumColumns () |
| unsigned int | getNumBands () |
| unsigned int | getInterlineBytes () |
Classes | |
| class | CacheUnit |
Page sharing/caching allows multiple data accessors to have read-only access to the same page. The CachedPage and RasterPage are thread-safe classes.
Definition at line 25 of file CachedPage.h.
| typedef boost::shared_ptr<CacheUnit> CachedPage::UnitPtr |
Definition at line 127 of file CachedPage.h.
| CachedPage::CachedPage | ( | UnitPtr | pCacheUnit, | |
| size_t | offset, | |||
| DimensionDescriptor | startRow | |||
| ) |
Creates a CachedPage.
| pCacheUnit | The CacheUnit for this page | |
| offset | The number of bytes to offset into the block. This does not account for size of the data type. | |
| startRow | The start row for this page. |
| virtual CachedPage::~CachedPage | ( | ) | [virtual] |
Virtual destructor to ensure proper deletion of inherited classes.
| void* CachedPage::getRawData | ( | ) | [virtual] |
Obligation from base class; returns a pointer to the raw data.
Implements RasterPage.
| unsigned int CachedPage::getNumRows | ( | ) | [virtual] |
Accessor to private data.
Implements RasterPage.
| unsigned int CachedPage::getNumColumns | ( | ) | [virtual] |
| unsigned int CachedPage::getNumBands | ( | ) | [virtual] |
| unsigned int CachedPage::getInterlineBytes | ( | ) | [virtual] |
Access the number of interline bytes in the page.
Implements RasterPage.