LLDB mainline
|
#include <Event.h>
Public Member Functions | |
EventDataBytes () | |
EventDataBytes (const char *cstr) | |
EventDataBytes (llvm::StringRef str) | |
EventDataBytes (const void *src, size_t src_len) | |
~EventDataBytes () override | |
ConstString | GetFlavor () const override |
void | Dump (Stream *s) const override |
const void * | GetBytes () const |
size_t | GetByteSize () const |
void | SetBytes (const void *src, size_t src_len) |
void | SwapBytes (std::string &new_bytes) |
void | SetBytesFromCString (const char *cstr) |
![]() | |
EventData () | |
virtual | ~EventData () |
virtual ConstString | GetFlavor () const =0 |
virtual Log * | GetLogChannel () |
virtual void | Dump (Stream *s) const |
Static Public Member Functions | |
static const EventDataBytes * | GetEventDataFromEvent (const Event *event_ptr) |
static const void * | GetBytesFromEvent (const Event *event_ptr) |
static size_t | GetByteSizeFromEvent (const Event *event_ptr) |
static ConstString | GetFlavorString () |
Private Member Functions | |
EventDataBytes (const EventDataBytes &)=delete | |
const EventDataBytes & | operator= (const EventDataBytes &)=delete |
Private Attributes | |
std::string | m_bytes |
EventDataBytes::EventDataBytes | ( | const char * | cstr | ) |
Definition at line 103 of file Event.cpp.
References SetBytesFromCString().
EventDataBytes::EventDataBytes | ( | llvm::StringRef | str | ) |
Definition at line 107 of file Event.cpp.
References SetBytes().
EventDataBytes::EventDataBytes | ( | const void * | src, |
size_t | src_len | ||
) |
Definition at line 111 of file Event.cpp.
References SetBytes().
|
overridedefault |
|
privatedelete |
|
overridevirtual |
Reimplemented from lldb_private::EventData.
Definition at line 126 of file Event.cpp.
References lldb_private::Stream::Format(), and m_bytes.
const void * EventDataBytes::GetBytes | ( | ) | const |
Definition at line 136 of file Event.cpp.
References m_bytes.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), and GetBytesFromEvent().
|
static |
Definition at line 156 of file Event.cpp.
References GetBytes(), and GetEventDataFromEvent().
Referenced by lldb_private::Debugger::DefaultEventHandler(), and lldb::SBEvent::GetCStringFromEvent().
size_t EventDataBytes::GetByteSize | ( | ) | const |
Definition at line 140 of file Event.cpp.
References m_bytes.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), and GetByteSizeFromEvent().
|
static |
Definition at line 163 of file Event.cpp.
References GetByteSize(), and GetEventDataFromEvent().
|
static |
Definition at line 171 of file Event.cpp.
References lldb_private::Event::GetData(), lldb_private::EventData::GetFlavor(), and GetFlavorString().
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), GetBytesFromEvent(), and GetByteSizeFromEvent().
|
overridevirtual |
Implements lldb_private::EventData.
Definition at line 122 of file Event.cpp.
References GetFlavorString().
|
static |
Definition at line 117 of file Event.cpp.
Referenced by GetEventDataFromEvent(), and GetFlavor().
|
privatedelete |
void EventDataBytes::SetBytes | ( | const void * | src, |
size_t | src_len | ||
) |
void EventDataBytes::SetBytesFromCString | ( | const char * | cstr | ) |
void EventDataBytes::SwapBytes | ( | std::string & | new_bytes | ) |
|
private |
Definition at line 96 of file Event.h.
Referenced by Dump(), GetBytes(), GetByteSize(), SetBytes(), SetBytesFromCString(), and SwapBytes().