メインページ   モジュール   クラス階層   アルファベット順一覧   構成   ファイル一覧   構成メンバ   ファイルメンバ   関連ページ  

クラス TUserInterface の解説

#include <TUserInterface.hh>

TUserInterfaceに対する継承グラフ

Inheritance graph
[凡例]
TUserInterfaceのコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

Public メソッド

 TUserInterface (const Tstring &history)
virtual ~TUserInterface ()
Tint AddCommand (TCommand *command)
Tint RemoveCommand (Tint index)
Tvoid ClearCommands ()
TCommand * FindCommand (const Tstring &fullname)
TCommand * FindCommand (const Tstring &name, const Tstring &path)
TCommand * GetCommand (Tint index)
TCommand * GetCommand (const Tstring &fullname)
TCommand * GetCommand (const Tstring &name, const Tstring &path)
Tvoid ExecuteCommand (const Tstring &command, const TstringList &arguments)
Tvoid ExecuteCommand (const Tstring &command)
Tint GetCurrentWorkingDirectoryLevel () const
Tstring ModifyPath (const Tstring &path) const
const TCommandTable & GetCommandTable () const
TCommandTable & GetCommandTable ()
const Tstring & GetCurrentWorkingDirectory () const
Tstring & GetCurrentWorkingDirectory ()
const TCommandHistory & GetCommandHistory () const
TCommandHistory & GetCommandHistory ()
Tofstream & GetHistoryFileStream ()
Tvoid SetCommandTable (const TCommandTable &table)
Tvoid SetCurrentWorkingDirectory (const Tstring &directory)
Tvoid SetCommandHistory (const TCommandHistory &history)
virtual Tbool AcceptCommand ()=0
virtual const Tstring & GetInputCommand ()=0
virtual Tvoid NotFoundCommand (const Tstring &commandname) const
virtual Tvoid ClearScreen () const
virtual Tint GetNumberOfColumns () const
virtual Tint GetNumberOfLines () const

Protected 変数

TCommandTable theCommandTable
Tofstream theHistoryFileStream
Tstring theCurrentWorkingDirectory
TCommandHistory theCommandHistory

コンストラクタとデストラクタの解説

TUserInterface::TUserInterface (  const Tstring &    history ) 
 

virtual TUserInterface::~TUserInterface (    )  [virtual]
 


メソッドの解説

virtual Tbool TUserInterface::AcceptCommand (    )  [pure virtual]
 

TBrowserUserInterface, TGtkUserInterface, TQtUserInterface, と TTerminalUserInterfaceを実装しています.

Tint TUserInterface::AddCommand (  TCommand *    command ) 
 

Tvoid TUserInterface::ClearCommands (    ) 
 

virtual Tvoid TUserInterface::ClearScreen (    )  [virtual]
 

Tvoid TUserInterface::ExecuteCommand (  const Tstring &    command ) 
 

Tvoid TUserInterface::ExecuteCommand (  const Tstring &    command,
const TstringList &    arguments
) 
 

TCommand* TUserInterface::FindCommand (  const Tstring &    name,
const Tstring &    path
) 
 

TCommand* TUserInterface::FindCommand (  const Tstring &    fullname ) 
 

TCommand* TUserInterface::GetCommand (  const Tstring &    name,
const Tstring &    path
) 
 

TCommand* TUserInterface::GetCommand (  const Tstring &    fullname ) 
 

TCommand* TUserInterface::GetCommand (  Tint    index ) 
 

TCommandHistory & TUserInterface::GetCommandHistory (    )  [inline]
 

const TCommandHistory & TUserInterface::GetCommandHistory (    )  [inline]
 

TCommandTable & TUserInterface::GetCommandTable (    )  [inline]
 

const TCommandTable & TUserInterface::GetCommandTable (    )  [inline]
 

Tstring & TUserInterface::GetCurrentWorkingDirectory (    )  [inline]
 

const Tstring & TUserInterface::GetCurrentWorkingDirectory (    )  [inline]
 

Tint TUserInterface::GetCurrentWorkingDirectoryLevel (    ) 
 

Tofstream & TUserInterface::GetHistoryFileStream (    )  [inline]
 

virtual const Tstring& TUserInterface::GetInputCommand (    )  [pure virtual]
 

TBrowserUserInterface, TGtkUserInterface, TQtUserInterface, と TTerminalUserInterfaceを実装しています.

virtual Tint TUserInterface::GetNumberOfColumns (    )  [virtual]
 

virtual Tint TUserInterface::GetNumberOfLines (    )  [virtual]
 

Tstring TUserInterface::ModifyPath (  const Tstring &    path )  const
 

virtual Tvoid TUserInterface::NotFoundCommand (  const Tstring &    commandname )  const [virtual]
 

TBrowserUserInterface, TGtkUserInterface, TQtUserInterface, と TTerminalUserInterfaceで再定義されています。

Tint TUserInterface::RemoveCommand (  Tint    index ) 
 

Tvoid TUserInterface::SetCommandHistory (  const TCommandHistory &    history )  [inline]
 

Tvoid TUserInterface::SetCommandTable (  const TCommandTable &    table )  [inline]
 

Tvoid TUserInterface::SetCurrentWorkingDirectory (  const Tstring &    directory ) 
 


変数の解説

TCommandHistory TUserInterface::theCommandHistory [protected]
 

TCommandTable TUserInterface::theCommandTable [protected]
 

Tstring TUserInterface::theCurrentWorkingDirectory [protected]
 

Tofstream TUserInterface::theHistoryFileStream [protected]
 


このクラスの解説は次のファイルから生成されました:
CLDAQ - a Class Library for Data AcQuisition (Version 1.7.1)
Go IWAI <goiwai@users.sourceforge.jp>