GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::regexp::match_data Class Reference

#include "lo-regexp.h"

Inheritance diagram for octave::regexp::match_data:
Collaboration diagram for octave::regexp::match_data:

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 (const match_data &)=default
 
 match_data (const std::list< match_element > &l, const string_vector &np)
 
 match_data (void)
 
 ~match_data (void)=default
 
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) const
 
match_dataoperator= (const match_data &)=default
 
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
 

Protected Attributes

std::list< match_elementm_lst
 

Private Attributes

string_vector m_named_pats
 

Detailed Description

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

Member Typedef Documentation

◆ const_iterator

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

◆ const_reverse_iterator

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

◆ iterator

typedef std::list<match_element >::iterator octave::base_list< match_element >::iterator
inherited

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

◆ reverse_iterator

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

Constructor & Destructor Documentation

◆ match_data() [1/3]

octave::regexp::match_data::match_data ( void  )
inline

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

◆ match_data() [2/3]

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

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

◆ match_data() [3/3]

octave::regexp::match_data::match_data ( const match_data )
default

◆ ~match_data()

octave::regexp::match_data::~match_data ( void  )
default

Member Function Documentation

◆ append()

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

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

◆ back() [1/2]

match_element & octave::base_list< match_element >::back ( void  )
inlineinherited

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

◆ back() [2/2]

const match_element & octave::base_list< match_element >::back ( void  ) const
inlineinherited

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

◆ begin() [1/2]

iterator octave::base_list< match_element >::begin ( void  )
inlineinherited

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

◆ begin() [2/2]

const_iterator octave::base_list< match_element >::begin ( void  ) const
inlineinherited

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

◆ clear()

void octave::base_list< match_element >::clear ( void  )
inlineinherited

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

◆ empty()

bool octave::base_list< match_element >::empty ( void  ) const
inlineinherited

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

◆ end() [1/2]

iterator octave::base_list< match_element >::end ( void  )
inlineinherited

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

◆ end() [2/2]

const_iterator octave::base_list< match_element >::end ( void  ) const
inlineinherited

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

◆ erase()

iterator octave::base_list< match_element >::erase ( iterator  pos)
inlineinherited

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

◆ front() [1/2]

match_element & octave::base_list< match_element >::front ( void  )
inlineinherited

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

◆ front() [2/2]

const match_element & octave::base_list< match_element >::front ( void  ) const
inlineinherited

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

◆ length()

size_t octave::base_list< match_element >::length ( void  ) const
inlineinherited

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

◆ named_patterns()

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

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

Referenced by octregexp().

◆ operator=()

match_data& octave::regexp::match_data::operator= ( const match_data )
default

◆ pop_back()

void octave::base_list< match_element >::pop_back ( void  )
inlineinherited

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

◆ pop_front()

void octave::base_list< match_element >::pop_front ( void  )
inlineinherited

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

◆ push_back()

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

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

◆ push_front()

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

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

◆ rbegin() [1/2]

reverse_iterator octave::base_list< match_element >::rbegin ( void  )
inlineinherited

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

◆ rbegin() [2/2]

const_reverse_iterator octave::base_list< match_element >::rbegin ( void  ) const
inlineinherited

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

◆ remove_if()

void octave::base_list< match_element >::remove_if ( pred)
inlineinherited

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

◆ rend() [1/2]

reverse_iterator octave::base_list< match_element >::rend ( void  )
inlineinherited

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

◆ rend() [2/2]

const_reverse_iterator octave::base_list< match_element >::rend ( void  ) const
inlineinherited

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

◆ size()

size_t octave::base_list< match_element >::size ( void  ) const
inlineinherited

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

Member Data Documentation

◆ m_lst

std::list<match_element > octave::base_list< match_element >::m_lst
protectedinherited

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

◆ m_named_pats

string_vector octave::regexp::match_data::m_named_pats
private

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


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