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]
Collaboration diagram for lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions:
Collaboration graph
[legend]

Public Member Functions

 ReadStringAndDumpToStreamOptions ()=default
 
 ReadStringAndDumpToStreamOptions (ValueObject &valobj)
 
void SetLocation (uint64_t l)
 
uint64_t GetLocation () const
 
void SetProcessSP (lldb::ProcessSP p)
 
lldb::ProcessSP GetProcessSP () 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

uint64_t m_location = 0
 
lldb::ProcessSP m_process_sp
 
bool m_has_source_size = false
 True iff we know the source size of the string. More...
 

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()

uint64_t lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::GetLocation ( ) const
inline

◆ GetProcessSP()

lldb::ProcessSP lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::GetProcessSP ( ) const
inline

◆ 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 ( uint64_t  l)
inline

◆ SetProcessSP()

void lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::SetProcessSP ( lldb::ProcessSP  p)
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.

◆ m_location

uint64_t lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::m_location = 0
private

Definition at line 121 of file StringPrinter.h.

◆ m_process_sp

lldb::ProcessSP lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::m_process_sp
private

Definition at line 122 of file StringPrinter.h.


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