GDBServerFoundation::StubResponse Class Reference

Contains the response sent to GDB by the target. The response it not escaped or RLE-encoded and does not include packet header and checksum. More...

#include <IGDBStub.h>

Public Member Functions

 StubResponse (const StubResponse &anotherResponse)
 
 StubResponse ()
 
 StubResponse (const char *pText)
 
 StubResponse (const void *pData, size_t length)
 
size_t GetSize ()
 
const char * GetData ()
 
void Append (const char *pStr)
 
void Append (const char *pStr, size_t length)
 
char * AllocateAppend (size_t length)
 
StubResponseoperator+= (const char *pStr)
 

Detailed Description

Contains the response sent to GDB by the target. The response it not escaped or RLE-encoded and does not include packet header and checksum.

Examples:
SimpleWin32Server/SimpleWin32Server.cpp.

Constructor & Destructor Documentation

GDBServerFoundation::StubResponse::StubResponse ( const StubResponse anotherResponse)
inline
GDBServerFoundation::StubResponse::StubResponse ( )
inline
GDBServerFoundation::StubResponse::StubResponse ( const char *  pText)
inline
GDBServerFoundation::StubResponse::StubResponse ( const void *  pData,
size_t  length 
)
inline

Member Function Documentation

char* GDBServerFoundation::StubResponse::AllocateAppend ( size_t  length)
inline
void GDBServerFoundation::StubResponse::Append ( const char *  pStr)
inline
void GDBServerFoundation::StubResponse::Append ( const char *  pStr,
size_t  length 
)
inline
const char* GDBServerFoundation::StubResponse::GetData ( )
inline
size_t GDBServerFoundation::StubResponse::GetSize ( )
inline
StubResponse& GDBServerFoundation::StubResponse::operator+= ( const char *  pStr)
inline

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