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

クラス TRegularExpression の解説
[System Category]

This is the TRegularExpression class. [詳細]

#include <TRegularExpression.hh>

すべてのメンバ一覧

Public 型

enum  {
  DEFAULT = REG_EXTENDED|REG_NEWLINE,
  IOPTION = DEFAULT|REG_ICASE
}

Public メソッド

 TRegularExpression (const Tstring &pattern, Tint option=DEFAULT)
 TRegularExpression (Tint option=DEFAULT, const Tstring &pattern="")
 TRegularExpression (const TRegularExpression &right)
 ~TRegularExpression ()
const TRegularExpression & operator= (const TRegularExpression &right)
const TRegularExpression & operator= (const Tstring &right)
Tbool operator== (const Tstring &right)
Tbool operator!= (const Tstring &right)
Tvoid Compile ()
Tint Index (const Tstring &source, Tint pos=0)
TintList Indexes (const Tstring &source, Tint pos=0)
Tint Size (const Tstring &source, Tint pos=0)
TintList Sizes (const Tstring &source, Tint pos=0)
Tstring MatchString (const Tstring &source, Tint pos=0)
TstringList MatchStrings (const Tstring &source, Tint pos=0)
Tbool IsMatch (const Tstring &source, Tint pos=0)
Tint GetNumberOfMatches (const Tstring &source, Tint pos=0)
Tstring Substitute (const Tstring &source, const Tstring &substr="", Tint pos=0)
Tstring SubstituteAll (const Tstring &source, const Tstring &substr="", Tint pos=0)
TstringList Split (const Tstring &source, Tint pos=0)
TstringList Split (const Tstring &pattern, const Tstring &source, Tint pos=0)
TstringList Split (const TRegularExpression &regex, const Tstring &source, Tint pos=0)
Tstring GetSubMatch (Tint index, const Tstring &source, Tint pos=0)
TstringList GetSubMatch (const Tstring &source, Tint pos=0)
const TstringGetPattern () const
Tint GetOption () const
Tint GetNumberOfSubMatches () const
const Tregex_tGetCompiledPattern () const
const Tregmatch_tGetMatch () const
const Tregmatch_tGetSubMatch () const
Tvoid SetPattern (const Tstring &pattern)
Tvoid SetOption (Tint option=DEFAULT)
Tvoid IgnoreCase (Tbool stat=Ttrue)


解説

This is the TRegularExpression class.

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

TODO:
None?

バグ:
None?

TRegularExpression.hh56 行で定義されています。


Enum の解説

anonymous enum
 

Enum 値:
DEFAULT 
IOPTION 

TRegularExpression.hh68 行で定義されています。


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

TRegularExpression::TRegularExpression const Tstring pattern,
Tint  option = DEFAULT
 

TRegularExpression.cc23 行で定義されています。

参照 Compile().

呼出 operator=().

TRegularExpression::TRegularExpression Tint  option = DEFAULT,
const Tstring pattern = ""
 

TRegularExpression.cc34 行で定義されています。

参照 Compile().

TRegularExpression::TRegularExpression const TRegularExpression &  right  ) 
 

TRegularExpression.cc45 行で定義されています。

参照 Compile().

TRegularExpression::~TRegularExpression  ) 
 

TRegularExpression.cc56 行で定義されています。


メソッドの解説

Tvoid TRegularExpression::Compile  ) 
 

TRegularExpression.cc94 行で定義されています。

参照 Tint, Tregex_t, Tregmatch_t, Tsizeof, と Tvoid.

呼出 operator=(), SetOption(), SetPattern(), と TRegularExpression().

const Tregex_t * TRegularExpression::GetCompiledPattern  )  const [inline]
 

TRegularExpression.hh144 行で定義されています。

参照 Tregex_t.

const Tregmatch_t * TRegularExpression::GetMatch  )  const [inline]
 

TRegularExpression.hh149 行で定義されています。

参照 Tregmatch_t.

Tint TRegularExpression::GetNumberOfMatches const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc208 行で定義されています。

参照 IsMatch(), と Tint.

Tint TRegularExpression::GetNumberOfSubMatches  )  const [inline]
 

TRegularExpression.hh139 行で定義されています。

参照 Tint.

Tint TRegularExpression::GetOption  )  const [inline]
 

TRegularExpression.hh134 行で定義されています。

参照 Tint.

const Tstring & TRegularExpression::GetPattern  )  const [inline]
 

TRegularExpression.hh129 行で定義されています。

参照 Tstring.

const Tregmatch_t * TRegularExpression::GetSubMatch  )  const [inline]
 

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

参照 Tregmatch_t.

TstringList TRegularExpression::GetSubMatch const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc321 行で定義されています。

参照 index(), IsMatch(), size(), Tint, Tstring, と TstringList.

Tstring TRegularExpression::GetSubMatch Tint  index,
const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc302 行で定義されています。

参照 index(), IsMatch(), Tint, と Tstring.

呼出 TUtilities::GetSubMatch().

Tvoid TRegularExpression::IgnoreCase Tbool  stat = Ttrue  )  [inline]
 

TRegularExpression.hh173 行で定義されています。

参照 SetOption(), Tint, Ttrue, と Tvoid.

呼出 TUtilities::IsMatch().

Tint TRegularExpression::Index const Tstring source,
Tint  pos = 0
 

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

参照 IsMatch(), と Tint.

TintList TRegularExpression::Indexes const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc134 行で定義されています。

参照 IsMatch(), Tint, と TintList.

呼出 TUtilities::Index().

Tbool TRegularExpression::IsMatch const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc199 行で定義されています。

参照 Tbool, Tfalse, と Ttrue.

呼出 GetNumberOfMatches(), GetSubMatch(), Index(), Indexes(), TUtilities::IsMatch(), MatchString(), MatchStrings(), operator!=(), operator==(), Size(), Sizes(), Split(), Substitute(), と SubstituteAll().

Tstring TRegularExpression::MatchString const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc171 行で定義されています。

参照 index(), IsMatch(), size(), Tint, と Tstring.

TstringList TRegularExpression::MatchStrings const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc184 行で定義されています。

参照 index(), IsMatch(), size(), Tint, Tstring, と TstringList.

Tbool TRegularExpression::operator!= const Tstring right  ) 
 

TRegularExpression.cc85 行で定義されています。

参照 IsMatch(), Tbool, Tfalse, と Ttrue.

const TRegularExpression & TRegularExpression::operator= const Tstring right  ) 
 

TRegularExpression.cc74 行で定義されています。

参照 TRegularExpression().

const TRegularExpression & TRegularExpression::operator= const TRegularExpression &  right  ) 
 

TRegularExpression.cc61 行で定義されています。

参照 Compile(), theOption, と thePattern.

Tbool TRegularExpression::operator== const Tstring right  ) 
 

TRegularExpression.cc80 行で定義されています。

参照 IsMatch(), と Tbool.

Tvoid TRegularExpression::SetOption Tint  option = DEFAULT  )  [inline]
 

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

参照 Compile(), と Tvoid.

呼出 IgnoreCase().

Tvoid TRegularExpression::SetPattern const Tstring pattern  )  [inline]
 

TRegularExpression.hh159 行で定義されています。

参照 Compile(), と Tvoid.

Tint TRegularExpression::Size const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc147 行で定義されています。

参照 IsMatch(), と Tint.

TintList TRegularExpression::Sizes const Tstring source,
Tint  pos = 0
 

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

参照 IsMatch(), Tint, と TintList.

呼出 TUtilities::Size().

TstringList TRegularExpression::Split const TRegularExpression &  regex,
const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc290 行で定義されています。

参照 Split(), と TstringList.

TstringList TRegularExpression::Split const Tstring pattern,
const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc296 行で定義されています。

参照 Split(), と TstringList.

TstringList TRegularExpression::Split const Tstring source,
Tint  pos = 0
 

TRegularExpression.cc246 行で定義されています。

参照 CLDAQ_DEBUG, CLDAQ_WARN, IsMatch(), Tint, Tsize_t, Tstring, と TstringList.

呼出 TUtilities::Split(), と Split().

Tstring TRegularExpression::Substitute const Tstring source,
const Tstring substr = "",
Tint  pos = 0
 

TRegularExpression.cc219 行で定義されています。

参照 index(), IsMatch(), size(), Tint, と Tstring.

呼出 TUtilities::Substitute().

Tstring TRegularExpression::SubstituteAll const Tstring source,
const Tstring substr = "",
Tint  pos = 0
 

TRegularExpression.cc232 行で定義されています。

参照 index(), IsMatch(), size(), Tint, と Tstring.

呼出 TUtilities::SubstituteAll().


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

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