MemOps Struct Reference

List of all members.

Detailed Description

An abstraction for memory transfer operations.

This is in preparation for supporting buffers of full-blown objects that have special copy and destruction semantics, someday...

Definition at line 20 of file wvbufferstore.cc.

Public Member Functions

void uninit_copy (void *target, const void *source, size_t count)
 Copies initialized region to uninitialized region.
void copy (void *target, const void *source, size_t count)
 Copies initialized region to initialized region.
void uninit_move (void *target, void *source, size_t count)
 Moves initialized region to uninitialized region.
void swap (void *target, void *source, size_t count)
 Swaps initialized regions.
void uninit (void *target, size_t count)
 Uninitializes a region.
void * newarray (size_t count)
 Creates a new array.
void deletearray (void *buf)
 Deletes an uninitialized array.


Member Function Documentation

void MemOps::uninit_move ( void *  target,
void *  source,
size_t  count 
) [inline]

Moves initialized region to uninitialized region.

Source data becomes uninitialized.

Definition at line 38 of file wvbufferstore.cc.

References uninit().

Referenced by WvCircularBufStore::compact().


The documentation for this struct was generated from the following file:
Generated on Sun Sep 24 20:10:56 2006 for WvStreams by  doxygen 1.4.7