OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes
ShellHistory Class Reference

#include <shell_history.hh>

Public Member Functions

 ShellHistory ()
 
void SetCurrentCommand (const QString &command, BlockEditMode block_edit_mode)
 
void AppendCommand (const QString &command, BlockEditMode block_edit_mode)
 
QString GetCommand ()
 
BlockEditMode GetCommandMode ()
 
bool AtEnd ()
 
void MoveToPreviousMatch ()
 
void MoveToNextMatch ()
 

Protected Attributes

std::vector< std::pair
< QString, BlockEditMode > > 
history_list_
 
QString current_
 
BlockEditMode current_mode_
 
unsigned int index_
 

Detailed Description

Definition at line 32 of file shell_history.hh.

Constructor & Destructor Documentation

Member Function Documentation

void AppendCommand ( const QString &  command,
BlockEditMode  block_edit_mode 
)
bool AtEnd ( )
QString GetCommand ( )
BlockEditMode GetCommandMode ( )
void MoveToNextMatch ( )
void MoveToPreviousMatch ( )
void SetCurrentCommand ( const QString &  command,
BlockEditMode  block_edit_mode 
)

Field Documentation

QString current_
protected

Definition at line 45 of file shell_history.hh.

BlockEditMode current_mode_
protected

Definition at line 46 of file shell_history.hh.

std::vector<std::pair<QString,BlockEditMode> > history_list_
protected

Definition at line 44 of file shell_history.hh.

unsigned int index_
protected

Definition at line 47 of file shell_history.hh.


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