ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
History Class Referencefinal

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 ()
 

Detailed Description

Simple history system for the REPL.

Constructor & Destructor Documentation

◆ History()

History::History ( )
explicitdefault

Member Function Documentation

◆ add()

void History::add ( QString &&  cmd)

◆ empty()

bool History::empty ( ) const

◆ newer()

const QString & History::newer ( )

References replArrows().

Referenced by KeyPressEater::eventFilter().

◆ older()

const QString & History::older ( )

◆ size()

size_t History::size ( ) const

The documentation for this class was generated from the following files: