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

#include "pt-tm-const.h"

Inheritance diagram for tm_const:
Collaboration diagram for tm_const:

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_constoperator= (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_evaluatorm_evaluator
 
std::list< tm_row_constm_tm_rows
 

Detailed Description

Definition at line 187 of file pt-tm-const.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 192 of file pt-tm-const.h.

◆ iterator

Definition at line 191 of file pt-tm-const.h.

Constructor & Destructor Documentation

◆ tm_const() [1/3]

tm_const::tm_const ( void  )
delete

◆ tm_const() [2/3]

tm_const::tm_const ( const tree_matrix tm,
tree_evaluator tw 
)
inline

Definition at line 196 of file pt-tm-const.h.

References init().

◆ tm_const() [3/3]

tm_const::tm_const ( const tm_const )
delete

◆ ~tm_const()

tm_const::~tm_const ( void  )
default

Member Function Documentation

◆ all_1x1_p()

bool tm_info::all_1x1_p ( void  ) const
inlineinherited

Definition at line 95 of file pt-tm-const.h.

References tm_info::m_all_1x1.

Referenced by array_concat(), and init().

◆ all_complex_p()

bool tm_info::all_complex_p ( void  ) const
inlineinherited

Definition at line 90 of file pt-tm-const.h.

References tm_info::m_all_complex.

Referenced by init().

◆ all_dq_strings_p()

bool tm_info::all_dq_strings_p ( void  ) const
inlineinherited

Definition at line 87 of file pt-tm-const.h.

References tm_info::m_all_dq_strings.

Referenced by init().

◆ all_empty_p()

bool tm_info::all_empty_p ( void  ) const
inlineinherited

Definition at line 91 of file pt-tm-const.h.

References tm_info::m_all_empty.

Referenced by init().

◆ all_real_p()

bool tm_info::all_real_p ( void  ) const
inlineinherited

Definition at line 89 of file pt-tm-const.h.

References tm_info::m_all_real.

Referenced by init().

◆ all_sq_strings_p()

bool tm_info::all_sq_strings_p ( void  ) const
inlineinherited

Definition at line 86 of file pt-tm-const.h.

References tm_info::m_all_sq_strings.

Referenced by init().

◆ all_strings_p()

bool tm_info::all_strings_p ( void  ) const
inlineinherited

Definition at line 85 of file pt-tm-const.h.

References tm_info::m_all_strings.

Referenced by init().

◆ any_cell_p()

bool tm_info::any_cell_p ( void  ) const
inlineinherited

Definition at line 92 of file pt-tm-const.h.

References tm_info::m_any_cell.

Referenced by init().

◆ any_class_p()

bool tm_info::any_class_p ( void  ) const
inlineinherited

Definition at line 94 of file pt-tm-const.h.

References tm_info::m_any_class.

Referenced by init().

◆ any_sparse_p()

bool tm_info::any_sparse_p ( void  ) const
inlineinherited

Definition at line 93 of file pt-tm-const.h.

References tm_info::m_any_sparse.

Referenced by init().

◆ array_concat()

template<typename TYPE >
TYPE tm_const::array_concat ( void  ) const
private

◆ array_concat_internal()

template<typename TYPE >
void tm_const::array_concat_internal ( TYPE &  result) const
private

Definition at line 560 of file pt-tm-const.cc.

References m_tm_rows, and r.

◆ char_array_concat()

octave_value tm_const::char_array_concat ( char  string_fill_char) const
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().

◆ class_concat()

octave_value tm_const::class_concat ( void  ) const
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().

◆ class_name()

std::string tm_info::class_name ( void  ) const
inlineinherited

Definition at line 98 of file pt-tm-const.h.

References tm_info::m_class_name.

◆ cols()

octave_idx_type tm_info::cols ( void  ) const
inlineinherited

Definition at line 83 of file pt-tm-const.h.

References tm_info::m_dv.

Referenced by init().

◆ concat()

◆ dims()

dim_vector tm_info::dims ( void  ) const
inlineinherited

Definition at line 80 of file pt-tm-const.h.

References tm_info::m_dv.

◆ first_elem_struct_p()

bool tm_info::first_elem_struct_p ( void  ) const
inlineinherited

Definition at line 96 of file pt-tm-const.h.

References tm_info::m_first_elem_is_struct.

Referenced by init().

◆ generic_concat()

◆ init()

◆ map_concat()

template<typename MAP >
octave_map tm_const::map_concat ( void  ) const
private

◆ operator=()

tm_const& tm_const::operator= ( const tm_const )
delete

◆ rows()

octave_idx_type tm_info::rows ( void  ) const
inlineinherited

Definition at line 82 of file pt-tm-const.h.

References tm_info::m_dv.

Referenced by class_concat().

◆ some_strings_p()

bool tm_info::some_strings_p ( void  ) const
inlineinherited

Definition at line 88 of file pt-tm-const.h.

References tm_info::m_some_strings.

Referenced by init().

◆ sparse_array_concat()

template<typename TYPE >
TYPE tm_const::sparse_array_concat ( void  ) const
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.

Member Data Documentation

◆ m_all_1x1

bool tm_info::m_all_1x1
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().

◆ m_all_complex

bool tm_info::m_all_complex
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().

◆ m_all_dq_strings

bool tm_info::m_all_dq_strings
protectedinherited

◆ m_all_empty

bool tm_info::m_all_empty
protectedinherited

◆ m_all_real

bool tm_info::m_all_real
protectedinherited

◆ m_all_sq_strings

bool tm_info::m_all_sq_strings
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().

◆ m_all_strings

bool tm_info::m_all_strings
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().

◆ m_any_cell

bool tm_info::m_any_cell
protectedinherited

◆ m_any_class

bool tm_info::m_any_class
protectedinherited

◆ m_any_sparse

bool tm_info::m_any_sparse
protectedinherited

◆ m_class_name

std::string tm_info::m_class_name
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().

◆ m_dv

◆ m_evaluator

tree_evaluator& tm_const::m_evaluator
private

Definition at line 214 of file pt-tm-const.h.

Referenced by generic_concat(), and init().

◆ m_first_elem_is_struct

bool tm_info::m_first_elem_is_struct
protectedinherited

◆ m_some_strings

bool tm_info::m_some_strings
protectedinherited

◆ m_tm_rows

std::list<tm_row_const> tm_const::m_tm_rows
private

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