GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
regexp::match_data Class Reference

#include "lo-regexp.h"

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

Public Types

typedef std::list
< match_element >
::const_iterator 
const_iterator
typedef std::list
< match_element >
::const_reverse_iterator 
const_reverse_iterator
typedef std::list
< match_element >::iterator 
iterator
typedef std::list
< match_element >
::reverse_iterator 
reverse_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
iterator end (void)
const_iterator end (void) const
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)
reverse_iterator rbegin (void)
const_reverse_iterator rbegin (void) const
void remove_if (P pred)
reverse_iterator rend (void)
const_reverse_iterator rend (void) const
size_t size (void) const

Private Attributes

string_vector named_pats

Detailed Description

Definition at line 186 of file lo-regexp.h.

Member Typedef Documentation

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

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

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

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

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

Constructor & Destructor Documentation

regexp::match_data::match_data ( void  )
inline

Definition at line 190 of file lo-regexp.h.

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

Definition at line 194 of file lo-regexp.h.

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

Definition at line 198 of file lo-regexp.h.

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

Definition at line 214 of file lo-regexp.h.

Member Function Documentation

void octave_base_list< match_element >::append ( const match_element &  s)
inlineinherited

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

match_element & octave_base_list< match_element >::back ( void  )
inlineinherited

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

const match_element & octave_base_list< match_element >::back ( void  ) const
inlineinherited

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

iterator octave_base_list< match_element >::begin ( void  )
inlineinherited

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

const_iterator octave_base_list< match_element >::begin ( void  ) const
inlineinherited

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

void octave_base_list< match_element >::clear ( void  )
inlineinherited

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

bool octave_base_list< match_element >::empty ( void  ) const
inlineinherited

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

iterator octave_base_list< match_element >::end ( void  )
inlineinherited

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

const_iterator octave_base_list< match_element >::end ( void  ) const
inlineinherited

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

iterator octave_base_list< match_element >::erase ( iterator  pos)
inlineinherited

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

match_element & octave_base_list< match_element >::front ( void  )
inlineinherited

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

const match_element & octave_base_list< match_element >::front ( void  ) const
inlineinherited

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

size_t octave_base_list< match_element >::length ( void  ) const
inlineinherited

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

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

Definition at line 216 of file lo-regexp.h.

Referenced by octregexp().

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

Definition at line 203 of file lo-regexp.h.

References named_pats.

void octave_base_list< match_element >::pop_back ( void  )
inlineinherited

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

void octave_base_list< match_element >::pop_front ( void  )
inlineinherited

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

void octave_base_list< match_element >::push_back ( const match_element &  s)
inlineinherited

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

void octave_base_list< match_element >::push_front ( const match_element &  s)
inlineinherited

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

reverse_iterator octave_base_list< match_element >::rbegin ( void  )
inlineinherited

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

const_reverse_iterator octave_base_list< match_element >::rbegin ( void  ) const
inlineinherited

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

void octave_base_list< match_element >::remove_if ( pred)
inlineinherited

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

reverse_iterator octave_base_list< match_element >::rend ( void  )
inlineinherited

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

const_reverse_iterator octave_base_list< match_element >::rend ( void  ) const
inlineinherited

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

size_t octave_base_list< match_element >::size ( void  ) const
inlineinherited

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

Member Data Documentation

string_vector regexp::match_data::named_pats
private

Definition at line 220 of file lo-regexp.h.

Referenced by operator=().


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