#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 tm_const::const_iterator |
Definition at line 192 of file pt-tm-const.h.
typedef std::list<tm_row_const>::iterator 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 tm_info::m_all_1x1.
Referenced by array_concat(), and init().
|
inlineinherited |
Definition at line 90 of file pt-tm-const.h.
References tm_info::m_all_complex.
Referenced by init().
|
inlineinherited |
Definition at line 87 of file pt-tm-const.h.
References tm_info::m_all_dq_strings.
Referenced by init().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 86 of file pt-tm-const.h.
References tm_info::m_all_sq_strings.
Referenced by init().
|
inlineinherited |
Definition at line 85 of file pt-tm-const.h.
References tm_info::m_all_strings.
Referenced by init().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 93 of file pt-tm-const.h.
References tm_info::m_any_sparse.
Referenced by init().
|
private |
Definition at line 593 of file pt-tm-const.cc.
References tm_info::all_1x1_p(), dim_vector::any_zero(), tm_row_const::length(), tm_info::m_dv, m_tm_rows, OCTAVE_LOCAL_BUFFER, and panic_unless().
|
private |
Definition at line 560 of file pt-tm-const.cc.
|
private |
Definition at line 413 of file pt-tm-const.cc.
References tm_info::m_all_dq_strings, 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, and tm_info::rows().
Referenced by concat().
|
inlineinherited |
Definition at line 98 of file pt-tm-const.h.
References tm_info::m_class_name.
|
inlineinherited |
octave_value 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(), tm_info::m_all_1x1, tm_info::m_all_dq_strings, tm_info::m_all_real, tm_info::m_all_sq_strings, tm_info::m_all_strings, tm_info::m_any_class, tm_info::m_any_sparse, tm_info::m_class_name, m_tm_rows, Matrix, maybe_warn_string_concat(), and warn_implicit_conversion().
Referenced by tree_matrix::evaluate().
|
inlineinherited |
Definition at line 80 of file pt-tm-const.h.
References tm_info::m_dv.
|
inlineinherited |
Definition at line 96 of file pt-tm-const.h.
References 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(), cat_op(), octave_base_value::columns(), octave_value::convert_to_str(), tree_evaluator::get_interpreter(), interpreter::get_type_info(), octave_value::is_string(), tm_info::m_all_empty, tm_info::m_all_real, tm_info::m_any_sparse, tm_info::m_dv, m_evaluator, tm_info::m_some_strings, m_tm_rows, dim_vector::ndims(), ra_idx, octave_value::resize(), octave_base_sparse< T >::resize(), and octave_base_value::rows().
Referenced by concat().
|
private |
Definition at line 298 of file pt-tm-const.cc.
References tm_info::all_1x1_p(), tm_info::all_complex_p(), tm_info::all_dq_strings_p(), tm_info::all_empty_p(), tm_info::all_real_p(), tm_info::all_sq_strings_p(), tm_info::all_strings_p(), tm_info::any_cell_p(), tm_info::any_class_p(), tm_info::any_sparse_p(), dim_vector::any_zero(), tm_info::cols(), tm_row_const::empty(), eval_error(), tm_info::first_elem_struct_p(), get_concat_class(), dim_vector::hvcat(), tm_info::m_all_1x1, tm_info::m_all_complex, tm_info::m_all_dq_strings, tm_info::m_all_empty, tm_info::m_all_real, tm_info::m_all_sq_strings, tm_info::m_all_strings, tm_info::m_any_cell, tm_info::m_any_class, tm_info::m_any_sparse, tm_info::m_class_name, tm_info::m_dv, m_evaluator, tm_info::m_some_strings, m_tm_rows, dim_vector::ndims(), and tm_info::some_strings_p().
Referenced by tm_const().
|
private |
Definition at line 676 of file pt-tm-const.cc.
References dim_vector::any_zero(), octave_map::cat(), tm_info::m_dv, m_tm_rows, and OCTAVE_LOCAL_BUFFER.
|
inlineinherited |
Definition at line 82 of file pt-tm-const.h.
References tm_info::m_dv.
Referenced by class_concat().
|
inlineinherited |
Definition at line 88 of file pt-tm-const.h.
References tm_info::m_some_strings.
Referenced by init().
|
private |
Definition at line 642 of file pt-tm-const.cc.
References dim_vector::any_zero(), tm_info::m_dv, m_tm_rows, and OCTAVE_LOCAL_BUFFER.
|
protectedinherited |
Definition at line 136 of file pt-tm-const.h.
Referenced by tm_info::all_1x1_p(), concat(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 121 of file pt-tm-const.h.
Referenced by tm_info::all_complex_p(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 112 of file pt-tm-const.h.
Referenced by tm_info::all_dq_strings_p(), char_array_concat(), concat(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 124 of file pt-tm-const.h.
Referenced by tm_info::all_empty_p(), generic_concat(), tm_row_const::init(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 118 of file pt-tm-const.h.
Referenced by tm_info::all_real_p(), concat(), generic_concat(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 109 of file pt-tm-const.h.
Referenced by tm_info::all_sq_strings_p(), concat(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 106 of file pt-tm-const.h.
Referenced by tm_info::all_strings_p(), concat(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 127 of file pt-tm-const.h.
Referenced by tm_info::any_cell_p(), tm_row_const::init(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 133 of file pt-tm-const.h.
Referenced by tm_info::any_class_p(), concat(), tm_row_const::init(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 130 of file pt-tm-const.h.
Referenced by tm_info::any_sparse_p(), concat(), generic_concat(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 142 of file pt-tm-const.h.
Referenced by tm_info::class_name(), concat(), init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 103 of file pt-tm-const.h.
Referenced by array_concat(), char_array_concat(), tm_info::cols(), tm_info::dims(), generic_concat(), tm_row_const::init(), init(), map_concat(), 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 tm_info::first_elem_struct_p(), tm_row_const::init(), and tm_row_const::init_element().
|
protectedinherited |
Definition at line 115 of file pt-tm-const.h.
Referenced by generic_concat(), init(), tm_row_const::init_element(), and 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().