ARB
Public Member Functions | List of all members
RegMatch Class Reference

#include <RegExpr.hxx>

Public Member Functions

bool didMatch () const
 
 RegMatch ()
 
 RegMatch (size_t start_, size_t behind_last_)
 
size_t pos () const
 
size_t len () const
 
size_t posBehindMatch () const
 
std::string extract (const std::string &s) const
 

Detailed Description

Definition at line 32 of file RegExpr.hxx.

Constructor & Destructor Documentation

RegMatch::RegMatch ( )
inline

Definition at line 39 of file RegExpr.hxx.

RegMatch::RegMatch ( size_t  start_,
size_t  behind_last_ 
)
inline

Definition at line 40 of file RegExpr.hxx.

References re_assert.

Member Function Documentation

bool RegMatch::didMatch ( ) const
inline

Definition at line 37 of file RegExpr.hxx.

Referenced by clear_comment_cb(), extract(), and mp_file2list().

size_t RegMatch::pos ( ) const
inline

Definition at line 49 of file RegExpr.hxx.

Referenced by References::add_dbid(), and extract().

size_t RegMatch::len ( ) const
inline

Definition at line 50 of file RegExpr.hxx.

Referenced by extract().

size_t RegMatch::posBehindMatch ( ) const
inline

Definition at line 52 of file RegExpr.hxx.

Referenced by References::add_dbid().

std::string RegMatch::extract ( const std::string s) const
inline

Definition at line 54 of file RegExpr.hxx.

References didMatch(), len(), pos(), and re_assert.

Referenced by References::add_dbid(), and mp_file2list().


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