GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "base-list.h"
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_list & | operator= (const octave_base_list &bl) |
Private Attributes | |
std::list< elt_type > | lst |
Definition at line 31 of file base-list.h.
typedef std::list<elt_type>::const_iterator octave_base_list< elt_type >::const_iterator |
Definition at line 37 of file base-list.h.
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.
typedef std::list<elt_type>::iterator octave_base_list< elt_type >::iterator |
Definition at line 36 of file base-list.h.
typedef std::list<elt_type>::reverse_iterator octave_base_list< elt_type >::reverse_iterator |
Definition at line 39 of file base-list.h.
|
inlineprotected |
Definition at line 109 of file base-list.h.
|
inlineprotected |
Definition at line 111 of file base-list.h.
|
inlineprotected |
Definition at line 113 of file base-list.h.
|
inlineprotected |
Definition at line 124 of file base-list.h.
|
inline |
Reimplemented in octave_comment_list.
Definition at line 105 of file base-list.h.
Referenced by octave_comment_list::append(), tree_parameter_list::dup(), tree_if_command_list::dup(), tree_return_list::dup(), tree_decl_init_list::dup(), tree_statement_list::dup(), and tree_switch_case_list::dup().
|
inline |
Definition at line 93 of file base-list.h.
Referenced by octave_user_function::maybe_relocate_end_internal(), and jit_convert::visit_if_command_list().
|
inline |
Definition at line 96 of file base-list.h.
|
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().
|
inline |
Definition at line 79 of file base-list.h.
|
inline |
Definition at line 76 of file base-list.h.
|
inline |
Definition at line 42 of file base-list.h.
Referenced by tm_const::init(), octave_user_function::maybe_relocate_end_internal(), and tree_matrix::rvalue1().
|
inline |
Definition at line 81 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(), lennob(), octave_fcn_binder::maybe_binder(), octregexp(), tree_print_code::print_comment_list(), jit_convert::resolve(), 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_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().
|
inline |
Definition at line 82 of file base-list.h.
|
inline |
Definition at line 47 of file base-list.h.
|
inline |
Definition at line 92 of file base-list.h.
Referenced by jit_convert::jit_convert(), octave_fcn_binder::maybe_binder(), tree_print_code::print_fcn_handle_body(), single_type_concat(), octave_user_function::special_expr(), and octave_user_function::subsasgn_optimization_ok().
|
inline |
Definition at line 95 of file base-list.h.
|
inline |
Definition at line 45 of file base-list.h.
Referenced by DEFUN(), do_class_concat(), octave_fcn_binder::maybe_binder(), octave_oncleanup::octave_oncleanup(), tree_print_code::print_fcn_handle_body(), tree_index_expression::rvalue(), single_type_concat(), octave_user_function::special_expr(), octave_user_function::subsasgn_optimization_ok(), tree_checker::visit_complex_for_command(), tree_print_code::visit_multi_assignment(), and tree_print_code::visit_octave_user_function_header().
|
inlineprotected |
Definition at line 115 of file base-list.h.
|
inline |
Definition at line 102 of file base-list.h.
|
inline |
Definition at line 101 of file base-list.h.
|
inline |
Definition at line 99 of file base-list.h.
|
inline |
Definition at line 98 of file base-list.h.
|
inline |
Definition at line 84 of file base-list.h.
Referenced by octave_user_function::maybe_relocate_end_internal().
|
inline |
Definition at line 85 of file base-list.h.
|
inline |
Definition at line 50 of file base-list.h.
Referenced by octave_child_list::remove().
|
inline |
Definition at line 88 of file base-list.h.
Referenced by octave_user_function::maybe_relocate_end_internal().
|
inline |
Definition at line 89 of file base-list.h.
|
inline |
Definition at line 44 of file base-list.h.
Referenced by regexp::is_match(), jit_convert::jit_convert(), octregexp(), regexp::replace(), jit_convert::resolve(), and jit_convert::visit_if_command_list().
|
private |
Definition at line 128 of file base-list.h.
Referenced by octave_base_list< tree_index_expression * >::operator=().