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 | Protected Member Functions | Private Attributes | List of all members
octave_base_list< elt_type > Class Template Reference

#include "base-list.h"

Collaboration diagram for octave_base_list< elt_type >:
Collaboration graph
[legend]

Public Types

typedef std::list< elt_type >
::const_iterator 
const_iterator
typedef std::list< elt_type >
::const_reverse_iterator 
const_reverse_iterator
typedef std::list< elt_type >
::iterator 
iterator
typedef std::list< elt_type >
::reverse_iterator 
reverse_iterator

Public Member Functions

void append (const elt_type &s)
elt_type & back (void)
const elt_type & 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)
elt_type & front (void)
const elt_type & front (void) const
size_t length (void) const
void pop_back (void)
void pop_front (void)
void push_back (const elt_type &s)
void push_front (const elt_type &s)
reverse_iterator rbegin (void)
const_reverse_iterator rbegin (void) const
template<class P >
void remove_if (P pred)
reverse_iterator rend (void)
const_reverse_iterator rend (void) const
size_t size (void) const

Protected Member Functions

 octave_base_list (void)
 octave_base_list (const std::list< elt_type > &l)
 octave_base_list (const octave_base_list &bl)
 ~octave_base_list (void)
octave_base_listoperator= (const octave_base_list &bl)

Private Attributes

std::list< elt_type > lst

Detailed Description

template<typename elt_type>
class octave_base_list< elt_type >

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

Member Typedef Documentation

template<typename elt_type>
typedef std::list<elt_type>::const_iterator octave_base_list< elt_type >::const_iterator

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

template<typename elt_type>
typedef std::list<elt_type>::const_reverse_iterator octave_base_list< elt_type >::const_reverse_iterator

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

template<typename elt_type>
typedef std::list<elt_type>::iterator octave_base_list< elt_type >::iterator

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

template<typename elt_type>
typedef std::list<elt_type>::reverse_iterator octave_base_list< elt_type >::reverse_iterator

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

Constructor & Destructor Documentation

template<typename elt_type>
octave_base_list< elt_type >::octave_base_list ( void  )
inlineprotected

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

template<typename elt_type>
octave_base_list< elt_type >::octave_base_list ( const std::list< elt_type > &  l)
inlineprotected

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

template<typename elt_type>
octave_base_list< elt_type >::octave_base_list ( const octave_base_list< elt_type > &  bl)
inlineprotected

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

template<typename elt_type>
octave_base_list< elt_type >::~octave_base_list ( void  )
inlineprotected

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

Member Function Documentation

template<typename elt_type>
void octave_base_list< elt_type >::append ( const elt_type &  s)
inline
template<typename elt_type>
elt_type& octave_base_list< elt_type >::back ( void  )
inline
template<typename elt_type>
const elt_type& octave_base_list< elt_type >::back ( void  ) const
inline

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

template<typename elt_type>
iterator octave_base_list< elt_type >::begin ( void  )
inline

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

Referenced by jit_convert_llvm::convert_function(), tree_array_list::copy_base(), do_class_concat(), tree_evaluator::do_decl_init_list(), tm_row_const::tm_row_const_rep::init(), tm_const::init(), octave_fcn_binder::maybe_binder(), octregexp(), tree_print_code::print_comment_list(), regexp::replace(), jit_convert::resolve(), tree_multi_assignment::rvalue(), tree_matrix::rvalue1(), single_type_concat(), ft_render::visit(), text_processor::visit(), tree_checker::visit_argument_list(), tree_print_code::visit_argument_list(), tree_checker::visit_cell(), tree_print_code::visit_cell(), tree_evaluator::visit_complex_for_command(), tree_checker::visit_decl_init_list(), tree_print_code::visit_decl_init_list(), tree_checker::visit_if_command_list(), tree_evaluator::visit_if_command_list(), tree_breakpoint::visit_if_command_list(), tree_print_code::visit_if_command_list(), jit_convert::visit_if_command_list(), tree_checker::visit_matrix(), tree_print_code::visit_matrix(), tree_checker::visit_parameter_list(), tree_print_code::visit_parameter_list(), tree_checker::visit_return_list(), tree_print_code::visit_return_list(), tree_checker::visit_statement_list(), tree_evaluator::visit_statement_list(), tree_breakpoint::visit_statement_list(), tree_print_code::visit_statement_list(), jit_convert::visit_statement_list(), tree_checker::visit_switch_case_list(), tree_breakpoint::visit_switch_case_list(), tree_print_code::visit_switch_case_list(), and tree_evaluator::visit_switch_command().

template<typename elt_type>
const_iterator octave_base_list< elt_type >::begin ( void  ) const
inline

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

template<typename elt_type>
void octave_base_list< elt_type >::clear ( void  )
inline

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

template<typename elt_type>
bool octave_base_list< elt_type >::empty ( void  ) const
inline
template<typename elt_type>
iterator octave_base_list< elt_type >::end ( void  )
inline
template<typename elt_type>
const_iterator octave_base_list< elt_type >::end ( void  ) const
inline

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

template<typename elt_type>
iterator octave_base_list< elt_type >::erase ( iterator  pos)
inline

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

template<typename elt_type>
elt_type& octave_base_list< elt_type >::front ( void  )
inline
template<typename elt_type>
const elt_type& octave_base_list< elt_type >::front ( void  ) const
inline

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

template<typename elt_type>
size_t octave_base_list< elt_type >::length ( void  ) const
inline
template<typename elt_type>
octave_base_list& octave_base_list< elt_type >::operator= ( const octave_base_list< elt_type > &  bl)
inlineprotected

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

template<typename elt_type>
void octave_base_list< elt_type >::pop_back ( void  )
inline

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

template<typename elt_type>
void octave_base_list< elt_type >::pop_front ( void  )
inline

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

template<typename elt_type>
void octave_base_list< elt_type >::push_back ( const elt_type &  s)
inline

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

template<typename elt_type>
void octave_base_list< elt_type >::push_front ( const elt_type &  s)
inline

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

template<typename elt_type>
reverse_iterator octave_base_list< elt_type >::rbegin ( void  )
inline

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

Referenced by octave_user_function::maybe_relocate_end_internal().

template<typename elt_type>
const_reverse_iterator octave_base_list< elt_type >::rbegin ( void  ) const
inline

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

template<typename elt_type>
template<class P >
void octave_base_list< elt_type >::remove_if ( pred)
inline

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

Referenced by octave_child_list::remove().

template<typename elt_type>
reverse_iterator octave_base_list< elt_type >::rend ( void  )
inline

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

Referenced by octave_user_function::maybe_relocate_end_internal().

template<typename elt_type>
const_reverse_iterator octave_base_list< elt_type >::rend ( void  ) const
inline

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

template<typename elt_type>
size_t octave_base_list< elt_type >::size ( void  ) const
inline

Member Data Documentation

template<typename elt_type>
std::list<elt_type> octave_base_list< elt_type >::lst
private

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

Referenced by octave_base_list< tree_index_expression * >::operator=().


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