WvStreams
Public Member Functions | List of all members
WvReadOnlyBufferStoreMixin< Super > Class Template Reference

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

#include <wvbufstore.h>

Inheritance diagram for WvReadOnlyBufferStoreMixin< Super >:
Inheritance graph
[legend]

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)
 

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 139 of file wvbufstore.h.


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