Public Types | Public Member Functions | Private Attributes

regexp::match_data Class Reference

#include "regexp.h"

Inheritance diagram for regexp::match_data:
Inheritance graph
[legend]
Collaboration diagram for regexp::match_data:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::list
< match_element >
::const_iterator 
const_iterator
typedef std::list
< match_element >::iterator 
iterator

Public Member Functions

 match_data (void)
 match_data (const std::list< match_element > &l, const string_vector &np)
 match_data (const match_data &rx_lst)
 ~match_data (void)
void append (const match_element &s)
match_elementback (void)
const match_elementback (void) const
iterator begin (void)
const_iterator begin (void) const
void clear (void)
bool empty (void) const
const_iterator end (void) const
iterator end (void)
iterator erase (iterator pos)
match_elementfront (void)
const match_elementfront (void) const
size_t length (void) const
string_vector named_patterns (void)
match_dataoperator= (const match_data &rx_lst)
void pop_back (void)
void pop_front (void)
void push_back (const match_element &s)
void push_front (const match_element &s)
void remove_if (P pred)
size_t size (void) const

Private Attributes

string_vector named_pats

Detailed Description

Definition at line 178 of file regexp.h.


Member Typedef Documentation

Definition at line 35 of file base-list.h.

typedef std::list<match_element >::iterator octave_base_list< match_element >::iterator [inherited]

Definition at line 34 of file base-list.h.


Constructor & Destructor Documentation

regexp::match_data::match_data ( void   )  [inline]

Definition at line 182 of file regexp.h.

regexp::match_data::match_data ( const std::list< match_element > &  l,
const string_vector np 
) [inline]

Definition at line 186 of file regexp.h.

regexp::match_data::match_data ( const match_data rx_lst  )  [inline]

Definition at line 190 of file regexp.h.

regexp::match_data::~match_data ( void   )  [inline]

Definition at line 206 of file regexp.h.


Member Function Documentation

void octave_base_list< match_element >::append ( const match_element &  s  )  [inline, inherited]

Definition at line 88 of file base-list.h.

match_element & octave_base_list< match_element >::back ( void   )  [inline, inherited]

Definition at line 76 of file base-list.h.

const match_element & octave_base_list< match_element >::back ( void   )  const [inline, inherited]

Definition at line 79 of file base-list.h.

const_iterator octave_base_list< match_element >::begin ( void   )  const [inline, inherited]

Definition at line 70 of file base-list.h.

iterator octave_base_list< match_element >::begin ( void   )  [inline, inherited]

Definition at line 69 of file base-list.h.

void octave_base_list< match_element >::clear ( void   )  [inline, inherited]

Definition at line 67 of file base-list.h.

bool octave_base_list< match_element >::empty ( void   )  const [inline, inherited]

Definition at line 37 of file base-list.h.

iterator octave_base_list< match_element >::end ( void   )  [inline, inherited]

Definition at line 72 of file base-list.h.

const_iterator octave_base_list< match_element >::end ( void   )  const [inline, inherited]

Definition at line 73 of file base-list.h.

iterator octave_base_list< match_element >::erase ( iterator  pos  )  [inline, inherited]

Definition at line 42 of file base-list.h.

match_element & octave_base_list< match_element >::front ( void   )  [inline, inherited]

Definition at line 75 of file base-list.h.

const match_element & octave_base_list< match_element >::front ( void   )  const [inline, inherited]

Definition at line 78 of file base-list.h.

size_t octave_base_list< match_element >::length ( void   )  const [inline, inherited]

Definition at line 40 of file base-list.h.

string_vector regexp::match_data::named_patterns ( void   )  [inline]

Definition at line 208 of file regexp.h.

References named_pats.

Referenced by octregexp().

match_data& regexp::match_data::operator= ( const match_data rx_lst  )  [inline]

Definition at line 195 of file regexp.h.

References named_pats.

void octave_base_list< match_element >::pop_back ( void   )  [inline, inherited]

Definition at line 85 of file base-list.h.

void octave_base_list< match_element >::pop_front ( void   )  [inline, inherited]

Definition at line 84 of file base-list.h.

void octave_base_list< match_element >::push_back ( const match_element &  s  )  [inline, inherited]

Definition at line 82 of file base-list.h.

void octave_base_list< match_element >::push_front ( const match_element &  s  )  [inline, inherited]

Definition at line 81 of file base-list.h.

void octave_base_list< match_element >::remove_if ( pred  )  [inline, inherited]

Definition at line 45 of file base-list.h.

size_t octave_base_list< match_element >::size ( void   )  const [inline, inherited]

Definition at line 39 of file base-list.h.


Member Data Documentation

Definition at line 212 of file regexp.h.

Referenced by named_patterns(), and operator=().


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines