LLDB mainline
lldb_private::EventDataBytes Class Reference

#include <Event.h>

Inheritance diagram for lldb_private::EventDataBytes:
[legend]

Public Member Functions

 EventDataBytes ()
 EventDataBytes (llvm::StringRef str)
 ~EventDataBytes () override
llvm::StringRef GetFlavor () const override
void Dump (Stream *s) const override
const void * GetBytes () const
size_t GetByteSize () const
Public Member Functions inherited from lldb_private::EventData
 EventData ()
virtual ~EventData ()
virtual LogGetLogChannel ()

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 llvm::StringRef GetFlavorString ()

Private Member Functions

 EventDataBytes (const EventDataBytes &)=delete
const EventDataBytesoperator= (const EventDataBytes &)=delete

Private Attributes

std::string m_bytes

Detailed Description

Definition at line 68 of file Event.h.

Constructor & Destructor Documentation

◆ EventDataBytes() [1/3]

EventDataBytes::EventDataBytes ( )

◆ EventDataBytes() [2/3]

EventDataBytes::EventDataBytes ( llvm::StringRef str)

Definition at line 120 of file Event.cpp.

References m_bytes.

◆ ~EventDataBytes()

EventDataBytes::~EventDataBytes ( )
overridedefault

◆ EventDataBytes() [3/3]

lldb_private::EventDataBytes::EventDataBytes ( const EventDataBytes & )
privatedelete

References EventDataBytes().

Member Function Documentation

◆ Dump()

void EventDataBytes::Dump ( Stream * s) const
overridevirtual

Reimplemented from lldb_private::EventData.

Definition at line 130 of file Event.cpp.

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

◆ GetBytes()

const void * EventDataBytes::GetBytes ( ) const

◆ GetBytesFromEvent()

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

◆ GetByteSize()

size_t EventDataBytes::GetByteSize ( ) const

◆ GetByteSizeFromEvent()

size_t EventDataBytes::GetByteSizeFromEvent ( const Event * event_ptr)
static

◆ GetEventDataFromEvent()

◆ GetFlavor()

llvm::StringRef EventDataBytes::GetFlavor ( ) const
overridevirtual

Implements lldb_private::EventData.

Definition at line 126 of file Event.cpp.

References GetFlavorString().

◆ GetFlavorString()

llvm::StringRef EventDataBytes::GetFlavorString ( )
static

Definition at line 124 of file Event.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ operator=()

const EventDataBytes & lldb_private::EventDataBytes::operator= ( const EventDataBytes & )
privatedelete

References EventDataBytes().

Member Data Documentation

◆ m_bytes

std::string lldb_private::EventDataBytes::m_bytes
private

Definition at line 96 of file Event.h.

Referenced by Dump(), EventDataBytes(), EventDataBytes(), GetBytes(), and GetByteSize().


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