Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

WvReadOnlyBufferStoreMixin< Super > Class Template Reference

#include <wvbufstore.h>

Inherits Super.

Collaboration diagram for WvReadOnlyBufferStoreMixin< Super >:

[legend]
List of all members.

Detailed Description

template<class Super>
class WvReadOnlyBufferStoreMixin< Super >

A statically bound mixin template for buffer implementations that are read-only.

It is an error to attempt to write to a read-only buffer. Note that read-only in this context does not mean the same as "const".

Definition at line 137 of file wvbufstore.h.

Public Member Functions

 WvReadOnlyBufferStoreMixin (int _granularity)
virtual bool iswritable () const
virtual size_t free () const
virtual size_t optallocable () const
virtual void * alloc (size_t count)
virtual void unalloc (size_t count)
virtual size_t unallocable () const
virtual void * mutablepeek (int offset, size_t count)
virtual void merge (WvBufStore &instore, size_t count)


Constructor & Destructor Documentation

template<class Super>
WvReadOnlyBufferStoreMixin< Super >::WvReadOnlyBufferStoreMixin int  _granularity  )  [inline, explicit]
 

Definition at line 140 of file wvbufstore.h.


Member Function Documentation

template<class Super>
virtual void* WvReadOnlyBufferStoreMixin< Super >::alloc size_t  count  )  [inline, virtual]
 

Definition at line 154 of file wvbufstore.h.

template<class Super>
virtual size_t WvReadOnlyBufferStoreMixin< Super >::free  )  const [inline, virtual]
 

Definition at line 146 of file wvbufstore.h.

template<class Super>
virtual bool WvReadOnlyBufferStoreMixin< Super >::iswritable  )  const [inline, virtual]
 

Reimplemented in WvBufCursorStore.

Definition at line 142 of file wvbufstore.h.

template<class Super>
virtual void WvReadOnlyBufferStoreMixin< Super >::merge WvBufStore instore,
size_t  count
[inline, virtual]
 

Definition at line 175 of file wvbufstore.h.

template<class Super>
virtual void* WvReadOnlyBufferStoreMixin< Super >::mutablepeek int  offset,
size_t  count
[inline, virtual]
 

Reimplemented in WvBufCursorStore.

Definition at line 169 of file wvbufstore.h.

template<class Super>
virtual size_t WvReadOnlyBufferStoreMixin< Super >::optallocable  )  const [inline, virtual]
 

Definition at line 150 of file wvbufstore.h.

template<class Super>
virtual void WvReadOnlyBufferStoreMixin< Super >::unalloc size_t  count  )  [inline, virtual]
 

Definition at line 160 of file wvbufstore.h.

template<class Super>
virtual size_t WvReadOnlyBufferStoreMixin< Super >::unallocable  )  const [inline, virtual]
 

Definition at line 165 of file wvbufstore.h.


The documentation for this class was generated from the following file:
Generated on Tue Oct 5 01:09:30 2004 for WvStreams by doxygen 1.3.7