LLDB mainline
|
Class that represents a format string that can be used to generate descriptions of objects like frames and threads. More...
#include <SBFormat.h>
Public Member Functions | |
SBFormat () | |
SBFormat (const char *format, lldb::SBError &error) | |
Create an SBFormat by parsing the given format string. | |
SBFormat (const lldb::SBFormat &rhs) | |
lldb::SBFormat & | operator= (const lldb::SBFormat &rhs) |
~SBFormat () | |
operator bool () const | |
Protected Member Functions | |
lldb::FormatEntrySP | GetFormatEntrySP () const |
Protected Attributes | |
lldb::FormatEntrySP | m_opaque_sp |
The storage for this object. | |
Friends | |
class | SBFrame |
class | SBThread |
Class that represents a format string that can be used to generate descriptions of objects like frames and threads.
See https://lldb.llvm.org/use/formatting.html for more information.
Definition at line 28 of file SBFormat.h.
SBFormat::SBFormat | ( | ) |
Definition at line 19 of file SBFormat.cpp.
SBFormat::SBFormat | ( | const char * | format, |
lldb::SBError & | error | ||
) |
Create an SBFormat by parsing the given format string.
If parsing fails, this object is initialized as invalid.
[in] | format | The format string to parse. |
[out] | error | An object where error messages will be written to if parsing fails. |
Definition at line 35 of file SBFormat.cpp.
References error(), m_opaque_sp, and lldb_private::FormatEntity::Parse().
SBFormat::SBFormat | ( | const lldb::SBFormat & | rhs | ) |
Definition at line 21 of file SBFormat.cpp.
References lldb_private::clone(), and m_opaque_sp.
|
default |
|
protected |
Definition at line 44 of file SBFormat.cpp.
References m_opaque_sp.
Referenced by lldb::SBFrame::GetDescriptionWithFormat(), and lldb::SBThread::GetDescriptionWithFormat().
|
explicit |
Definition at line 33 of file SBFormat.cpp.
SBFormat & SBFormat::operator= | ( | const lldb::SBFormat & | rhs | ) |
Definition at line 27 of file SBFormat.cpp.
References lldb_private::clone(), and m_opaque_sp.
|
friend |
Definition at line 54 of file SBFormat.h.
|
friend |
Definition at line 55 of file SBFormat.h.
|
protected |
The storage for this object.
Definition at line 62 of file SBFormat.h.
Referenced by GetFormatEntrySP(), operator=(), and SBFormat().