LLDB mainline
Public Member Functions | Private Attributes | List of all members
lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions Class Reference

#include <StringPrinter.h>

Inheritance diagram for lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions:
Inheritance graph
[legend]

Public Member Functions

 ReadStringAndDumpToStreamOptions ()=default
 
 ReadStringAndDumpToStreamOptions (ValueObject &valobj)
 
void SetLocation (Address l)
 
const AddressGetLocation () const
 
void SetTargetSP (lldb::TargetSP t)
 
lldb::TargetSP GetTargetSP () const
 
void SetHasSourceSize (bool e)
 
bool HasSourceSize () const
 
- Public Member Functions inherited from lldb_private::formatters::StringPrinter::DumpToStreamOptions
 DumpToStreamOptions ()=default
 
void SetStream (Stream *s)
 
StreamGetStream () const
 
void SetPrefixToken (const std::string &p)
 
void SetPrefixToken (std::nullptr_t)
 
const char * GetPrefixToken () const
 
void SetSuffixToken (const std::string &p)
 
void SetSuffixToken (std::nullptr_t)
 
const char * GetSuffixToken () const
 
void SetQuote (char q)
 
char GetQuote () const
 
void SetSourceSize (uint32_t s)
 
uint32_t GetSourceSize () const
 
void SetNeedsZeroTermination (bool z)
 
bool GetNeedsZeroTermination () const
 
void SetBinaryZeroIsTerminator (bool e)
 
bool GetBinaryZeroIsTerminator () const
 
void SetEscapeNonPrintables (bool e)
 
bool GetEscapeNonPrintables () const
 
void SetIgnoreMaxLength (bool e)
 
bool GetIgnoreMaxLength () const
 
void SetEscapeStyle (EscapeStyle style)
 
EscapeStyle GetEscapeStyle () const
 

Private Attributes

Address m_location
 
lldb::TargetSP m_target_sp
 
bool m_has_source_size = false
 True iff we know the source size of the string.
 

Detailed Description

Definition at line 102 of file StringPrinter.h.

Constructor & Destructor Documentation

◆ ReadStringAndDumpToStreamOptions() [1/2]

lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::ReadStringAndDumpToStreamOptions ( )
default

◆ ReadStringAndDumpToStreamOptions() [2/2]

lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::ReadStringAndDumpToStreamOptions ( ValueObject valobj)

Member Function Documentation

◆ GetLocation()

const Address & lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::GetLocation ( ) const
inline

Definition at line 110 of file StringPrinter.h.

References m_location.

Referenced by lldb_private::formatters::ReadEncodedBufferAndDumpToStream().

◆ GetTargetSP()

lldb::TargetSP lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::GetTargetSP ( ) const
inline

Definition at line 114 of file StringPrinter.h.

References m_target_sp.

Referenced by lldb_private::formatters::ReadEncodedBufferAndDumpToStream().

◆ HasSourceSize()

bool lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::HasSourceSize ( ) const
inline

◆ SetHasSourceSize()

void lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::SetHasSourceSize ( bool  e)
inline

◆ SetLocation()

void lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::SetLocation ( Address  l)
inline

◆ SetTargetSP()

void lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::SetTargetSP ( lldb::TargetSP  t)
inline

Member Data Documentation

◆ m_has_source_size

bool lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::m_has_source_size = false
private

True iff we know the source size of the string.

Definition at line 124 of file StringPrinter.h.

Referenced by HasSourceSize(), and SetHasSourceSize().

◆ m_location

Address lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::m_location
private

Definition at line 121 of file StringPrinter.h.

Referenced by GetLocation(), and SetLocation().

◆ m_target_sp

lldb::TargetSP lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::m_target_sp
private

Definition at line 122 of file StringPrinter.h.

Referenced by GetTargetSP(), and SetTargetSP().


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