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

クラス TUtilities の解説
[System Category]

This is the TUtilities class. [詳細]

#include <TUtilities.hh>

すべてのメンバ一覧

Static Public メソッド

Tstring ConvertIntegerToString (Tint i, Tint digits)
Tstring ConvertLongToString (Tlong l, Tint digits)
Tstring ConvertUnsignedLongToString (TUlong ul, Tint digits)
Tstring ConvertDoubleToString (Tdouble d, Tint precision)
Tstring ConvertFloatToString (Tfloat f, Tint precision)
Tint ConvertStringToInteger (const Tstring &nptr, Tchar **endptr, Tint base)
Tdouble ConvertStringToDouble (const Tstring &nptr, Tchar **endptr)
Tvoid ShowBitPattern (Tint bit)
Tbool FileExist (const Tstring &filename, Tint mode)
TstringList Split (const Tstring &source, const Tstring &pattern, Tint pos)
TintList Index (const Tstring &source, const Tstring &pattern, Tint pos)
TintList Size (const Tstring &source, const Tstring &pattern, Tint pos)
Tstring Substitute (const Tstring &source, const Tstring &pattern, const Tstring &substr, Tint pos)
Tstring SubstituteAll (const Tstring &source, const Tstring &pattern, const Tstring &substr, Tint pos)
Tbool IsMatch (const Tstring &source, const Tstring &pattern, Tbool igcase, Tint pos)
Tint GetNumberOfMatches (const Tstring &source, const Tstring &pattern, Tint pos)
Tstring GetSubMatch (Tint index, const Tstring &source, const Tstring &pattern, Tint pos)
TstringList GetSubMatch (const Tstring &source, const Tstring &pattern, Tint pos)
Tstring GetBaseName (const Tstring &path)
Tstring GetDirectoryName (const Tstring &path)

フレンド

Tstring itostr (Tint i, Tint digits=6)
Tstring ltostr (Tlong l, Tint digits=6)
Tstring ultostr (TUlong ul, Tint digits=6)
Tstring dtostr (Tdouble d, Tint precision=6)
Tstring ftostr (Tfloat f, Tint precision=6)
Tint strtoi (const Tstring &nptr, Tchar **endptr=0, Tint base=0)
Tdouble strtod (const Tstring &nptr, Tchar **endptr=0)
Tvoid showbit (Tint bit)
Tbool isexist (const Tstring &filename, Tint mode=R_OK|F_OK)
TstringList split (const Tstring &source, const Tstring &pattern="(\t||\\s)+", Tint pos=0)
TintList index (const Tstring &source, const Tstring &pattern="(\t||\\s)+", Tint pos=0)
TintList size (const Tstring &source, const Tstring &pattern, Tint pos=0)
Tstring subst (const Tstring &source, const Tstring &pattern="(#.*)|(//.*)", const Tstring &substr="", Tbool all=Ttrue, Tint pos=0)
Tbool match (const Tstring &source, const Tstring &pattern, Tbool igcase=Tfalse, Tint pos=0)
Tint nmatch (const Tstring &source, const Tstring &pattern, Tint pos=0)
Tstring submatch (Tint index, const Tstring &source, const Tstring &pattern, Tint pos=0)
TstringList submatch (const Tstring &source, const Tstring &pattern, Tint pos=0)
Tbool grep (const Tstring &source, const Tstring &pattern, Tbool igcase=Tfalse, Tint pos=0)
Tstring basename (const Tstring &path)
Tstring dirname (const Tstring &path)


解説

This is the TUtilities class.

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

TODO:
None?

バグ:
None?

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


メソッドの解説

Tstring TUtilities::ConvertDoubleToString Tdouble  d,
Tint  precision
[static]
 

TUtilities.cc96 行で定義されています。

参照 Tchar, Tends, Tostrstream, と Tstring.

呼出 ConvertFloatToString(), と dtostr().

Tstring TUtilities::ConvertFloatToString Tfloat  f,
Tint  precision
[static]
 

TUtilities.cc106 行で定義されています。

参照 ConvertDoubleToString(), Tdouble, と Tstring.

呼出 ftostr().

Tstring TUtilities::ConvertIntegerToString Tint  i,
Tint  digits
[static]
 

TUtilities.cc33 行で定義されています。

参照 Tchar, Tends, Tint, Tostrstream, と Tstring.

呼出 itostr().

Tstring TUtilities::ConvertLongToString Tlong  l,
Tint  digits
[static]
 

TUtilities.cc54 行で定義されています。

参照 Tchar, Tends, Tint, Tostrstream, と Tstring.

呼出 ltostr().

Tdouble TUtilities::ConvertStringToDouble const Tstring nptr,
Tchar **  endptr
[static]
 

TUtilities.cc125 行で定義されています。

参照 strtod, と Tdouble.

呼出 strtod().

Tint TUtilities::ConvertStringToInteger const Tstring nptr,
Tchar **  endptr,
Tint  base
[static]
 

TUtilities.cc120 行で定義されています。

参照 Tint.

呼出 strtoi().

Tstring TUtilities::ConvertUnsignedLongToString TUlong  ul,
Tint  digits
[static]
 

TUtilities.cc75 行で定義されています。

参照 Tchar, Tends, Tint, Tostrstream, と Tstring.

呼出 ultostr().

Tbool TUtilities::FileExist const Tstring filename,
Tint  mode
[static]
 

TUtilities.cc111 行で定義されています。

参照 Tbool, Tfalse, と Ttrue.

呼出 isexist().

Tstring TUtilities::GetBaseName const Tstring path  )  [static]
 

TUtilities.cc189 行で定義されています。

参照 basename, Tchar, Tsize_t, と Tstring.

呼出 basename().

Tstring TUtilities::GetDirectoryName const Tstring path  )  [static]
 

TUtilities.cc211 行で定義されています。

参照 dirname, Tchar, Tsize_t, と Tstring.

呼出 dirname().

Tint TUtilities::GetNumberOfMatches const Tstring source,
const Tstring pattern,
Tint  pos
[static]
 

TstringList TUtilities::GetSubMatch const Tstring source,
const Tstring pattern,
Tint  pos
[static]
 

TUtilities.cc229 行で定義されています。

参照 TRegularExpression::GetSubMatch(), と TstringList.

Tstring TUtilities::GetSubMatch Tint  index,
const Tstring source,
const Tstring pattern,
Tint  pos
[static]
 

TUtilities.cc223 行で定義されています。

参照 TRegularExpression::GetSubMatch(), index(), と Tstring.

呼出 submatch().

TintList TUtilities::Index const Tstring source,
const Tstring pattern,
Tint  pos
[static]
 

TUtilities.cc146 行で定義されています。

参照 TRegularExpression::Indexes(), と TintList.

呼出 index().

Tbool TUtilities::IsMatch const Tstring source,
const Tstring pattern,
Tbool  igcase,
Tint  pos
[static]
 

TUtilities.cc170 行で定義されています。

参照 TRegularExpression::IgnoreCase(), TRegularExpression::IsMatch(), Tbool, と Ttrue.

呼出 grep(), と match().

Tvoid TUtilities::ShowBitPattern Tint  bit  )  [static]
 

TUtilities.cc130 行で定義されています。

参照 Tcout, Tendl, Tint, Tsizeof, と Tvoid.

呼出 showbit().

TintList TUtilities::Size const Tstring source,
const Tstring pattern,
Tint  pos
[static]
 

TUtilities.cc152 行で定義されています。

参照 TRegularExpression::Sizes(), と TintList.

呼出 size().

TstringList TUtilities::Split const Tstring source,
const Tstring pattern,
Tint  pos
[static]
 

TUtilities.cc140 行で定義されています。

参照 TRegularExpression::Split(), と TstringList.

呼出 split().

Tstring TUtilities::Substitute const Tstring source,
const Tstring pattern,
const Tstring substr,
Tint  pos
[static]
 

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

参照 TRegularExpression::Substitute(), と Tstring.

呼出 subst().

Tstring TUtilities::SubstituteAll const Tstring source,
const Tstring pattern,
const Tstring substr,
Tint  pos
[static]
 

TUtilities.cc164 行で定義されています。

参照 TRegularExpression::SubstituteAll(), と Tstring.

呼出 subst().


フレンドと関連する関数の解説

Tstring basename const Tstring path  )  [friend]
 

rootmodules/IO/Ttypes.h296 行で定義されています。

呼出 GetBaseName().

Tstring dirname const Tstring path  )  [friend]
 

rootmodules/IO/Ttypes.h308 行で定義されています。

呼出 GetDirectoryName().

Tstring dtostr Tdouble  d,
Tint  precision = 6
[friend]
 

rootmodules/IO/Ttypes.h257 行で定義されています。

Tstring ftostr Tfloat  f,
Tint  precision = 6
[friend]
 

rootmodules/IO/Ttypes.h268 行で定義されています。

Tbool grep const Tstring source,
const Tstring pattern,
Tbool  igcase = Tfalse,
Tint  pos = 0
[friend]
 

TUtilities.hh190 行で定義されています。

TintList index const Tstring source,
const Tstring pattern = "(\t| |\\s)+",
Tint  pos = 0
[friend]
 

TUtilities.hh166 行で定義されています。

Tbool isexist const Tstring filename,
Tint  mode = R_OK|F_OK
[friend]
 

rootmodules/IO/Ttypes.h275 行で定義されています。

Tstring itostr Tint  i,
Tint  digits = 6
[friend]
 

rootmodules/IO/Ttypes.h191 行で定義されています。

Tstring ltostr Tlong  l,
Tint  digits = 6
[friend]
 

rootmodules/IO/Ttypes.h213 行で定義されています。

Tbool match const Tstring source,
const Tstring pattern,
Tbool  igcase = Tfalse,
Tint  pos = 0
[friend]
 

TUtilities.hh185 行で定義されています。

Tint nmatch const Tstring source,
const Tstring pattern,
Tint  pos = 0
[friend]
 

Tvoid showbit Tint  bit  )  [friend]
 

TUtilities.hh150 行で定義されています。

TintList size const Tstring source,
const Tstring pattern,
Tint  pos = 0
[friend]
 

TUtilities.hh171 行で定義されています。

TstringList split const Tstring source,
const Tstring pattern = "(\t| |\\s)+",
Tint  pos = 0
[friend]
 

TUtilities.hh161 行で定義されています。

Tdouble strtod const Tstring nptr,
Tchar **  endptr = 0
[friend]
 

rootmodules/IO/Ttypes.h290 行で定義されています。

呼出 ConvertStringToDouble().

Tint strtoi const Tstring nptr,
Tchar **  endptr = 0,
Tint  base = 0
[friend]
 

rootmodules/IO/Ttypes.h285 行で定義されています。

TstringList submatch const Tstring source,
const Tstring pattern,
Tint  pos = 0
[friend]
 

TUtilities.hh200 行で定義されています。

Tstring submatch Tint  index,
const Tstring source,
const Tstring pattern,
Tint  pos = 0
[friend]
 

TUtilities.hh195 行で定義されています。

Tstring subst const Tstring source,
const Tstring pattern = "(#.*)|(//.*)",
const Tstring substr = "",
Tbool  all = Ttrue,
Tint  pos = 0
[friend]
 

TUtilities.hh176 行で定義されています。

Tstring ultostr TUlong  ul,
Tint  digits = 6
[friend]
 

rootmodules/IO/Ttypes.h235 行で定義されています。


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

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