Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CL_RegExpMatch Class Reference

#include <regexp_match.h>

List of all members.

Public Member Functions

 CL_RegExpMatch ()
 Construction:.
 CL_RegExpMatch (const CL_RegExpMatch &other)
 ~CL_RegExpMatch ()
const int * get_vector () const
 Attributes:.
int * get_vector ()
int get_vector_size () const
int get_capture_pos (int capture) const
int get_capture_length (int capture) const
int get_capture_end (int capture) const
int get_captures_count () const
bool is_partial () const
bool is_match () const
CL_RegExpMatchoperator= (const CL_RegExpMatch &other)
 Operations:.
void set_vector_size (int size)
void set_captures_count (int count)
void set_partial_match (bool partial)

Private Attributes

int * vector
 Implementation:.
int size
int allocated
int captures_count
bool partial


Constructor & Destructor Documentation

CL_RegExpMatch::CL_RegExpMatch  ) 
 

Construction:.

Definition at line 35 of file regexp_match.cpp.

CL_RegExpMatch::CL_RegExpMatch const CL_RegExpMatch other  ) 
 

Definition at line 40 of file regexp_match.cpp.

References captures_count, partial, set_vector_size(), size, and vector.

CL_RegExpMatch::~CL_RegExpMatch  ) 
 

Definition at line 49 of file regexp_match.cpp.

References vector.


Member Function Documentation

int CL_RegExpMatch::get_capture_end int  capture  )  const
 

Definition at line 86 of file regexp_match.cpp.

References captures_count, and vector.

int CL_RegExpMatch::get_capture_length int  capture  )  const
 

Definition at line 79 of file regexp_match.cpp.

References captures_count, and vector.

Referenced by CL_MimePart::get_content_description(), CL_MimePart::get_content_id(), CL_MimePart::get_content_transfer_encoding(), CL_MimePart::get_content_type(), CL_MimePart::get_content_type_parameter_value(), CL_MimePart::get_content_type_parameters(), CL_MimePart::get_header_line(), CL_MimePart::get_header_lines_count(), CL_MimePart::has_content_type_parameter(), and CL_MimePart::load().

int CL_RegExpMatch::get_capture_pos int  capture  )  const
 

Definition at line 72 of file regexp_match.cpp.

References captures_count, and vector.

Referenced by CL_MimePart::get_content_description(), CL_MimePart::get_content_id(), CL_MimePart::get_content_transfer_encoding(), CL_MimePart::get_content_type(), CL_MimePart::get_content_type_parameter_value(), CL_MimePart::get_content_type_parameters(), CL_MimePart::get_header_line(), CL_MimePart::get_header_lines_count(), CL_MimePart::has_content_type_parameter(), and CL_MimePart::load().

int CL_RegExpMatch::get_captures_count  )  const
 

Definition at line 93 of file regexp_match.cpp.

References captures_count.

int * CL_RegExpMatch::get_vector  ) 
 

Definition at line 62 of file regexp_match.cpp.

References vector.

const int * CL_RegExpMatch::get_vector  )  const
 

Attributes:.

Definition at line 57 of file regexp_match.cpp.

References vector.

int CL_RegExpMatch::get_vector_size  )  const
 

Definition at line 67 of file regexp_match.cpp.

References size.

bool CL_RegExpMatch::is_match  )  const
 

Definition at line 103 of file regexp_match.cpp.

References captures_count.

Referenced by CL_MimePart::get_content_description(), CL_MimePart::get_content_id(), CL_MimePart::get_content_transfer_encoding(), CL_MimePart::get_content_type(), CL_MimePart::get_content_type_parameter_value(), CL_MimePart::get_content_type_parameters(), CL_MimePart::get_header_line(), CL_MimePart::get_header_lines_count(), CL_MimePart::has_content_description(), CL_MimePart::has_content_id(), CL_MimePart::has_content_type(), CL_MimePart::has_content_type_parameter(), and CL_MimePart::load().

bool CL_RegExpMatch::is_partial  )  const
 

Definition at line 98 of file regexp_match.cpp.

References partial.

Referenced by CL_MimePart::load().

CL_RegExpMatch & CL_RegExpMatch::operator= const CL_RegExpMatch other  ) 
 

Operations:.

Definition at line 111 of file regexp_match.cpp.

References captures_count, partial, set_vector_size(), size, and vector.

void CL_RegExpMatch::set_captures_count int  count  ) 
 

Definition at line 133 of file regexp_match.cpp.

References captures_count.

Referenced by CL_RegExp::search().

void CL_RegExpMatch::set_partial_match bool  partial  ) 
 

Definition at line 138 of file regexp_match.cpp.

References partial.

Referenced by CL_RegExp::search().

void CL_RegExpMatch::set_vector_size int  size  ) 
 

Definition at line 120 of file regexp_match.cpp.

References allocated, captures_count, partial, size, and vector.

Referenced by CL_RegExpMatch(), operator=(), and CL_RegExp::search().


Member Data Documentation

int CL_RegExpMatch::allocated [private]
 

Definition at line 78 of file regexp_match.h.

Referenced by set_vector_size().

int CL_RegExpMatch::captures_count [private]
 

Definition at line 80 of file regexp_match.h.

Referenced by CL_RegExpMatch(), get_capture_end(), get_capture_length(), get_capture_pos(), get_captures_count(), is_match(), operator=(), set_captures_count(), and set_vector_size().

bool CL_RegExpMatch::partial [private]
 

Definition at line 82 of file regexp_match.h.

Referenced by CL_RegExpMatch(), is_partial(), operator=(), set_partial_match(), and set_vector_size().

int CL_RegExpMatch::size [private]
 

Definition at line 76 of file regexp_match.h.

Referenced by CL_RegExpMatch(), get_vector_size(), operator=(), and set_vector_size().

int* CL_RegExpMatch::vector [private]
 

Implementation:.

Definition at line 74 of file regexp_match.h.

Referenced by CL_RegExpMatch(), get_capture_end(), get_capture_length(), get_capture_pos(), get_vector(), operator=(), set_vector_size(), and ~CL_RegExpMatch().


The documentation for this class was generated from the following files:
Generated on Sat Feb 19 22:51:18 2005 for npcore by  doxygen 1.4.1