Tanl Linguistic Pipeline

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.


Member Function Documentation

size_t Tanl::Text::RegExp::MatchGroups::size (  )  [inline]
Returns:
the number of matches found.

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.