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

TUtilities.hh の解説

This file contains the TUtilities class. [詳細]

#include "Ttypes.h"

TUtilities.hhのインクルード依存関係図

Include dependency graph

このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

Included by dependency graph

ソースコードを見る。

構成

class  TUtilities
 This is the TUtilities class. [詳細]


関数

Tstring itostr (Tint i, Tint digits)
Tstring ltostr (Tlong l, Tint digits)
Tstring ultostr (TUlong ul, Tint digits)
Tstring dtostr (Tdouble d, Tint precision)
Tstring ftostr (Tfloat f, Tint precision)
Tint strtoi (const Tstring &nptr, Tchar **endptr, Tint base)
Tdouble strtod (const Tstring &nptr, Tchar **endptr)
Tvoid showbit (Tint bit)
Tbool isexist (const Tstring &filename)
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 subst (const Tstring &source, const Tstring &pattern, const Tstring &substr, Tbool all, Tint pos)
Tbool grep (const Tstring &source, const Tstring &pattern, Tbool igcase, Tint pos)
Tstring basename (const Tstring &path)
Tstring dirname (const Tstring &path)


解説

This file contains the TUtilities class.

作者:
Go IWAI <goiwai@users.sourceforge.jp>
Id:
TUtilities.hh,v 1.2 2003/11/03 08:35:15 goiwai Exp
Name:
CLDAQ-1-11-00
Log:
TUtilities.hh,v
Revision 1.2 2003/11/03 08:35:15 goiwai Doxygen用のタグとコメントをうちこんでいく試みを開始しました.

Revision 1.1 2003/10/06 16:34:36 goiwai データの変換や正規表現等,頻繁に使用される関数群のためのラッパークラス です.あたかもCのライブラリ関数の如く使用できます.


関数の解説

Tstring basename (  const Tstring &    path )  [inline]
 

Tstring dirname (  const Tstring &    path )  [inline]
 

Tstring dtostr (  Tdouble    d,
Tint    precision = 6
)  [inline]
 

Tstring ftostr (  Tfloat    f,
Tint    precision = 6
)  [inline]
 

Tbool grep (  const Tstring &    source,
const Tstring &    pattern,
Tbool    igcase = Tfalse,
Tint    pos = 0
)  [inline]
 

TintList index (  const Tstring &    source,
const Tstring &    pattern,
Tint    pos = 0
)  [inline]
 

Tbool isexist (  const Tstring &    filename )  [inline]
 

Tstring itostr (  Tint    i,
Tint    digits = 6
)  [inline]
 

Tstring ltostr (  Tlong    l,
Tint    digits = 6
)  [inline]
 

Tvoid showbit (  Tint    bit )  [inline]
 

TintList size (  const Tstring &    source,
const Tstring &    pattern,
Tint    pos = 0
)  [inline]
 

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

Tdouble strtod (  const Tstring &    nptr,
Tchar **    endptr = 0
)  [inline]
 

Tint strtoi (  const Tstring &    nptr,
Tchar **    endptr = 0,
Tint    base = 0
)  [inline]
 

Tstring subst (  const Tstring &    source,
const Tstring &    pattern,
const Tstring &    substr,
Tbool    all,
Tint    pos
)  [inline]
 

Tstring ultostr (  TUlong    ul,
Tint    digits = 6
)  [inline]
 


CLDAQ - a Class Library for Data AcQuisition (Version 1.11.0)
Go IWAI <goiwai@users.sourceforge.jp>