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

クラス TUserInterface の解説
[Interfaces Category]

This is the TUserInterface class. [詳細]

#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 TstringGetCurrentWorkingDirectory () const
TstringGetCurrentWorkingDirectory ()
const TCommandHistoryGetCommandHistory () const
TCommandHistoryGetCommandHistory ()
TofstreamGetHistoryFileStream ()
Tvoid SetCommandTable (const TCommandTable &table)
Tvoid SetCurrentWorkingDirectory (const Tstring &directory)
Tvoid SetCommandHistory (const TCommandHistory &history)
virtual Tbool AcceptCommand ()=0
virtual const TstringGetInputCommand ()=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

解説

This is the TUserInterface class.

作者:
Go IWAI <goiwai@users.sourceforge.jp>
The TUserInterface class detail description. Write it down ASAP!

TODO:
None?

バグ:
None?

TUserInterface.hh58 行で定義されています。


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

TUserInterface::TUserInterface const Tstring history  ) 
 

TUserInterface.cc25 行で定義されています。

参照 TCommandTable::Clear(), ClearScreen(), isexist(), Tapp, Tcerr, Tchar, Tendl, theCommandHistory, theCommandTable, theHistoryFileStream, Tifstream, Tout, Tsize_t, Tslash, と Tstring.

TUserInterface::~TUserInterface  )  [virtual]
 

TUserInterface.cc68 行で定義されています。

参照 ClearCommands(), と theHistoryFileStream.


メソッドの解説

virtual Tbool TUserInterface::AcceptCommand  )  [pure virtual]
 

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

Tint TUserInterface::AddCommand TCommand *  command  ) 
 

TUserInterface.cc76 行で定義されています。

参照 TCommandTable::AddCommand(), TCommandTable::AlreadyExist(), TCommandTable::GetSize(), Tcerr, Tendl, theCommandTable, と Tint.

Tvoid TUserInterface::ClearCommands  ) 
 

TUserInterface.cc103 行で定義されています。

参照 TCommandTable::Clear(), TCommandTable::GetSize(), Tcout, Tendl, theCommandTable, Tint, Tstring, と Tvoid.

呼出 ~TUserInterface().

Tvoid TUserInterface::ClearScreen  )  const [virtual]
 

TUserInterface.cc173 行で定義されています。

参照 Tvoid.

呼出 TTerminalUserInterface::clearScreen(), と TUserInterface().

Tvoid TUserInterface::ExecuteCommand const Tstring command  ) 
 

TUserInterface.cc158 行で定義されています。

参照 ExecuteCommand(), TstringList, と Tvoid.

Tvoid TUserInterface::ExecuteCommand const Tstring command,
const TstringList arguments
 

TUserInterface.cc148 行で定義されています。

参照 FindCommand(), ModifyPath(), Tstring, と Tvoid.

呼出 TTerminalUserInterface::complete(), と ExecuteCommand().

TCommand * TUserInterface::FindCommand const Tstring name,
const Tstring path
 

TUserInterface.cc124 行で定義されています。

参照 TCommandTable::FindCommand(), と theCommandTable.

TCommand * TUserInterface::FindCommand const Tstring fullname  ) 
 

TUserInterface.cc119 行で定義されています。

参照 TCommandTable::FindCommand(), と theCommandTable.

呼出 ExecuteCommand(), と GetCommand().

TCommand * TUserInterface::GetCommand const Tstring name,
const Tstring path
 

TUserInterface.cc143 行で定義されています。

参照 FindCommand().

TCommand * TUserInterface::GetCommand const Tstring fullname  ) 
 

TUserInterface.cc138 行で定義されています。

参照 FindCommand().

TCommand * TUserInterface::GetCommand Tint  index  ) 
 

TUserInterface.cc129 行で定義されています。

参照 TCommandTable::GetSize(), index(), Tcerr, Tendl, と theCommandTable.

TCommandHistory & TUserInterface::GetCommandHistory  )  [inline]
 

TUserInterface.hh138 行で定義されています。

参照 TCommandHistory, と theCommandHistory.

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

TUserInterface.hh133 行で定義されています。

参照 TCommandHistory, と theCommandHistory.

TCommandTable & TUserInterface::GetCommandTable  )  [inline]
 

TUserInterface.hh118 行で定義されています。

参照 theCommandTable.

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

TUserInterface.hh113 行で定義されています。

参照 theCommandTable.

Tstring & TUserInterface::GetCurrentWorkingDirectory  )  [inline]
 

TUserInterface.hh128 行で定義されています。

参照 theCurrentWorkingDirectory, と Tstring.

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

TUserInterface.hh123 行で定義されています。

参照 theCurrentWorkingDirectory, と Tstring.

Tint TUserInterface::GetCurrentWorkingDirectoryLevel  )  const
 

TUserInterface.cc195 行で定義されています。

参照 Tcerr, Tendl, theCurrentWorkingDirectory, Tint, と Tsize_t.

Tofstream & TUserInterface::GetHistoryFileStream  )  [inline]
 

TUserInterface.hh143 行で定義されています。

参照 theHistoryFileStream, と Tofstream.

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

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

Tint TUserInterface::GetNumberOfColumns  )  const [virtual]
 

TUserInterface.cc181 行で定義されています。

参照 Tint.

呼出 TTerminalUserInterface::complete(), と TTerminalUserInterface::completeDirectory().

Tint TUserInterface::GetNumberOfLines  )  const [virtual]
 

TUserInterface.cc188 行で定義されています。

参照 Tint.

Tstring TUserInterface::ModifyPath const Tstring path  )  const
 

TUserInterface.cc222 行で定義されています。

参照 TCommandTable::GetSize(), theCommandTable, theCurrentWorkingDirectory, Tint, Tsize_t, と Tstring.

呼出 TTerminalUserInterface::complete(), TTerminalUserInterface::completeDirectory(), ExecuteCommand(), と SetCurrentWorkingDirectory().

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

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

TUserInterface.cc166 行で定義されています。

参照 Tcout, Tendl, と Tvoid.

Tint TUserInterface::RemoveCommand Tint  index  ) 
 

TUserInterface.cc86 行で定義されています。

参照 TCommandTable::GetSize(), index(), Tcerr, Tcout, Tendl, theCommandTable, Tint, と Tstring.

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

TUserInterface.hh154 行で定義されています。

参照 theCommandHistory, と Tvoid.

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

TUserInterface.hh148 行で定義されています。

参照 theCommandTable, と Tvoid.

Tvoid TUserInterface::SetCurrentWorkingDirectory const Tstring directory  ) 
 

TUserInterface.cc210 行で定義されています。

参照 TCommandTable::AlreadyExistDirectory(), ModifyPath(), Tcerr, Tendl, theCommandTable, theCurrentWorkingDirectory, Tstring, と Tvoid.


変数の解説

TCommandHistory TUserInterface::theCommandHistory [protected]
 

TUserInterface.hh65 行で定義されています。

呼出 GetCommandHistory(), TTerminalUserInterface::initializeCommandLine(), TTerminalUserInterface::nextCommand(), TTerminalUserInterface::previousCommand(), SetCommandHistory(), と TUserInterface().

TCommandTable TUserInterface::theCommandTable [protected]
 

TUserInterface.hh62 行で定義されています。

呼出 AddCommand(), ClearCommands(), TTerminalUserInterface::complete(), TTerminalUserInterface::completeDirectory(), FindCommand(), GetCommand(), GetCommandTable(), ModifyPath(), RemoveCommand(), SetCommandTable(), SetCurrentWorkingDirectory(), と TUserInterface().

Tstring TUserInterface::theCurrentWorkingDirectory [protected]
 

TUserInterface.hh64 行で定義されています。

呼出 TTerminalUserInterface::completeDirectory(), GetCurrentWorkingDirectory(), GetCurrentWorkingDirectoryLevel(), ModifyPath(), と SetCurrentWorkingDirectory().

Tofstream TUserInterface::theHistoryFileStream [protected]
 

TUserInterface.hh63 行で定義されています。

呼出 GetHistoryFileStream(), TUserInterface(), と ~TUserInterface().


このクラスの解説は次のファイルから生成されました:

CLDAQ - a Class Library for DataAcQuisition (Version 1.14.3)
Go IWAI -- goiwai at users.sourceforge.jp