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

ShellHistory (  ) 

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.

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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 20 Jun 2016 for OpenStructure by  doxygen 1.6.1