Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize > Class Template Reference

GenericMemoryBuffer. More...

#include <vcf/FoundationKit/MemStreamUtils.h>

List of all members.

Public Types

enum  { AllocationSize = allocationSize }

Public Member Functions

 GenericMemoryBuffer ()
 ~GenericMemoryBuffer ()
DATA_TYPE * getBuffer ()
uint64 getSize ()
uint64 write (const unsigned char *buffer, const uint64 &sizeOfBuffer)
uint64 read (unsigned char *buffer, const uint64 &sizeOfBuffer)
void setSeekPos (uint64 pos)
uint64 getSeekPos ()
void clear ()

Protected Member Functions

void allocate (uint64 sizeToAllocate)


Detailed Description

template<typename DATA_TYPE, int allocationSize = 65536>
class VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >

GenericMemoryBuffer.

Author:
Jim Crafton
Date:
3/7/2000
Version:
1.0


Member Enumeration Documentation

template<typename DATA_TYPE, int allocationSize = 65536>
anonymous enum
 

Enumerator:
AllocationSize 


Constructor & Destructor Documentation

template<typename DATA_TYPE, int allocationSize = 65536>
VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >::GenericMemoryBuffer  )  [inline]
 

template<typename DATA_TYPE, int allocationSize = 65536>
VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >::~GenericMemoryBuffer  )  [inline]
 


Member Function Documentation

template<typename DATA_TYPE, int allocationSize = 65536>
void VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >::allocate uint64  sizeToAllocate  )  [inline, protected]
 

template<typename DATA_TYPE, int allocationSize = 65536>
void VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >::clear  )  [inline]
 

template<typename DATA_TYPE, int allocationSize = 65536>
DATA_TYPE* VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >::getBuffer  )  [inline]
 

template<typename DATA_TYPE, int allocationSize = 65536>
uint64 VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >::getSeekPos  )  [inline]
 

template<typename DATA_TYPE, int allocationSize = 65536>
uint64 VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >::getSize  )  [inline]
 

template<typename DATA_TYPE, int allocationSize = 65536>
uint64 VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >::read unsigned char *  buffer,
const uint64 sizeOfBuffer
[inline]
 

template<typename DATA_TYPE, int allocationSize = 65536>
void VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >::setSeekPos uint64  pos  )  [inline]
 

template<typename DATA_TYPE, int allocationSize = 65536>
uint64 VCF::GenericMemoryBuffer< DATA_TYPE, allocationSize >::write const unsigned char *  buffer,
const uint64 sizeOfBuffer
[inline]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information