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

#include <Event.h>

Inheritance diagram for lldb_private::EventDataBytes:
Inheritance graph
[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 llvm::StringRef GetFlavor () const =0
 
virtual LogGetLogChannel ()
 
virtual void Dump (Stream *s) const
 

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 58 of file Event.h.

Constructor & Destructor Documentation

◆ EventDataBytes() [1/3]

EventDataBytes::EventDataBytes ( )

Definition at line 112 of file Event.cpp.

◆ EventDataBytes() [2/3]

EventDataBytes::EventDataBytes ( llvm::StringRef  str)

Definition at line 114 of file Event.cpp.

◆ ~EventDataBytes()

EventDataBytes::~EventDataBytes ( )
overridedefault

◆ EventDataBytes() [3/3]

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

Member Function Documentation

◆ Dump()

void EventDataBytes::Dump ( Stream s) const
overridevirtual

Reimplemented from lldb_private::EventData.

Definition at line 124 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

Definition at line 147 of file Event.cpp.

References GetByteSize(), and GetEventDataFromEvent().

◆ GetEventDataFromEvent()

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

◆ GetFlavor()

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

Implements lldb_private::EventData.

Definition at line 120 of file Event.cpp.

References GetFlavorString().

◆ GetFlavorString()

llvm::StringRef EventDataBytes::GetFlavorString ( )
static

Definition at line 118 of file Event.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ operator=()

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

Member Data Documentation

◆ m_bytes

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

Definition at line 86 of file Event.h.

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


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