32 #ifndef _CLI_CMD_LINE_EDITION_H_ 33 #define _CLI_CMD_LINE_EDITION_H_ 70 const tk::String& TK_Left,
71 const tk::String& TK_Right
82 const bool B_InsertMode
99 const tk::String& TK_String
106 const tk::Queue<KEY>& TK_Keys
160 const tk::String
GetLine(
void)
const;
164 const tk::String
GetRight(
void)
const;
168 const tk::String
GetLeft(
void)
const;
182 tk::Queue<KEY> m_tkLeft;
185 tk::Queue<KEY> m_tkRight;
193 #endif // _CLI_CMD_LINE_EDITION_H_
void NextLine(const OutputDevice &CLI_OutputDevice)
Moves the cursor to the next line.
Main namespace of the CLI library.
const tk::String GetLeft(void) const
Left part of the command line accessor.
const bool GetInsertMode(void) const
Insert mode retrieval.
virtual ~CmdLineEdition(void)
Destructor.
#define CLI_NS_END(__ns)
End a namespace definition.
void Set(const tk::String &TK_Left, const tk::String &TK_Right)
Set the object.
void MoveCursor(const OutputDevice &CLI_OutputDevice, const int I_Count)
Moves the cursor.
const tk::String GetLine(void) const
Current command line.
void CleanAll(const OutputDevice &CLI_OutputDevice)
Line deletion.
const tk::String GetRight(void) const
Right part of the command line accessor.
CmdLineEdition & operator=(const CmdLineEdition &)
Assignment operator.
void SetInsertMode(const bool B_InsertMode)
Insert mode setting.
CmdLineEdition(void)
Default constructor.
#define CLI_NS_BEGIN(__ns)
Begin a namespace definition.
OutputDevice, IODevice and IOEndl classes defintion.
void Put(const OutputDevice &CLI_OutputDevice, const KEY E_Char)
Character addition.
void Home(const OutputDevice &CLI_OutputDevice)
Moves the cursor at the beginning of the line.
void Delete(const OutputDevice &CLI_OutputDevice, const int I_Count)
Character deletion.
Command line edition objet.
void PrintCmdLine(const OutputDevice &CLI_OutputDevice) const
Command line display.
const tk::String GetNextWord(void) const
Next word retrieval.
const tk::String GetPrevWord(void) const
Previous word retrieval.
void End(const OutputDevice &CLI_OutputDevice)
Moves the cursor at the end of the line.
void Reset(void)
Reset the object.