#ifndef ROOT_TRegexp
#define ROOT_TRegexp
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_Match
#include "Match.h"
#endif
class TString;
class TRegexp {
public:
enum EStatVal { kOK = 0, kIllegal, kNomem, kToolong };
private:
Pattern_t *fPattern;
EStatVal fStat;
static const unsigned fgMaxpat;
void CopyPattern(const TRegexp& re);
void GenPattern(const char *re);
const char *MakeWildcard(const char *re);
public:
TRegexp(const char *re, Bool_t wildcard = kFALSE);
TRegexp(const TString& re);
TRegexp(const TRegexp& re);
virtual ~TRegexp();
TRegexp& operator=(const TRegexp& re);
TRegexp& operator=(const TString& re);
TRegexp& operator=(const char *re);
Ssiz_t Index(const TString& str, Ssiz_t *len, Ssiz_t start=0) const;
EStatVal Status();
ClassDef(TRegexp,0)
};
#endif
Last change: Wed Jun 25 08:52:09 2008
Last generated: 2008-06-25 08:52
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.