SDIF::Storage Class Reference

#include <SDIFStorage.hxx>

Inheritance diagram for SDIF::Storage:

SDIF::Collection

List of all members.


Detailed Description

Storage is an abstract class, that is passed to File, used to handle every read frame.

The most common construction is to use a Collection that is derived from Storage, and pass it to File::Read() but it is possible to implement other ways of handling read frames.

See also:
Collection

Definition at line 38 of file SDIFStorage.hxx.


Public Types

typedef std::list< Frame * >
::const_iterator 
FrameIterator

Public Member Functions

virtual void Add (Frame *pFrame)=0
 virtual function that where derived classes get the frames read by the File.
virtual FrameIterator Begin (void) const =0
virtual FrameIterator End (void) const =0

Member Typedef Documentation

typedef std::list<Frame*>::const_iterator SDIF::Storage::FrameIterator

Definition at line 41 of file SDIFStorage.hxx.


Member Function Documentation

virtual void SDIF::Storage::Add ( Frame pFrame  )  [pure virtual]

virtual function that where derived classes get the frames read by the File.

Note that the derived class is responsible for handling the memory deallocation of the frames it gets passed.

Implemented in SDIF::Collection.

Referenced by SDIF::File::Read().

virtual FrameIterator SDIF::Storage::Begin ( void   )  const [pure virtual]

Implemented in SDIF::Collection.

Referenced by SDIF::File::Write().

virtual FrameIterator SDIF::Storage::End ( void   )  const [pure virtual]

Implemented in SDIF::Collection.

Referenced by SDIF::File::Write().


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

Generated on Tue Aug 12 22:33:51 2008 for CLAM by  doxygen 1.5.5