Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

RML_RE Class Reference

#include <pcre_rml.h>

Collaboration diagram for RML_RE:
Collaboration graph
[legend]

List of all members.

Classes

Public Types

Public Member Functions

Static Public Member Functions

Protected Member Functions

Protected Attributes


Member Typedef Documentation

typedef pcrecpp::StringPiece RML_RE::StringPiece
typedef pcrecpp::RE_Options RML_RE::RE_Options

Member Enumeration Documentation

Enumerator:
UNANCHORED 
ANCHOR_START 
ANCHOR_BOTH 

Constructor & Destructor Documentation

RML_RE::RML_RE ( void   )  [inline]
RML_RE::RML_RE ( const string &  pat  )  [inline]

References Init().

Here is the call graph for this function:

RML_RE::RML_RE ( const string &  pat,
const Options opts 
) [inline]

References Init().

Here is the call graph for this function:

RML_RE::RML_RE ( const string &  pat,
const vector< BYTE > &  RegExpTables 
) [inline]

References Init(), opts_, and RML_RE::Options::tableptr_.

Here is the call graph for this function:

RML_RE::RML_RE ( const RML_RE re  )  [inline]

References Init(), and pattern_.

Here is the call graph for this function:

RML_RE::~RML_RE (  )  [inline]

References clear().

Here is the call graph for this function:


Member Function Documentation

void RML_RE::operator= ( const RML_RE re  )  [inline]

References clear(), Init(), opts_, and pattern_.

Here is the call graph for this function:

void RML_RE::clear (  ) 

References error_, pattern_, re_full_, and re_partial_.

Referenced by operator=(), pattern(), and ~RML_RE().

Here is the caller graph for this function:

const string& RML_RE::pattern (  )  const [inline]

References pattern_.

void RML_RE::pattern ( const string &  pattern  )  [inline]

References clear(), and Init().

Here is the call graph for this function:

const string& RML_RE::error (  )  const [inline]

References error_.

Referenced by MorphoWizard::find_lemm(), and MorphoWizard::find_wordforms().

Here is the caller graph for this function:

bool RML_RE::FullMatch ( const StringPiece text,
const Arg ptr1 = no_arg,
const Arg ptr2 = no_arg,
const Arg ptr3 = no_arg,
const Arg ptr4 = no_arg,
const Arg ptr5 = no_arg,
const Arg ptr6 = no_arg,
const Arg ptr7 = no_arg,
const Arg ptr8 = no_arg,
const Arg ptr9 = no_arg,
const Arg ptr10 = no_arg,
const Arg ptr11 = no_arg,
const Arg ptr12 = no_arg,
const Arg ptr13 = no_arg,
const Arg ptr14 = no_arg,
const Arg ptr15 = no_arg,
const Arg ptr16 = no_arg 
) const

References ANCHOR_BOTH, DoMatchImpl(), and no_arg.

Here is the call graph for this function:

bool RML_RE::PartialMatch ( const StringPiece text,
const Arg ptr1 = no_arg,
const Arg ptr2 = no_arg,
const Arg ptr3 = no_arg,
const Arg ptr4 = no_arg,
const Arg ptr5 = no_arg,
const Arg ptr6 = no_arg,
const Arg ptr7 = no_arg,
const Arg ptr8 = no_arg,
const Arg ptr9 = no_arg,
const Arg ptr10 = no_arg,
const Arg ptr11 = no_arg,
const Arg ptr12 = no_arg,
const Arg ptr13 = no_arg,
const Arg ptr14 = no_arg,
const Arg ptr15 = no_arg,
const Arg ptr16 = no_arg 
) const

References DoMatchImpl(), no_arg, and UNANCHORED.

Referenced by MorphoWizard::find_lemm(), MorphoWizard::find_wordforms(), CConcXml::CFreeBiblStringIndex::GetValueForDDCFilter(), and CStringIndexSet::QueryTokenListUsingRegExp().

Here is the call graph for this function:

Here is the caller graph for this function:

bool RML_RE::Consume ( StringPiece input,
const Arg ptr1 = no_arg,
const Arg ptr2 = no_arg,
const Arg ptr3 = no_arg,
const Arg ptr4 = no_arg,
const Arg ptr5 = no_arg,
const Arg ptr6 = no_arg,
const Arg ptr7 = no_arg,
const Arg ptr8 = no_arg,
const Arg ptr9 = no_arg,
const Arg ptr10 = no_arg,
const Arg ptr11 = no_arg,
const Arg ptr12 = no_arg,
const Arg ptr13 = no_arg,
const Arg ptr14 = no_arg,
const Arg ptr15 = no_arg,
const Arg ptr16 = no_arg 
) const

References ANCHOR_START, DoMatchImpl(), and no_arg.

Here is the call graph for this function:

bool RML_RE::FindAndConsume ( StringPiece input,
const Arg ptr1 = no_arg,
const Arg ptr2 = no_arg,
const Arg ptr3 = no_arg,
const Arg ptr4 = no_arg,
const Arg ptr5 = no_arg,
const Arg ptr6 = no_arg,
const Arg ptr7 = no_arg,
const Arg ptr8 = no_arg,
const Arg ptr9 = no_arg,
const Arg ptr10 = no_arg,
const Arg ptr11 = no_arg,
const Arg ptr12 = no_arg,
const Arg ptr13 = no_arg,
const Arg ptr14 = no_arg,
const Arg ptr15 = no_arg,
const Arg ptr16 = no_arg 
) const

References DoMatchImpl(), no_arg, and UNANCHORED.

Here is the call graph for this function:

bool RML_RE::Replace ( const StringPiece rewrite,
string *  str 
) const

References Rewrite(), TryMatch(), and UNANCHORED.

Here is the call graph for this function:

int RML_RE::GlobalReplace ( const StringPiece rewrite,
string *  str 
) const

References Rewrite(), TryMatch(), and UNANCHORED.

Here is the call graph for this function:

bool RML_RE::Extract ( const StringPiece rewrite,
const StringPiece text,
string *  out 
) const

References Rewrite(), TryMatch(), and UNANCHORED.

Here is the call graph for this function:

bool RML_RE::DoMatch ( const StringPiece text,
Anchor  anchor,
int *  consumed,
const Arg *const *  args,
int  n 
) const
int RML_RE::NumberOfCapturingGroups (  ) 

References re_partial_.

bool RML_RE::isComplexPattern ( const std::string &  pat  )  [static]

Referenced by Init().

Here is the caller graph for this function:

void RML_RE::Init ( const string &  pattern  )  [protected]

References ANCHOR_BOTH, Compile(), isComplexPattern(), pattern_, re_full_, re_partial_, and UNANCHORED.

Referenced by operator=(), pattern(), and RML_RE().

Here is the call graph for this function:

Here is the caller graph for this function:

int RML_RE::TryMatch ( const StringPiece text,
int  startpos,
Anchor  anchor,
int *  vec,
int  vecsize 
) const [protected]

References ANCHOR_BOTH, RML_RE::Options::options_, opts_, re_full_, and re_partial_.

Referenced by Extract(), GlobalReplace(), and Replace().

Here is the caller graph for this function:

bool RML_RE::Rewrite ( string *  out,
const StringPiece rewrite,
const StringPiece text,
int *  vec,
int  veclen 
) const [protected]

Referenced by Extract(), GlobalReplace(), and Replace().

Here is the caller graph for this function:

bool RML_RE::DoMatchImpl ( const StringPiece text,
Anchor  anchor,
int *  consumed,
const Arg *const   args[],
int  n,
int *  vec,
int  vecsize 
) const [protected]

Referenced by Consume(), FindAndConsume(), FullMatch(), and PartialMatch().

Here is the caller graph for this function:

pcre * RML_RE::Compile ( Anchor  anchor  )  [protected]

References ANCHOR_BOTH, error_, RML_RE::Options::options_, opts_, pattern_, and RML_RE::Options::tableptr_.

Referenced by Init().

Here is the caller graph for this function:


Member Data Documentation

string RML_RE::pattern_ [protected]
Options RML_RE::opts_ [protected]

Referenced by Compile(), operator=(), RML_RE(), and TryMatch().

pcre* RML_RE::re_full_ [protected]

Referenced by clear(), Init(), and TryMatch().

pcre* RML_RE::re_partial_ [protected]
string RML_RE::error_ [protected]

Referenced by clear(), Compile(), and error().

int RML_RE::match_limit_ [protected]

The documentation for this class was generated from the following files: