CZipAutoBuffer Class Reference

A smart buffer freeing its contents on destruction. More...

#include <ZipAutoBuffer.h>

List of all members.

Public Member Functions

 operator char * ()
 operator const char * () const
const char * GetBuffer () const
char * Allocate (DWORD iSize, bool bZeroMemory=false)
void Release ()
DWORD GetSize () const
bool IsAllocated () const
 CZipAutoBuffer (DWORD iSize, bool bZeroMemory=false)
 CZipAutoBuffer (const CZipAutoBuffer &buffer)
CZipAutoBufferoperator= (const CZipAutoBuffer &buffer)

Protected Attributes

char * m_pBuffer
DWORD m_iSize


Detailed Description

A smart buffer freeing its contents on destruction.

Definition at line 34 of file ZipAutoBuffer.h.


The documentation for this class was generated from the following file:
ZipArchive Copyright © 2000 - 2006 Tadeusz Dracz . Generated at Fri Apr 7 13:55:24 2006.