TRegexp Class Reference

#include <TRegexp.h>

List of all members.

Public Types

enum  EStatVal
enum  EStatVal

Public Member Functions

 TRegexp (const char *re, Bool_t wildcard=kFALSE)
 TRegexp (const TString &re)
 TRegexp (const TRegexp &re)
virtual ~TRegexp ()
TRegexpoperator= (const TRegexp &re)
TRegexpoperator= (const TString &re)
TRegexpoperator= (const char *re)
Ssiz_t Index (const TString &str, Ssiz_t *len, Ssiz_t start=0) const
EStatVal Status ()
 TRegexp (const char *re, Bool_t wildcard=kFALSE)
 TRegexp (const TString &re)
 TRegexp (const TRegexp &re)
virtual ~TRegexp ()
TRegexpoperator= (const TRegexp &re)
TRegexpoperator= (const TString &re)
TRegexpoperator= (const char *re)
Ssiz_t Index (const TString &str, Ssiz_t *len, Ssiz_t start=0) const
EStatVal Status ()

Private Member Functions

void CopyPattern (const TRegexp &re)
void GenPattern (const char *re)
const char * MakeWildcard (const char *re)
void CopyPattern (const TRegexp &re)
void GenPattern (const char *re)
const char * MakeWildcard (const char *re)

Private Attributes

Pattern_tfPattern
EStatVal fStat
Pattern_tfPattern

Static Private Attributes

static const unsigned fgMaxpat


Detailed Description

Definition at line 35 of file TRegexp.h.


Member Enumeration Documentation

enum TRegexp::EStatVal

Definition at line 38 of file TRegexp.h.

enum TRegexp::EStatVal

Definition at line 38 of file TRegexp.h.


Constructor & Destructor Documentation

TRegexp::TRegexp ( const char *  re,
Bool_t  wildcard = kFALSE 
)

TRegexp::TRegexp ( const TString re  ) 

Definition at line 55 of file TRegexp.cxx.

References TString::Data(), and GenPattern().

TRegexp::TRegexp ( const TRegexp re  ) 

Definition at line 63 of file TRegexp.cxx.

References CopyPattern().

TRegexp::~TRegexp (  )  [virtual]

Definition at line 71 of file TRegexp.cxx.

References fPattern.

TRegexp::TRegexp ( const char *  re,
Bool_t  wildcard = kFALSE 
)

TRegexp::TRegexp ( const TString re  ) 

TRegexp::TRegexp ( const TRegexp re  ) 

virtual TRegexp::~TRegexp (  )  [virtual]


Member Function Documentation

void TRegexp::CopyPattern ( const TRegexp re  )  [private]

Definition at line 120 of file TRegexp.cxx.

References fgMaxpat, fPattern, and fStat.

Referenced by operator=(), and TRegexp().

void TRegexp::GenPattern ( const char *  re  )  [private]

Definition at line 110 of file TRegexp.cxx.

References error, fgMaxpat, fPattern, fStat, kToolong, and Makepat().

Referenced by operator=(), and TRegexp().

const char * TRegexp::MakeWildcard ( const char *  re  )  [private]

Definition at line 130 of file TRegexp.cxx.

References buf, Error, fgMaxpat, i, len, s, and strcpy().

TRegexp & TRegexp::operator= ( const TRegexp re  ) 

Definition at line 78 of file TRegexp.cxx.

References CopyPattern(), and fPattern.

TRegexp & TRegexp::operator= ( const TString re  ) 

Definition at line 100 of file TRegexp.cxx.

References fPattern, GenPattern(), and str.

TRegexp & TRegexp::operator= ( const char *  re  ) 

Definition at line 90 of file TRegexp.cxx.

References fPattern, and GenPattern().

Ssiz_t TRegexp::Index ( const TString str,
Ssiz_t len,
Ssiz_t  start = 0 
) const

Definition at line 199 of file TRegexp.cxx.

References Error, fPattern, fStat, kNPOS, kOK, Matchs(), and s.

Referenced by TDataSetManagerFile::BrowseDataSets(), TAuthenticate::CheckHost(), TSystem::CompileMacro(), TMLPAnalyzer::GatherInformations(), and TNeuron::UseBranch().

TRegexp::EStatVal TRegexp::Status (  ) 

Definition at line 223 of file TRegexp.cxx.

References fStat, and kOK.

Referenced by RooMapCatEntry::ok(), and RooMappedCategory::Entry::ok().

void TRegexp::CopyPattern ( const TRegexp re  )  [private]

void TRegexp::GenPattern ( const char *  re  )  [private]

const char* TRegexp::MakeWildcard ( const char *  re  )  [private]

TRegexp& TRegexp::operator= ( const TRegexp re  ) 

TRegexp& TRegexp::operator= ( const TString re  ) 

TRegexp& TRegexp::operator= ( const char *  re  ) 

Ssiz_t TRegexp::Index ( const TString str,
Ssiz_t len,
Ssiz_t  start = 0 
) const

EStatVal TRegexp::Status (  ) 


Member Data Documentation

Pattern_t* TRegexp::fPattern [private]

Definition at line 41 of file TRegexp.h.

Referenced by CopyPattern(), GenPattern(), Index(), operator=(), and ~TRegexp().

EStatVal TRegexp::fStat [private]

Definition at line 42 of file TRegexp.h.

Referenced by CopyPattern(), GenPattern(), Index(), and Status().

static const unsigned TRegexp::fgMaxpat [static, private]

Definition at line 43 of file TRegexp.h.

Referenced by CopyPattern(), GenPattern(), and MakeWildcard().

Pattern_t* TRegexp::fPattern [private]

Definition at line 41 of file TRegexp.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:46:10 2011 for ROOT_528-00b_version by  doxygen 1.5.1