DeSR Dependency Parser

Tanl::Text::RegExp::MatchGroups Class Reference

Holds the offsets of matching regular expressions. More...

#include <RegExp.h>

List of all members.

Public Member Functions

 MatchGroups (int size)
size_t size ()
std::pair< int, int > & operator[] (int i)
 Access indidual matches, consisting of a pair of integer positions <start, end>.


Detailed Description

Holds the offsets of matching regular expressions.

Definition at line 71 of file RegExp.h.


Member Function Documentation

size_t Tanl::Text::RegExp::MatchGroups::size (  )  [inline]

Returns:
the number of matches found.

Definition at line 81 of file RegExp.h.

Referenced by Tanl::Text::RegExp::Pattern::match().


The documentation for this class was generated from the following file:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.