StorageIntf Class Reference

Abstract interface for file based memory storage operations. More...

#include <store.h>

Inheritance diagram for StorageIntf:

FileStorage Store StreamStorage List of all members.

Public Member Functions

virtual ~StorageIntf ()
virtual int read (char *buf, uint size)=0
virtual int write (const char *buf, uint size)=0

Detailed Description

Abstract interface for file based memory storage operations.

Definition at line 27 of file store.h.


Constructor & Destructor Documentation

virtual StorageIntf::~StorageIntf (  )  [inline, virtual]

Required by gcc

Definition at line 31 of file store.h.


Member Function Documentation

virtual int StorageIntf::read ( char *  buf,
uint  size 
) [pure virtual]

Read size bytes from the store into buf.

Implemented in FileStorage, StreamStorage, and Store.

Referenced by unmarshalBool(), unmarshalInt(), unmarshalObjPointer(), unmarshalQCString(), unmarshalQGString(), and unmarshalUInt().

virtual int StorageIntf::write ( const char *  buf,
uint  size 
) [pure virtual]

Write size bytes from buf into the store.

Implemented in FileStorage, StreamStorage, and Store.

Referenced by marshalBool(), marshalInt(), marshalObjPointer(), marshalQCString(), marshalQGString(), and marshalUInt().


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



Generated on Mon Mar 31 10:59:03 2008 by  doxygen 1.5.1