LLDB mainline
|
Public Member Functions | |
~EditlineHistory () | |
bool | IsValid () const |
HistoryW * | GetHistoryPtr () |
void | Enter (const EditLineCharType *line_cstr) |
bool | Load () |
bool | Save () |
Static Public Member Functions | |
static EditlineHistorySP | GetHistory (const std::string &prefix) |
Protected Attributes | |
HistoryW * | m_history = nullptr |
The history object. | |
HistEventW | m_event |
The history event needed to contain all history events. | |
std::string | m_prefix |
The prefix name (usually the editline program name) to use when loading/saving history. | |
std::string | m_path |
Path to the history file. | |
Private Member Functions | |
EditlineHistory (const std::string &prefix, uint32_t size, bool unique_entries) | |
const char * | GetHistoryFilePath () |
Definition at line 205 of file Editline.cpp.
|
inlineprivate |
Definition at line 209 of file Editline.cpp.
References history_w, history_winit, m_event, and m_history.
|
inline |
Definition at line 244 of file Editline.cpp.
References history_wend, m_history, and Save().
|
inline |
Definition at line 275 of file Editline.cpp.
|
inlinestatic |
Definition at line 253 of file Editline.cpp.
Referenced by lldb_private::Editline::Editline().
|
inlineprivate |
Definition at line 217 of file Editline.cpp.
References lldb_private::FileSystem::GetHomeDirectory(), lldb_private::FileSystem::Instance(), m_history, m_path, and m_prefix.
|
inline |
Definition at line 273 of file Editline.cpp.
References m_history.
|
inline |
Definition at line 271 of file Editline.cpp.
References m_history.
|
inline |
Definition at line 280 of file Editline.cpp.
References GetHistoryFilePath(), history_w, m_event, and m_history.
|
inline |
Definition at line 291 of file Editline.cpp.
References GetHistoryFilePath(), history_w, m_event, and m_history.
Referenced by ~EditlineHistory().
|
protected |
The history event needed to contain all history events.
Definition at line 306 of file Editline.cpp.
Referenced by EditlineHistory(), Enter(), Load(), and Save().
|
protected |
The history object.
Definition at line 304 of file Editline.cpp.
Referenced by EditlineHistory(), Enter(), GetHistoryFilePath(), GetHistoryPtr(), IsValid(), Load(), Save(), and ~EditlineHistory().
|
protected |
Path to the history file.
Definition at line 311 of file Editline.cpp.
Referenced by GetHistoryFilePath().
|
protected |
The prefix name (usually the editline program name) to use when loading/saving history.
Definition at line 309 of file Editline.cpp.
Referenced by GetHistoryFilePath().