![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Simple history system for the REPL. More...
#include <PythonRepl.h>
Public Member Functions | |
| History ()=default | |
| void | add (QString &&cmd) |
| size_t | size () const |
| bool | empty () const |
| const QString & | older () |
| const QString & | newer () |
Simple history system for the REPL.
Definition at line 23 of file PythonRepl.h.
|
explicitdefault |
| void History::add | ( | QString && | cmd | ) |
Definition at line 227 of file PythonRepl.cpp.
Referenced by KeyPressEater::eventFilter().
| bool History::empty | ( | ) | const |
Definition at line 263 of file PythonRepl.cpp.
Referenced by KeyPressEater::eventFilter().
| const QString & History::newer | ( | ) |
Definition at line 244 of file PythonRepl.cpp.
References replArrows().
Referenced by KeyPressEater::eventFilter().
| const QString & History::older | ( | ) |
Definition at line 233 of file PythonRepl.cpp.
Referenced by KeyPressEater::eventFilter().
| size_t History::size | ( | void | ) | const |
Definition at line 268 of file PythonRepl.cpp.