VolumeCache Class Reference

Class for handling caching of volumes. More...

#include <volumecache.h>

Inheritance diagram for VolumeCache:
Cache< VolumeHandle > CacheBase

List of all members.

Protected Member Functions

virtual VolumeHandleloadObject (const std::string &filename) const
virtual std::string portContentToString (Port *const port) const
 Inherited from CacheBase.
virtual std::string saveObject (VolumeHandle *object, const std::string &directory, const std::string &filename)
 Inherited from Cache<T>.

Detailed Description

Class for handling caching of volumes.

This done by caching the wrapper classes VolumeHandle for Volume objects.

Author:
Dirk Feldmann, June/July 2009

Definition at line 43 of file volumecache.h.


Member Function Documentation

VolumeHandle * loadObject ( const std::string &  filename  )  const [protected, virtual]

Inherited from Cache<T>.

Implements Cache< VolumeHandle >.

Definition at line 71 of file volumecache.cpp.

std::string portContentToString ( Port *const   port  )  const [protected, virtual]

Inherited from CacheBase.

The returned string the form of

"[complete filename]([timestep])", e.g. "D:/data/nucleon.dat(0)"

Implements CacheBase.

Definition at line 56 of file volumecache.cpp.