LLDB  mainline
Public Member Functions | Static Public Member Functions | List of all members
lldb_private::EventDataBytes Class Reference

#include <Event.h>

Inheritance diagram for lldb_private::EventDataBytes:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::EventDataBytes:
Collaboration graph
[legend]

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)
 
- Public Member Functions inherited from lldb_private::EventData
 EventData ()
 
virtual ~EventData ()
 

Static Public Member Functions

static const EventDataBytesGetEventDataFromEvent (const Event *event_ptr)
 
static const void * GetBytesFromEvent (const Event *event_ptr)
 
static size_t GetByteSizeFromEvent (const Event *event_ptr)
 
static ConstString GetFlavorString ()
 

Detailed Description

Definition at line 57 of file Event.h.

Constructor & Destructor Documentation

◆ EventDataBytes() [1/4]

EventDataBytes::EventDataBytes ( )

Definition at line 101 of file Event.cpp.

◆ EventDataBytes() [2/4]

EventDataBytes::EventDataBytes ( const char *  cstr)

Definition at line 103 of file Event.cpp.

References SetBytesFromCString().

◆ EventDataBytes() [3/4]

EventDataBytes::EventDataBytes ( llvm::StringRef  str)

Definition at line 107 of file Event.cpp.

References SetBytes().

◆ EventDataBytes() [4/4]

EventDataBytes::EventDataBytes ( const void *  src,
size_t  src_len 
)

Definition at line 111 of file Event.cpp.

References SetBytes(), and ~EventDataBytes().

◆ ~EventDataBytes()

EventDataBytes::~EventDataBytes ( )
overridedefault

Referenced by EventDataBytes().

Member Function Documentation

◆ Dump()

void EventDataBytes::Dump ( Stream s) const
overridevirtual

Reimplemented from lldb_private::EventData.

Definition at line 126 of file Event.cpp.

References lldb_private::Stream::Format(), and isprint().

◆ GetBytes()

const void * EventDataBytes::GetBytes ( ) const

◆ GetBytesFromEvent()

const void * EventDataBytes::GetBytesFromEvent ( const Event event_ptr)
static

Definition at line 158 of file Event.cpp.

References GetBytes(), and GetEventDataFromEvent().

Referenced by lldb_private::Debugger::DefaultEventHandler().

◆ GetByteSize()

size_t EventDataBytes::GetByteSize ( ) const

◆ GetByteSizeFromEvent()

size_t EventDataBytes::GetByteSizeFromEvent ( const Event event_ptr)
static

Definition at line 165 of file Event.cpp.

References GetByteSize(), and GetEventDataFromEvent().

◆ GetEventDataFromEvent()

const EventDataBytes * EventDataBytes::GetEventDataFromEvent ( const Event event_ptr)
static

◆ GetFlavor()

ConstString EventDataBytes::GetFlavor ( ) const
overridevirtual

Implements lldb_private::EventData.

Definition at line 122 of file Event.cpp.

References GetFlavorString().

◆ GetFlavorString()

ConstString EventDataBytes::GetFlavorString ( )
static

Definition at line 117 of file Event.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ SetBytes()

void EventDataBytes::SetBytes ( const void *  src,
size_t  src_len 
)

Definition at line 144 of file Event.cpp.

Referenced by EventDataBytes().

◆ SetBytesFromCString()

void EventDataBytes::SetBytesFromCString ( const char *  cstr)

Definition at line 151 of file Event.cpp.

Referenced by EventDataBytes().

◆ SwapBytes()

void EventDataBytes::SwapBytes ( std::string &  new_bytes)

Definition at line 183 of file Event.cpp.


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