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

#include <StringPrinter.h>

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

Public Member Functions

 ReadBufferAndDumpToStreamOptions ()=default
 
 ReadBufferAndDumpToStreamOptions (ValueObject &valobj)
 
 ReadBufferAndDumpToStreamOptions (const ReadStringAndDumpToStreamOptions &options)
 
void SetData (DataExtractor &&d)
 
const lldb_private::DataExtractorGetData () const
 
void SetIsTruncated (bool t)
 
bool GetIsTruncated () 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

DataExtractor m_data
 
bool m_is_truncated = false
 

Detailed Description

Definition at line 127 of file StringPrinter.h.

Constructor & Destructor Documentation

◆ ReadBufferAndDumpToStreamOptions() [1/3]

lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStreamOptions::ReadBufferAndDumpToStreamOptions ( )
default

◆ ReadBufferAndDumpToStreamOptions() [2/3]

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

◆ ReadBufferAndDumpToStreamOptions() [3/3]

lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStreamOptions::ReadBufferAndDumpToStreamOptions ( const ReadStringAndDumpToStreamOptions options)

Member Function Documentation

◆ GetData()

const lldb_private::DataExtractor & lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStreamOptions::GetData ( ) const
inline

Definition at line 138 of file StringPrinter.h.

References m_data.

Referenced by DumpEncodedBufferToStream().

◆ GetIsTruncated()

bool lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStreamOptions::GetIsTruncated ( ) const
inline

Definition at line 142 of file StringPrinter.h.

References m_is_truncated.

Referenced by DumpEncodedBufferToStream().

◆ SetData()

void lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStreamOptions::SetData ( DataExtractor &&  d)
inline

◆ SetIsTruncated()

void lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStreamOptions::SetIsTruncated ( bool  t)
inline

Member Data Documentation

◆ m_data

DataExtractor lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStreamOptions::m_data
private

Definition at line 144 of file StringPrinter.h.

Referenced by GetData(), and SetData().

◆ m_is_truncated

bool lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStreamOptions::m_is_truncated = false
private

Definition at line 145 of file StringPrinter.h.

Referenced by GetIsTruncated(), and SetIsTruncated().


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