gBigBuffer Class Reference

#include <ghttp.h>

Inheritance diagram for gBigBuffer:

gControl gStorage gTop List of all members.

Public Types

enum  eBufferKind { e_NormalRAM, e_NodesRAM, e_InFile }

Public Member Functions

 gBigBuffer (t_uint32 bufSize=0)
virtual ~gBigBuffer ()
eBufferKind GetBufferKind ()
unsigned GetBaseSize ()
virtual unsigned GetNumberNodes ()
virtual gUCharBufferGetNode (unsigned idxNode)
virtual gFileTempGetFile ()
virtual bool NewFile ()
virtual bool WriteBuf (int fHandle, gUCharBuffer &sBuf, unsigned nBytes)
virtual bool Flush (unsigned nBytes)

Public Attributes

gUCharBufferbaseBuf
bool isDynamic
t_uint64 usedSize

Protected Member Functions

bool thisAllocateBuf (t_uint32 bufSize)

Protected Attributes

unsigned nNodes
unsigned maxNodes
gUCharBuffer ** bNode
gFileTempfTemp

Member Enumeration Documentation

enum gBigBuffer::eBufferKind
 

Enumeration values:
e_NormalRAM 
e_NodesRAM 
e_InFile 

Definition at line 46 of file ghttp.h.


Constructor & Destructor Documentation

gBigBuffer::gBigBuffer t_uint32  bufSize = 0  ) 
 

Definition at line 68 of file ghttp.cpp.

gBigBuffer::~gBigBuffer  )  [virtual]
 

Definition at line 86 of file ghttp.cpp.


Member Function Documentation

bool gBigBuffer::Flush unsigned  nBytes  )  [virtual]
 

Definition at line 133 of file ghttp.cpp.

Referenced by gXHttpCont::ReadReplyUnsized().

unsigned gBigBuffer::GetBaseSize  )  [inline]
 

Definition at line 59 of file ghttp.h.

gBigBuffer::eBufferKind gBigBuffer::GetBufferKind  ) 
 

Definition at line 97 of file ghttp.cpp.

gFileTemp & gBigBuffer::GetFile  )  [virtual]
 

Definition at line 111 of file ghttp.cpp.

Referenced by gXHttpCont::ReadReplyChunked().

gUCharBuffer * gBigBuffer::GetNode unsigned  idxNode  )  [virtual]
 

Definition at line 103 of file ghttp.cpp.

virtual unsigned gBigBuffer::GetNumberNodes  )  [inline, virtual]
 

Definition at line 62 of file ghttp.h.

Referenced by GetBufferKind().

bool gBigBuffer::NewFile  )  [virtual]
 

Definition at line 117 of file ghttp.cpp.

Referenced by gXHttpCont::ReadReplyChunked().

bool gBigBuffer::thisAllocateBuf t_uint32  bufSize  )  [protected]
 

Definition at line 158 of file ghttp.cpp.

Referenced by gBigBuffer().

bool gBigBuffer::WriteBuf int  fHandle,
gUCharBuffer sBuf,
unsigned  nBytes
[virtual]
 

Definition at line 126 of file ghttp.cpp.

Referenced by gXHttpCont::ReadReplyChunked().


Member Data Documentation

gUCharBuffer* gBigBuffer::baseBuf
 

Definition at line 53 of file ghttp.h.

Referenced by Flush(), gXHttpCont::ReadReplyBin(), gXHttpCont::ReadReplyChunked(), gXHttpCont::ReadReplyText(), gXHttpCont::ReadReplyUnsized(), thisAllocateBuf(), gXHttpCont::thisGetHtmlContrl(), and ~gBigBuffer().

gUCharBuffer** gBigBuffer::bNode [protected]
 

Definition at line 76 of file ghttp.h.

Referenced by Flush(), GetNode(), thisAllocateBuf(), and ~gBigBuffer().

gFileTemp* gBigBuffer::fTemp [protected]
 

Definition at line 77 of file ghttp.h.

Referenced by GetFile(), NewFile(), and ~gBigBuffer().

bool gBigBuffer::isDynamic
 

Definition at line 54 of file ghttp.h.

Referenced by gBigBuffer().

unsigned gBigBuffer::maxNodes [protected]
 

Definition at line 75 of file ghttp.h.

Referenced by Flush(), thisAllocateBuf(), and ~gBigBuffer().

unsigned gBigBuffer::nNodes [protected]
 

Definition at line 75 of file ghttp.h.

Referenced by Flush(), GetNode(), and GetNumberNodes().

t_uint64 gBigBuffer::usedSize
 

Definition at line 55 of file ghttp.h.

Referenced by Flush(), gXHttpCont::ReadReplyBin(), gXHttpCont::ReadReplyText(), and gXHttpCont::ReadReplyUnsized().


The documentation for this class was generated from the following files:
Generated on Sat Aug 18 02:41:03 2007 for xpfweb_v2x lib by  doxygen 1.4.2