My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
StorageIntf Class Referenceabstract

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

#include <store.h>

Inheritance diagram for StorageIntf:
FileStorage Store

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 ( )
inlinevirtual

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 Store, and FileStorage.

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 Store, and FileStorage.

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


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