|
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 200 of file Editline.cpp.
|
inlineprivate |
Definition at line 204 of file Editline.cpp.
References history_w, history_winit, m_event, m_history, and m_prefix.
Referenced by GetHistory().
|
inline |
Definition at line 238 of file Editline.cpp.
References history_wend, m_history, and Save().
|
inline |
Definition at line 269 of file Editline.cpp.
|
inlinestatic |
Definition at line 247 of file Editline.cpp.
References EditlineHistory().
Referenced by lldb_private::Editline::Editline().
|
inlineprivate |
Definition at line 212 of file Editline.cpp.
References lldb_private::FileSpec::CopyByAppendingPathComponent(), lldb_private::FileSpec::GetPath(), m_history, m_path, and m_prefix.
|
inline |
Definition at line 267 of file Editline.cpp.
|
inline |
Definition at line 265 of file Editline.cpp.
References m_history.
|
inline |
Definition at line 274 of file Editline.cpp.
References GetHistoryFilePath(), history_w, m_event, and m_history.
|
inline |
Definition at line 285 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 300 of file Editline.cpp.
Referenced by EditlineHistory(), Enter(), Load(), and Save().
|
protected |
The history object.
Definition at line 298 of file Editline.cpp.
Referenced by EditlineHistory(), Enter(), GetHistoryFilePath(), GetHistoryPtr(), IsValid(), Load(), Save(), and ~EditlineHistory().
|
protected |
Path to the history file.
Definition at line 305 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 303 of file Editline.cpp.
Referenced by EditlineHistory(), and GetHistoryFilePath().