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

BufferAllocator Class Reference

Inheritance diagram for BufferAllocator:

IArrayAllocator List of all members.

Public Member Functions

 this (IReader reader, int width=0)
void reset ()
bool isReadOnly (void *x)
void allocate (void[]*x, BufferConverter decoder)

Private Attributes

BufferConverter raw
uint width
IReader reader

Member Function Documentation

this IReader  reader,
int  width = 0
[inline]
 

Definition at line 107 of file ArrayAllocator.d.

References raw, and width.

void reset  )  [inline]
 

Reimplemented from IArrayAllocator.

Definition at line 118 of file ArrayAllocator.d.

References IBuffer::compress(), IReader::getBuffer(), width, and IBuffer::writable().

bool isReadOnly void *  x  )  [inline]
 

Reimplemented from IArrayAllocator.

Definition at line 131 of file ArrayAllocator.d.

References IReader::getBuffer(), and IBuffer::getContent().

void allocate void *[]  x,
BufferConverter  decoder
[inline]
 

Reimplemented from IArrayAllocator.

Definition at line 141 of file ArrayAllocator.d.

References BufferConverter, IBuffer::get(), IReader::getBuffer(), IReader::length(), and raw.


Member Data Documentation

BufferConverter raw [private]
 

Definition at line 99 of file ArrayAllocator.d.

Referenced by allocate(), and this().

uint width [private]
 

Definition at line 100 of file ArrayAllocator.d.

Referenced by reset(), and this().

IReader reader [private]
 

Definition at line 101 of file ArrayAllocator.d.


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:00 2004 for Mango by doxygen 1.3.6