メインページ
モジュール
クラス階層
アルファベット順一覧
構成
ファイル一覧
構成メンバ
ファイルメンバ
関連ページ
例
クラス TArgument の解説
[
System Category
]
This is the TArgument class.
[詳細]
#include <
TArgument.hh
>
TArgumentのコラボレーション図
[
凡例
]
すべてのメンバ一覧
Public メソッド
TArgument
(
Tint
argc,
Tchar
**argv, const
Tstring
&usage="")
TArgument
(
Tint
argc,
Tchar
**argv, const
TOptionTable
&table, const
Tstring
&usage="")
~TArgument
()
Tvoid
Analyse
()
Tvoid
ShowUsage
() const
Tvoid
ShowVersion
() const
Tvoid
ShowHelp
() const
Tstring
operator[]
(
Tint
index) const
Tstring
operator[]
(const
TOption
&option) const
Tstring
operator[]
(const
Tstring
&optionname) const
Tint
GetNumberOfOriginalArguments
() const
Tchar
**
GetOriginalArguments
() const
const
TOptionTable
&
GetOptionTable
() const
const
TOptionMap
&
GetOptionMap
() const
const
Tstring
&
GetProgramName
() const
const
Tstring
&
GetDirectoryName
() const
const
TstringList
&
GetElements
() const
Tint
GetNumberOfElements
() const
const
Tstring
&
GetUsage
() const
Tvoid
SetUsage
(const
Tstring
&usage)
Tbool
HasOption
(const
TOption
&option) const
Tbool
HasOption
(const
Tstring
&optionname) const
Tstring
GetParameter
(
Tint
index) const
Tstring
GetParameter
(const
Tstring
&optionname) const
Tstring
GetParameter
(const
TOption
&option) const
Tint
GetIntegerParameter
(
Tint
index) const
Tint
GetIntegerParameter
(const
Tstring
&optionname) const
Tint
GetIntegerParameter
(const
TOption
&option) const
Tdouble
GetDoubleParameter
(
Tint
index) const
Tdouble
GetDoubleParameter
(const
Tstring
&optionname) const
Tdouble
GetDoubleParameter
(const
TOption
&option) const
TintList
GetIntegerElements
() const
TdoubleList
GetDoubleElements
() const
Tstring
GetElement
(
Tint
index) const
Tint
GetIntegerElement
(
Tint
index) const
Tdouble
GetDoubleElement
(
Tint
index) const
フレンド
Tostream &
operator<<
(Tostream &tos, const TArgument &right)
解説
This is the TArgument class.
作者:
Go IWAI <
goiwai@users.sourceforge.jp
>
The TArgument class detail description. Write it down ASAP!
TODO:
None?
バグ:
None?
例:
terminal.cc
.
コンストラクタとデストラクタの解説
TArgument::TArgument
(
Tint
argc
,
Tchar
**
argv
,
const
Tstring
&
usage
= ""
)
TArgument::TArgument
(
Tint
argc
,
Tchar
**
argv
,
const
TOptionTable
&
table
,
const
Tstring
&
usage
= ""
)
TArgument::~TArgument
(
)
メソッドの解説
Tvoid
TArgument::Analyse
(
)
const
Tstring
& TArgument::GetDirectoryName
(
)
[inline]
Tdouble
TArgument::GetDoubleElement
(
Tint
index
)
const
[inline]
TdoubleList
TArgument::GetDoubleElements
(
)
[inline]
Tdouble
TArgument::GetDoubleParameter
(
const
TOption
&
option
)
const
[inline]
Tdouble
TArgument::GetDoubleParameter
(
const
Tstring
&
optionname
)
const
[inline]
Tdouble
TArgument::GetDoubleParameter
(
Tint
index
)
const
[inline]
Tstring
TArgument::GetElement
(
Tint
index
)
const
[inline]
const
TstringList
& TArgument::GetElements
(
)
[inline]
Tint
TArgument::GetIntegerElement
(
Tint
index
)
const
[inline]
TintList
TArgument::GetIntegerElements
(
)
[inline]
Tint
TArgument::GetIntegerParameter
(
const
TOption
&
option
)
const
[inline]
Tint
TArgument::GetIntegerParameter
(
const
Tstring
&
optionname
)
const
[inline]
Tint
TArgument::GetIntegerParameter
(
Tint
index
)
const
[inline]
Tint
TArgument::GetNumberOfElements
(
)
[inline]
Tint
TArgument::GetNumberOfOriginalArguments
(
)
[inline]
const
TOptionMap
& TArgument::GetOptionMap
(
)
[inline]
const
TOptionTable
& TArgument::GetOptionTable
(
)
[inline]
Tchar
** TArgument::GetOriginalArguments
(
)
[inline]
Tstring
TArgument::GetParameter
(
const
TOption
&
option
)
const
[inline]
Tstring
TArgument::GetParameter
(
const
Tstring
&
optionname
)
const
[inline]
Tstring
TArgument::GetParameter
(
Tint
index
)
const
[inline]
const
Tstring
& TArgument::GetProgramName
(
)
[inline]
const
Tstring
& TArgument::GetUsage
(
)
[inline]
Tbool
TArgument::HasOption
(
const
Tstring
&
optionname
)
const
[inline]
Tbool
TArgument::HasOption
(
const
TOption
&
option
)
const
[inline]
Tstring
TArgument::operator[]
(
const
Tstring
&
optionname
)
const
[inline]
Tstring
TArgument::operator[]
(
const
TOption
&
option
)
const
[inline]
Tstring
TArgument::operator[]
(
Tint
index
)
const
[inline]
Tvoid
TArgument::SetUsage
(
const
Tstring
&
usage
)
[inline]
Tvoid
TArgument::ShowHelp
(
)
Tvoid
TArgument::ShowUsage
(
)
Tvoid
TArgument::ShowVersion
(
)
フレンドと関連する関数の解説
Tostream& operator<<
(
Tostream &
tos
,
const TArgument &
right
)
[friend]
このクラスの解説は次のファイルから生成されました:
TArgument.hh
CLDAQ - a Class Library for Data AcQuisition
(Version 1.11.0)
Go IWAI
<
goiwai@users.sourceforge.jp
>