#include <GGEP.h>
Public Member Functions | |
CGGEPItem (LPCTSTR pszID=NULL) | |
virtual | ~CGGEPItem () |
BOOL | IsNamed (LPCTSTR pszID) |
void | Read (LPVOID pData, int nLength) |
BYTE | ReadByte () |
void | Write (LPCVOID pData, int nLength) |
void | WriteByte (BYTE nValue) |
CString | ToString () |
Public Attributes | |
CGGEPItem * | m_pNext |
CString | m_sID |
BYTE * | m_pBuffer |
DWORD | m_nLength |
DWORD | m_nPosition |
Protected Member Functions | |
BOOL | ReadFrom (CGGEPBlock *pBlock, BYTE nFlags) |
void | WriteTo (CPacket *pPacket) |
void | WriteTo (CString &str) |
BOOL | Encode (BOOL bIfZeros=FALSE) |
BOOL | Decode () |
BOOL | Deflate (BOOL bIfSmaller=FALSE) |
BOOL | Inflate () |
Friends | |
class | CGGEPBlock |
|
Definition at line 214 of file GGEP.cpp. References m_nLength, m_nPosition, m_pBuffer, m_pNext, m_sID, and NULL. |
|
Definition at line 224 of file GGEP.cpp. References m_pBuffer. |
|
Definition at line 486 of file GGEP.cpp. References m_nLength, and m_pBuffer. Referenced by ReadFrom(). |
|
Definition at line 535 of file GGEP.cpp. References CZLib::Compress(), m_nLength, and m_pBuffer. Referenced by WriteTo(). |
|
Definition at line 411 of file GGEP.cpp. References m_nLength, m_pBuffer, and NULL. Referenced by WriteTo(). |
|
Definition at line 558 of file GGEP.cpp. References CZLib::Decompress(), m_nLength, and m_pBuffer. Referenced by ReadFrom(). |
|
Definition at line 232 of file GGEP.cpp. References m_sID. |
|
Definition at line 240 of file GGEP.cpp. References m_nLength, m_nPosition, and m_pBuffer. Referenced by ReadByte(). |
|
Definition at line 247 of file GGEP.cpp. References Read(). |
|
Definition at line 294 of file GGEP.cpp. References Decode(), GGEP_HDR_COBS, GGEP_HDR_DEFLATE, GGEP_HDR_IDLEN, GGEP_LEN_LAST, GGEP_LEN_MASK, GGEP_LEN_MORE, Inflate(), m_nLength, m_pBuffer, m_sID, and NULL. Referenced by CGGEPBlock::ReadInternal(). |
|
|
|
Definition at line 254 of file GGEP.cpp. References m_nLength, and m_pBuffer. Referenced by WriteByte(). |
|
Definition at line 269 of file GGEP.cpp. References Write(). |
|
Definition at line 380 of file GGEP.cpp. References Deflate(), Encode(), GGEP_HDR_COBS, GGEP_HDR_DEFLATE, GGEP_HDR_IDLEN, GGEP_HDR_LAST, GGEP_LEN_LAST, GGEP_LEN_MASK, GGEP_LEN_MORE, m_nLength, m_pBuffer, m_pNext, m_sID, and NULL. |
|
Definition at line 350 of file GGEP.cpp. References Deflate(), Encode(), GGEP_HDR_COBS, GGEP_HDR_DEFLATE, GGEP_HDR_IDLEN, GGEP_HDR_LAST, GGEP_LEN_LAST, GGEP_LEN_MASK, GGEP_LEN_MORE, m_nLength, m_pBuffer, m_pNext, m_sID, NULL, CPacket::Write(), and CPacket::WriteByte(). |
|
|
|
Definition at line 77 of file GGEP.h. Referenced by CGGEPItem(), Decode(), Deflate(), Encode(), Inflate(), Read(), ReadFrom(), ToString(), Write(), and WriteTo(). |
|
Definition at line 78 of file GGEP.h. Referenced by CGGEPItem(), and Read(). |
|
Definition at line 76 of file GGEP.h. Referenced by CGGEPItem(), Decode(), Deflate(), Encode(), Inflate(), Read(), ReadFrom(), ToString(), Write(), WriteTo(), and ~CGGEPItem(). |
|
Definition at line 74 of file GGEP.h. Referenced by CGGEPItem(), CGGEPBlock::Clear(), CGGEPBlock::Find(), CGGEPBlock::Write(), and WriteTo(). |
|
Definition at line 75 of file GGEP.h. Referenced by CGGEPItem(), IsNamed(), ReadFrom(), and WriteTo(). |