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 191 of file Editline.cpp.
|
inlineprivate |
Definition at line 195 of file Editline.cpp.
References history_w, history_winit, m_event, and m_history.
|
inline |
Definition at line 230 of file Editline.cpp.
References history_wend, m_history, and Save().
|
inline |
Definition at line 261 of file Editline.cpp.
|
inlinestatic |
Definition at line 239 of file Editline.cpp.
Referenced by lldb_private::Editline::Editline().
|
inlineprivate |
Definition at line 203 of file Editline.cpp.
References lldb_private::FileSystem::GetHomeDirectory(), lldb_private::FileSystem::Instance(), m_history, m_path, and m_prefix.
|
inline |
Definition at line 259 of file Editline.cpp.
References m_history.
|
inline |
Definition at line 257 of file Editline.cpp.
References m_history.
|
inline |
Definition at line 266 of file Editline.cpp.
References GetHistoryFilePath(), history_w, m_event, and m_history.
|
inline |
Definition at line 277 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 292 of file Editline.cpp.
Referenced by EditlineHistory(), Enter(), Load(), and Save().
|
protected |
The history object.
Definition at line 290 of file Editline.cpp.
Referenced by EditlineHistory(), Enter(), GetHistoryFilePath(), GetHistoryPtr(), IsValid(), Load(), Save(), and ~EditlineHistory().
|
protected |
Path to the history file.
Definition at line 297 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 295 of file Editline.cpp.
Referenced by GetHistoryFilePath().