Public Member Functions | Static Public Member Functions

Celartem::StorageOffsetter Class Reference

#include <cel_storage.h>

Inheritance diagram for Celartem::StorageOffsetter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void offset (size_t inAdditionalOffset)=0

Static Public Member Functions

static AutoPtr< StorageOffsettercreate (Storage *inStorage, uint64_t inOffset)

Detailed Description

This class provides the feature of offsetting existing storage instances.

See also:
storages

Member Function Documentation

static AutoPtr<StorageOffsetter> Celartem::StorageOffsetter::create ( Storage inStorage,
uint64_t  inOffset 
) [static]

This method creates offsetted Storage.

Parameters:
inStorage A storage.
inOffset Offset in bytes.
Returns:
Pointer to the newly created storage.
virtual void Celartem::StorageOffsetter::offset ( size_t  inAdditionalOffset  )  [pure virtual]

Additionally offset the storage.
This method also conditions the current position according to the offset change.

Parameters:
inAdditionalOffset Additional offset.

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

This document is made with doxygen 1.7.1 at Thu Feb 17 2011 15:40:18.
Caminova Logo