GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
text_element_list Class Reference

#include "text-engine.h"

Inheritance diagram for text_element_list:
Collaboration diagram for text_element_list:

Public Types

typedef std::list< text_element * >::const_iterator const_iterator
 
typedef std::list< text_element * >::const_reverse_iterator const_reverse_iterator
 
typedef std::list< text_element * >::iterator iterator
 
typedef std::list< text_element * >::reverse_iterator reverse_iterator
 

Public Member Functions

 text_element_list (text_element *e)
 
 text_element_list (void)
 
 ~text_element_list (void)
 
void accept (text_processor &p)
 
void append (const text_element * &s)
 
text_element * & back (void)
 
const text_element * & back (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)
 
text_element * & front (void)
 
const text_element * & front (void) const
 
std::size_t length (void) const
 
void pop_back (void)
 
void pop_front (void)
 
void push_back (const text_element * &s)
 
void push_front (const text_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
 
std::size_t size (void) const
 

Protected Attributes

std::list< text_element * > m_lst
 

Detailed Description

Definition at line 113 of file text-engine.h.

Member Typedef Documentation

◆ const_iterator

typedef std::list<text_element * >::const_iterator base_list< text_element * >::const_iterator
inherited

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<text_element * >::iterator base_list< text_element * >::iterator
inherited

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

◆ reverse_iterator

typedef std::list<text_element * >::reverse_iterator base_list< text_element * >::reverse_iterator
inherited

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

Constructor & Destructor Documentation

◆ text_element_list() [1/2]

text_element_list::text_element_list ( void  )
inline

Definition at line 119 of file text-engine.h.

◆ text_element_list() [2/2]

text_element_list::text_element_list ( text_element e)
inline

Definition at line 122 of file text-engine.h.

◆ ~text_element_list()

text_element_list::~text_element_list ( void  )
inline

Definition at line 128 of file text-engine.h.

Member Function Documentation

◆ accept()

void text_element_list::accept ( text_processor p)
inlinevirtual

Implements text_element.

Reimplemented in text_element_combined.

Definition at line 380 of file text-engine.h.

◆ append()

void base_list< text_element * >::append ( const elt_type &  s)
inlineinherited

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

◆ back() [1/2]

text_element * & base_list< text_element * >::back ( void  )
inlineinherited

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

◆ back() [2/2]

const text_element * & base_list< text_element * >::back ( void  ) const
inlineinherited

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

◆ begin() [1/2]

iterator base_list< text_element * >::begin ( void  )
inlineinherited

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

◆ begin() [2/2]

const_iterator base_list< text_element * >::begin ( void  ) const
inlineinherited

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

◆ clear()

void base_list< text_element * >::clear ( void  )
inlineinherited

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

◆ empty()

bool base_list< text_element * >::empty ( void  ) const
inlineinherited

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

◆ end() [1/2]

iterator base_list< text_element * >::end ( void  )
inlineinherited

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

◆ end() [2/2]

const_iterator base_list< text_element * >::end ( void  ) const
inlineinherited

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

◆ erase()

iterator base_list< text_element * >::erase ( iterator  pos)
inlineinherited

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

◆ front() [1/2]

text_element * & base_list< text_element * >::front ( void  )
inlineinherited

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

◆ front() [2/2]

const text_element * & base_list< text_element * >::front ( void  ) const
inlineinherited

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

◆ length()

std::size_t base_list< text_element * >::length ( void  ) const
inlineinherited

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

◆ pop_back()

void base_list< text_element * >::pop_back ( void  )
inlineinherited

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

◆ pop_front()

void base_list< text_element * >::pop_front ( void  )
inlineinherited

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

◆ push_back()

void base_list< text_element * >::push_back ( const elt_type &  s)
inlineinherited

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

◆ push_front()

void base_list< text_element * >::push_front ( const elt_type &  s)
inlineinherited

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

◆ rbegin() [1/2]

reverse_iterator base_list< text_element * >::rbegin ( void  )
inlineinherited

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

◆ rbegin() [2/2]

const_reverse_iterator base_list< text_element * >::rbegin ( void  ) const
inlineinherited

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

◆ remove_if()

void base_list< text_element * >::remove_if ( pred)
inlineinherited

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

◆ rend() [1/2]

reverse_iterator base_list< text_element * >::rend ( void  )
inlineinherited

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

◆ rend() [2/2]

const_reverse_iterator base_list< text_element * >::rend ( void  ) const
inlineinherited

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

◆ size()

std::size_t base_list< text_element * >::size ( void  ) const
inlineinherited

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

Member Data Documentation

◆ m_lst

std::list<text_element * > base_list< text_element * >::m_lst
protectedinherited

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


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