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

クラス 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 (const Tstring &source, Tint index=0, Tint pos=0)
TstringList GetSubMatches (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?


Enum の解説

anonymous enum
 

Enum 値:
DEFAULT 
IOPTION 


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

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

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

TRegularExpression::TRegularExpression const TRegularExpression &    right
 

TRegularExpression::~TRegularExpression  
 


メソッドの解説

Tvoid TRegularExpression::Compile  
 

const Tregex_t * TRegularExpression::GetCompiledPattern   [inline]
 

const Tregmatch_t * TRegularExpression::GetMatch   [inline]
 

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

Tint TRegularExpression::GetNumberOfSubMatches   [inline]
 

Tint TRegularExpression::GetOption   [inline]
 

const Tstring & TRegularExpression::GetPattern   [inline]
 

const Tregmatch_t * TRegularExpression::GetSubMatch   [inline]
 

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

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

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

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

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

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

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

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

Tbool TRegularExpression::operator!= const Tstring   right
 

const TRegularExpression& TRegularExpression::operator= const Tstring   right
 

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

Tbool TRegularExpression::operator== const Tstring   right
 

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

Tvoid TRegularExpression::SetPattern const Tstring   pattern [inline]
 

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

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

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

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

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

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

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


このクラスの解説は次のファイルから生成されました:
CLDAQ - a Class Library for Data AcQuisition (Version 1.11.0)
Go IWAI <goiwai@users.sourceforge.jp>