|
Monero
|
#include <readline_buffer.h>


Public Member Functions | |
| readline_buffer () | |
| void | start () |
| void | stop () |
| bool | is_running () const |
| linestatus | get_line (std::string &line) const |
| void | set_prompt (const std::string &prompt) |
Static Public Member Functions | |
| static void | add_completion (const std::string &command) |
| static const std::vector< std::string > & | get_completions () |
Protected Member Functions | |
| virtual int | sync () |
Static Private Member Functions | |
| static std::vector< std::string > & | completion_commands () |
Private Attributes | |
| std::streambuf * | m_cout_buf |
| size_t | m_prompt_length |
| rdln::readline_buffer::readline_buffer | ( | ) |
|
static |
|
staticprivate |
|
static |
| rdln::linestatus rdln::readline_buffer::get_line | ( | std::string & | line | ) | const |
|
inline |
| void rdln::readline_buffer::set_prompt | ( | const std::string & | prompt | ) |
| void rdln::readline_buffer::start | ( | ) |
| void rdln::readline_buffer::stop | ( | ) |
|
protectedvirtual |
|
private |
|
private |