#include "pt-tm-const.h"
Public Types | |
typedef std::list< tm_row_const >::const_iterator | const_iterator |
typedef std::list< tm_row_const >::iterator | iterator |
Public Member Functions | |
tm_const (const tm_const &)=delete | |
tm_const (const tree_matrix &tm, tree_evaluator &tw) | |
tm_const (void)=delete | |
~tm_const (void)=default | |
bool | all_1x1_p (void) const |
bool | all_complex_p (void) const |
bool | all_dq_strings_p (void) const |
bool | all_empty_p (void) const |
bool | all_real_p (void) const |
bool | all_sq_strings_p (void) const |
bool | all_strings_p (void) const |
bool | any_cell_p (void) const |
bool | any_class_p (void) const |
bool | any_sparse_p (void) const |
std::string | class_name (void) const |
octave_idx_type | cols (void) const |
octave_value | concat (char string_fill_char) const |
dim_vector | dims (void) const |
bool | first_elem_struct_p (void) const |
tm_const & | operator= (const tm_const &)=delete |
octave_idx_type | rows (void) const |
bool | some_strings_p (void) const |
Protected Attributes | |
bool | m_all_1x1 |
bool | m_all_complex |
bool | m_all_dq_strings |
bool | m_all_empty |
bool | m_all_real |
bool | m_all_sq_strings |
bool | m_all_strings |
bool | m_any_cell |
bool | m_any_class |
bool | m_any_sparse |
std::string | m_class_name |
dim_vector | m_dv |
bool | m_first_elem_is_struct |
bool | m_some_strings |
Private Member Functions | |
template<typename TYPE > | |
TYPE | array_concat (void) const |
template<typename TYPE > | |
void | array_concat_internal (TYPE &result) const |
octave_value | char_array_concat (char string_fill_char) const |
octave_value | class_concat (void) const |
octave_value | generic_concat (void) const |
void | init (const tree_matrix &tm) |
template<typename MAP > | |
octave_map | map_concat (void) const |
template<typename TYPE > | |
TYPE | sparse_array_concat (void) const |
Private Attributes | |
tree_evaluator & | m_evaluator |
std::list< tm_row_const > | m_tm_rows |
Definition at line 187 of file pt-tm-const.h.
typedef std::list<tm_row_const>::const_iterator octave::tm_const::const_iterator |
Definition at line 192 of file pt-tm-const.h.
typedef std::list<tm_row_const>::iterator octave::tm_const::iterator |
Definition at line 191 of file pt-tm-const.h.
|
delete |
|
inline |
Definition at line 196 of file pt-tm-const.h.
References init().
|
delete |
|
default |
|
inlineinherited |
Definition at line 95 of file pt-tm-const.h.
References octave::tm_info::m_all_1x1.
Referenced by array_concat(), and init().
|
inlineinherited |
Definition at line 90 of file pt-tm-const.h.
References octave::tm_info::m_all_complex.
Referenced by init().
|
inlineinherited |
Definition at line 87 of file pt-tm-const.h.
References octave::tm_info::m_all_dq_strings.
Referenced by init().
|
inlineinherited |
Definition at line 91 of file pt-tm-const.h.
References octave::tm_info::m_all_empty.
Referenced by init().
|
inlineinherited |
Definition at line 89 of file pt-tm-const.h.
References octave::tm_info::m_all_real.
Referenced by init().
|
inlineinherited |
Definition at line 86 of file pt-tm-const.h.
References octave::tm_info::m_all_sq_strings.
Referenced by init().
|
inlineinherited |
Definition at line 85 of file pt-tm-const.h.
References octave::tm_info::m_all_strings.
Referenced by init().
|
inlineinherited |
Definition at line 92 of file pt-tm-const.h.
References octave::tm_info::m_any_cell.
Referenced by init().
|
inlineinherited |
Definition at line 94 of file pt-tm-const.h.
References octave::tm_info::m_any_class.
Referenced by init().
|
inlineinherited |
Definition at line 93 of file pt-tm-const.h.
References octave::tm_info::m_any_sparse.
Referenced by init().
|
private |
Definition at line 593 of file pt-tm-const.cc.
References octave::tm_info::all_1x1_p(), dim_vector::any_zero(), octave::tm_row_const::length(), octave::tm_info::m_dv, m_tm_rows, and OCTAVE_LOCAL_BUFFER.
|
private |
Definition at line 560 of file pt-tm-const.cc.
|
private |
Definition at line 413 of file pt-tm-const.cc.
References octave::tm_info::m_all_dq_strings, octave::tm_info::m_dv, and octave_value().
Referenced by concat().
|
private |
Definition at line 424 of file pt-tm-const.cc.
References do_class_concat(), m_tm_rows, retval, and octave::tm_info::rows().
Referenced by concat().
|
inlineinherited |
Definition at line 98 of file pt-tm-const.h.
References octave::tm_info::m_class_name.
|
inlineinherited |
Definition at line 83 of file pt-tm-const.h.
References octave::tm_info::m_dv.
Referenced by init().
octave_value octave::tm_const::concat | ( | char | string_fill_char | ) | const |
Definition at line 217 of file pt-tm-const.cc.
References char_array_concat(), class_concat(), generic_concat(), octave::tm_info::m_all_1x1, octave::tm_info::m_all_dq_strings, octave::tm_info::m_all_real, octave::tm_info::m_all_sq_strings, octave::tm_info::m_all_strings, octave::tm_info::m_any_class, octave::tm_info::m_any_sparse, octave::tm_info::m_class_name, m_tm_rows, octave::maybe_warn_string_concat(), and warn_implicit_conversion().
Referenced by octave::tree_matrix::evaluate().
|
inlineinherited |
Definition at line 80 of file pt-tm-const.h.
References octave::tm_info::m_dv.
|
inlineinherited |
Definition at line 96 of file pt-tm-const.h.
References octave::tm_info::m_first_elem_is_struct.
Referenced by init().
|
private |
Definition at line 457 of file pt-tm-const.cc.
References octave_value::all_zero_dims(), octave_base_value::columns(), do_cat_op(), octave::tree_evaluator::get_interpreter(), octave::interpreter::get_type_info(), octave::tm_info::m_all_empty, octave::tm_info::m_all_real, octave::tm_info::m_any_sparse, octave::tm_info::m_dv, m_evaluator, octave::tm_info::m_some_strings, m_tm_rows, dim_vector::ndims(), ra_idx, octave_value::resize(), octave_base_sparse< T >::resize(), retval, and octave_base_value::rows().
Referenced by concat().
|
private |
Definition at line 298 of file pt-tm-const.cc.
References octave::tm_info::all_1x1_p(), octave::tm_info::all_complex_p(), octave::tm_info::all_dq_strings_p(), octave::tm_info::all_empty_p(), octave::tm_info::all_real_p(), octave::tm_info::all_sq_strings_p(), octave::tm_info::all_strings_p(), octave::tm_info::any_cell_p(), octave::tm_info::any_class_p(), octave::tm_info::any_sparse_p(), dim_vector::any_zero(), octave::tm_info::cols(), octave::tm_row_const::empty(), eval_error(), octave::tm_info::first_elem_struct_p(), octave::get_concat_class(), dim_vector::hvcat(), octave::tm_info::m_all_1x1, octave::tm_info::m_all_complex, octave::tm_info::m_all_dq_strings, octave::tm_info::m_all_empty, octave::tm_info::m_all_real, octave::tm_info::m_all_sq_strings, octave::tm_info::m_all_strings, octave::tm_info::m_any_cell, octave::tm_info::m_any_class, octave::tm_info::m_any_sparse, octave::tm_info::m_class_name, octave::tm_info::m_dv, m_evaluator, octave::tm_info::m_some_strings, m_tm_rows, dim_vector::ndims(), and octave::tm_info::some_strings_p().
Referenced by tm_const().
|
private |
Definition at line 675 of file pt-tm-const.cc.
References dim_vector::any_zero(), octave_map::cat(), octave::tm_info::m_dv, m_tm_rows, and OCTAVE_LOCAL_BUFFER.
|
inlineinherited |
Definition at line 82 of file pt-tm-const.h.
References octave::tm_info::m_dv.
Referenced by class_concat().
|
inlineinherited |
Definition at line 88 of file pt-tm-const.h.
References octave::tm_info::m_some_strings.
Referenced by init().
|
private |
Definition at line 641 of file pt-tm-const.cc.
References dim_vector::any_zero(), octave::tm_info::m_dv, m_tm_rows, and OCTAVE_LOCAL_BUFFER.
|
protectedinherited |
Definition at line 136 of file pt-tm-const.h.
Referenced by octave::tm_info::all_1x1_p(), concat(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 121 of file pt-tm-const.h.
Referenced by octave::tm_info::all_complex_p(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 112 of file pt-tm-const.h.
Referenced by octave::tm_info::all_dq_strings_p(), char_array_concat(), concat(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 124 of file pt-tm-const.h.
Referenced by octave::tm_info::all_empty_p(), generic_concat(), octave::tm_row_const::init(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 118 of file pt-tm-const.h.
Referenced by octave::tm_info::all_real_p(), concat(), generic_concat(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 109 of file pt-tm-const.h.
Referenced by octave::tm_info::all_sq_strings_p(), concat(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 106 of file pt-tm-const.h.
Referenced by octave::tm_info::all_strings_p(), concat(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 127 of file pt-tm-const.h.
Referenced by octave::tm_info::any_cell_p(), octave::tm_row_const::init(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 133 of file pt-tm-const.h.
Referenced by octave::tm_info::any_class_p(), concat(), octave::tm_row_const::init(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 130 of file pt-tm-const.h.
Referenced by octave::tm_info::any_sparse_p(), concat(), generic_concat(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 142 of file pt-tm-const.h.
Referenced by octave::tm_info::class_name(), concat(), init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 103 of file pt-tm-const.h.
Referenced by array_concat(), octave::tm_row_const::cellify(), char_array_concat(), octave::tm_info::cols(), octave::tm_info::dims(), generic_concat(), octave::tm_row_const::init(), init(), map_concat(), octave::tm_info::rows(), and sparse_array_concat().
|
private |
Definition at line 214 of file pt-tm-const.h.
Referenced by generic_concat(), and init().
|
protectedinherited |
Definition at line 139 of file pt-tm-const.h.
Referenced by octave::tm_info::first_elem_struct_p(), octave::tm_row_const::init(), and octave::tm_row_const::init_element().
|
protectedinherited |
Definition at line 115 of file pt-tm-const.h.
Referenced by generic_concat(), init(), octave::tm_row_const::init_element(), and octave::tm_info::some_strings_p().
|
private |
Definition at line 220 of file pt-tm-const.h.
Referenced by array_concat(), array_concat_internal(), class_concat(), concat(), generic_concat(), init(), map_concat(), and sparse_array_concat().