ExpandableMemBlock Class Reference

#include <vm_util.h>

List of all members.

Public Member Functions

 ExpandableMemBlock (long nBlockLen=2000, long nInc=1000)
 ~ExpandableMemBlock ()
void AppendBlock (char *szBlock, long nLen=-1)
void AppendFormatBlock (char *szfmt,...)
void SetIncrement (long nInc)
void SetCurrentPos (long nPos)
long GetCurrentPos ()
const void * AccessBlock ()
const char * toString ()
void EnsureCapacity (long capacity)
void CopyTo (ExpandableMemBlock &mb, long len=-1)

Protected Attributes

void * m_pBlock
long m_nBlockLen
long m_nCurPos
long m_nInc


Constructor & Destructor Documentation

ExpandableMemBlock.ExpandableMemBlock ( long  nBlockLen = 2000,
long  nInc = 1000 
)

ExpandableMemBlock.~ExpandableMemBlock (  ) 


Member Function Documentation

void ExpandableMemBlock.AppendBlock ( char *  szBlock,
long  nLen = -1 
)

void ExpandableMemBlock.AppendFormatBlock ( char *  szfmt,
  ... 
)

void ExpandableMemBlock.SetIncrement ( long  nInc  ) 

void ExpandableMemBlock.SetCurrentPos ( long  nPos  ) 

long ExpandableMemBlock.GetCurrentPos (  ) 

const void* ExpandableMemBlock.AccessBlock (  ) 

const char* ExpandableMemBlock.toString (  ) 

void ExpandableMemBlock.EnsureCapacity ( long  capacity  ) 

void ExpandableMemBlock.CopyTo ( ExpandableMemBlock mb,
long  len = -1 
)


Member Data Documentation

void* ExpandableMemBlock.m_pBlock [protected]

long ExpandableMemBlock.m_nBlockLen [protected]

long ExpandableMemBlock.m_nCurPos [protected]

long ExpandableMemBlock.m_nInc [protected]


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

Genereated on Tue Mar 11 19:26:01 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.