LLDB  mainline
Public Types | Public Member Functions | List of all members
lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S > Struct Template Reference

#include <StringPrinter.h>

Public Types

typedef std::function< void(const T *)> Deleter
 

Public Member Functions

 StringPrinterBufferPointer (std::nullptr_t ptr)
 
 StringPrinterBufferPointer (const T *bytes, S size, Deleter deleter=nullptr)
 
 StringPrinterBufferPointer (const U *bytes, S size, Deleter deleter=nullptr)
 
 StringPrinterBufferPointer (StringPrinterBufferPointer &&rhs)
 
 StringPrinterBufferPointer (const StringPrinterBufferPointer &rhs)
 
 ~StringPrinterBufferPointer ()
 
const T * GetBytes () const
 
const S GetSize () const
 
StringPrinterBufferPointeroperator= (const StringPrinterBufferPointer &rhs)
 

Detailed Description

template<typename T = uint8_t, typename U = char, typename S = size_t>
struct lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >

Definition at line 268 of file StringPrinter.h.

Member Typedef Documentation

◆ Deleter

template<typename T = uint8_t, typename U = char, typename S = size_t>
typedef std::function<void(const T *)> lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >::Deleter

Definition at line 270 of file StringPrinter.h.

Constructor & Destructor Documentation

◆ StringPrinterBufferPointer() [1/5]

template<typename T = uint8_t, typename U = char, typename S = size_t>
lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >::StringPrinterBufferPointer ( std::nullptr_t  ptr)
inline

Definition at line 272 of file StringPrinter.h.

◆ StringPrinterBufferPointer() [2/5]

template<typename T = uint8_t, typename U = char, typename S = size_t>
lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >::StringPrinterBufferPointer ( const T *  bytes,
size,
Deleter  deleter = nullptr 
)
inline

Definition at line 275 of file StringPrinter.h.

◆ StringPrinterBufferPointer() [3/5]

template<typename T = uint8_t, typename U = char, typename S = size_t>
lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >::StringPrinterBufferPointer ( const U *  bytes,
size,
Deleter  deleter = nullptr 
)
inline

Definition at line 279 of file StringPrinter.h.

◆ StringPrinterBufferPointer() [4/5]

template<typename T = uint8_t, typename U = char, typename S = size_t>
lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >::StringPrinterBufferPointer ( StringPrinterBufferPointer< T, U, S > &&  rhs)
inline

Definition at line 284 of file StringPrinter.h.

◆ StringPrinterBufferPointer() [5/5]

template<typename T = uint8_t, typename U = char, typename S = size_t>
lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >::StringPrinterBufferPointer ( const StringPrinterBufferPointer< T, U, S > &  rhs)
inline

Definition at line 289 of file StringPrinter.h.

◆ ~StringPrinterBufferPointer()

template<typename T = uint8_t, typename U = char, typename S = size_t>
lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >::~StringPrinterBufferPointer ( )
inline

Definition at line 294 of file StringPrinter.h.

Member Function Documentation

◆ GetBytes()

template<typename T = uint8_t, typename U = char, typename S = size_t>
const T* lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >::GetBytes ( ) const
inline

Definition at line 300 of file StringPrinter.h.

◆ GetSize()

template<typename T = uint8_t, typename U = char, typename S = size_t>
const S lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >::GetSize ( ) const
inline

Definition at line 302 of file StringPrinter.h.

◆ operator=()

template<typename T = uint8_t, typename U = char, typename S = size_t>
StringPrinterBufferPointer& lldb_private::formatters::StringPrinter::StringPrinterBufferPointer< T, U, S >::operator= ( const StringPrinterBufferPointer< T, U, S > &  rhs)
inline

Definition at line 305 of file StringPrinter.h.


The documentation for this struct was generated from the following file: