CL_RegExpMatch Class Reference
[clanRegExp Regular Expressions]

Regular Expression match. More...

#include <regexp_match.h>

List of all members.

Public Member Functions

Construction
 CL_RegExpMatch ()
 CL_RegExpMatch (const CL_RegExpMatch &other)
 Constructs a RegExpMatch.
 ~CL_RegExpMatch ()
Attributes
const int * get_vector () const
int * get_vector ()
 Get Vector.
int get_vector_size () const
 Get Vector size.
CL_StringRef8 get_capture (const char *subject, int capture) const
 Get capture.
CL_StringRef8 get_capture (const CL_StringRef8 &subject, int capture) const
 Get capture.
int get_capture_pos (int capture) const
 Get capture pos.
int get_capture_length (int capture) const
 Get capture length.
int get_capture_end (int capture) const
 Get capture end.
int get_captures_count () const
 Get Captures count.
bool is_partial () const
 Is Partial.
bool is_match () const
 Is Match.
Operations
CL_RegExpMatchoperator= (const CL_RegExpMatch &other)
void set_vector_size (int size)
 Set vector size.
void set_captures_count (int count)
 Set captures count.
void set_partial_match (bool partial)
 Set partial match.


Detailed Description

Regular Expression match.


Constructor & Destructor Documentation

CL_RegExpMatch::CL_RegExpMatch  ) 
 

CL_RegExpMatch::CL_RegExpMatch const CL_RegExpMatch other  ) 
 

Constructs a RegExpMatch.

Parameters:
other = Reg Exp Match

CL_RegExpMatch::~CL_RegExpMatch  ) 
 


Member Function Documentation

CL_StringRef8 CL_RegExpMatch::get_capture const CL_StringRef8 subject,
int  capture
const
 

Get capture.

Parameters:
subject = String Ref8
capture = value
Returns:
String Ref8

CL_StringRef8 CL_RegExpMatch::get_capture const char *  subject,
int  capture
const
 

Get capture.

Parameters:
subject = char
capture = value
Returns:
String Ref8

int CL_RegExpMatch::get_capture_end int  capture  )  const
 

Get capture end.

Parameters:
capture = value
Returns:
int

int CL_RegExpMatch::get_capture_length int  capture  )  const
 

Get capture length.

Parameters:
capture = value
Returns:
int

int CL_RegExpMatch::get_capture_pos int  capture  )  const
 

Get capture pos.

Parameters:
capture = value
Returns:
int

int CL_RegExpMatch::get_captures_count  )  const
 

Get Captures count.

Returns:
captures_count

int* CL_RegExpMatch::get_vector  ) 
 

Get Vector.

Returns:
vector

const int* CL_RegExpMatch::get_vector  )  const
 

int CL_RegExpMatch::get_vector_size  )  const
 

Get Vector size.

Returns:
vector_size

bool CL_RegExpMatch::is_match  )  const
 

Is Match.

Returns:
true = match

bool CL_RegExpMatch::is_partial  )  const
 

Is Partial.

Returns:
true = partial

CL_RegExpMatch& CL_RegExpMatch::operator= const CL_RegExpMatch other  ) 
 

void CL_RegExpMatch::set_captures_count int  count  ) 
 

Set captures count.

Parameters:
count = value

void CL_RegExpMatch::set_partial_match bool  partial  ) 
 

Set partial match.

Parameters:
partial = bool

void CL_RegExpMatch::set_vector_size int  size  ) 
 

Set vector size.

Parameters:
size = value


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:40 2009 for ClanLib by  doxygen 1.4.6