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

BufferAllocator Class Reference

Inheritance diagram for BufferAllocator:

SimpleAllocator List of all members.

Public Member Functions

 this (int width=0)
void reset ()
void bind (IReader reader)
bool isMutable (void *x)
void allocate (void[]*x, uint bytes, uint width, uint type, BufferDecoder decoder)

Private Attributes

BufferDecoder raw
uint width

Member Function Documentation

this int  width = 0  )  [inline]
 

Definition at line 146 of file ArrayAllocator.d.

References width.

void reset  )  [inline]
 

Reimplemented from SimpleAllocator.

Definition at line 155 of file ArrayAllocator.d.

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

void bind IReader  reader  )  [inline]
 

Reimplemented from SimpleAllocator.

Definition at line 168 of file ArrayAllocator.d.

References raw, and IBuffer::read().

bool isMutable void *  x  )  [inline]
 

Reimplemented from SimpleAllocator.

Definition at line 178 of file ArrayAllocator.d.

References IBuffer::getContent().

void allocate void *[]  x,
uint  bytes,
uint  width,
uint  type,
BufferDecoder  decoder
[inline]
 

Reimplemented from SimpleAllocator.

Definition at line 188 of file ArrayAllocator.d.

References raw, and x.


Member Data Documentation

BufferDecoder raw [private]
 

Definition at line 139 of file ArrayAllocator.d.

Referenced by allocate(), and bind().

uint width [private]
 

Definition at line 140 of file ArrayAllocator.d.

Referenced by reset(), and this().


The documentation for this class was generated from the following file:
Generated on Fri Nov 11 18:44:30 2005 for Mango by  doxygen 1.4.0