#include <iosfwd>
#include "oct-cmplx.h"
#include "intNDArray.h"
#include "oct-inttypes.h"
Go to the source code of this file.
Functions | |
OCTINTERP_API void | octave_print_internal (std::ostream &os, bool d, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const Cell &cell, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const octave_int< uint64_t > &sa, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const octave_int< int64_t > &sa, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const octave_int< uint32_t > &sa, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const octave_int< int32_t > &sa, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const octave_int< uint16_t > &sa, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const octave_int< int16_t > &sa, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const octave_int< uint8_t > &sa, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const octave_int< int8_t > &sa, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const intNDArray< octave_int8 > &sa, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const Array< std::string > &sa, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const std::string &s, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const charNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const charMatrix &chm, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const boolNDArray &m, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const boolMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const Range &r, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const PermMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const FloatComplexNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const ComplexNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const FloatComplexDiagMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const FloatComplexMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const ComplexDiagMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const ComplexMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const Complex &c, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const FloatNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const NDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const FloatDiagMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const FloatMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const DiagMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const Matrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, float d, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, double d, bool pr_as_read_syntax=false) |
Variables | |
bool | Vcompact_format |
bool | Vprint_empty_dimensions |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
bool | d, | |||
bool | pr_as_read_syntax = false | |||
) |
Definition at line 2575 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const Cell & | cell, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 , |
|||
bool | pr_as_string = false | |||
) |
Definition at line 3366 of file pr-output.cc.
References panic_impossible.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const octave_int< uint64_t > & | sa, | |||
bool | pr_as_read_syntax = false | |||
) |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const octave_int< int64_t > & | sa, | |||
bool | pr_as_read_syntax = false | |||
) |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const octave_int< uint32_t > & | sa, | |||
bool | pr_as_read_syntax = false | |||
) |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const octave_int< int32_t > & | sa, | |||
bool | pr_as_read_syntax = false | |||
) |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const octave_int< uint16_t > & | sa, | |||
bool | pr_as_read_syntax = false | |||
) |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const octave_int< int16_t > & | sa, | |||
bool | pr_as_read_syntax = false | |||
) |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const octave_int< uint8_t > & | sa, | |||
bool | pr_as_read_syntax = false | |||
) |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const octave_int< int8_t > & | sa, | |||
bool | pr_as_read_syntax = false | |||
) |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const intNDArray< octave_int8 > & | sa, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const Array< std::string > & | sa, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2853 of file pr-output.cc.
References Array< T >::dims(), increment_index(), Array< T >::index(), Array< T >::is_empty(), Array< T >::length(), Array< T >::ndims(), print_empty_nd_array(), and Vcompact_format.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const std::string & | s, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2844 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const charNDArray & | nda, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 , |
|||
bool | pr_as_string = false | |||
) |
Definition at line 2824 of file pr-output.cc.
References charNDArray::matrix_value(), Array< T >::ndims(), octave_print_internal(), and print_nd_array().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const charMatrix & | chm, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 , |
|||
bool | pr_as_string = false | |||
) |
Definition at line 2777 of file pr-output.cc.
References charMatrix::row_as_string(), Array< T >::rows(), and undo_string_escapes().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const boolNDArray & | m, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2757 of file pr-output.cc.
References boolNDArray::matrix_value(), Array< T >::ndims(), octave_print_internal(), and print_nd_array().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const boolMatrix & | m, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2748 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const Range & | r, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2638 of file pr-output.cc.
References Range::base(), free_format, Range::inc(), Range::limit(), Range::nelem(), plus_format, pr_col_num_header(), pr_float(), pr_plus_format(), pr_scale_header(), scale(), set_format(), command_editor::terminal_cols(), and Vsplit_long_rows.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const PermMatrix & | m, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2422 of file pr-output.cc.
References PermMatrix::columns(), free_format, PermMatrix::is_col_perm(), plus_format, pr_col_num_header(), pr_plus_format(), print_empty_matrix(), PermMatrix::pvec(), PermMatrix::rows(), command_editor::terminal_cols(), Vcompact_format, and Vsplit_long_rows.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const FloatComplexNDArray & | nda, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2631 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const ComplexNDArray & | nda, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2556 of file pr-output.cc.
References ComplexNDArray::matrix_value(), Array< T >::ndims(), octave_print_internal(), and print_nd_array().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const FloatComplexDiagMatrix & | cm, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2624 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const FloatComplexMatrix & | cm, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2617 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const ComplexDiagMatrix & | cm, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2275 of file pr-output.cc.
References bank_format, DiagArray2< T >::columns(), ComplexDiagMatrix::diag(), free_format, plus_format, pr_col_num_header(), pr_complex(), pr_plus_format(), pr_scale_header(), print_empty_matrix(), rat_format, DiagArray2< T >::rows(), scale(), set_format(), command_editor::terminal_cols(), Vcompact_format, and Vsplit_long_rows.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const ComplexMatrix & | cm, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2139 of file pr-output.cc.
References bank_format, Array< T >::columns(), free_format, plus_format, pr_col_num_header(), pr_complex(), pr_plus_format(), pr_scale_header(), print_empty_matrix(), rat_format, Array< T >::rows(), scale(), set_format(), command_editor::terminal_cols(), and Vsplit_long_rows.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const Complex & | c, | |||
bool | pr_as_read_syntax = false | |||
) |
Definition at line 2610 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const FloatNDArray & | nda, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2603 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const NDArray & | nda, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2083 of file pr-output.cc.
References NDArray::matrix_value(), Array< T >::ndims(), and octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const FloatDiagMatrix & | m, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2596 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const FloatMatrix & | m, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 2589 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const DiagMatrix & | m, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 1861 of file pr-output.cc.
References DiagArray2< T >::columns(), DiagMatrix::diag(), free_format, plus_format, pr_col_num_header(), pr_float(), pr_plus_format(), pr_scale_header(), print_empty_matrix(), DiagArray2< T >::rows(), scale(), set_format(), command_editor::terminal_cols(), Vcompact_format, and Vsplit_long_rows.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
const Matrix & | m, | |||
bool | pr_as_read_syntax = false , |
|||
int | extra_indent = 0 | |||
) |
Definition at line 1727 of file pr-output.cc.
References Array< T >::columns(), free_format, plus_format, pr_col_num_header(), pr_float(), pr_plus_format(), pr_scale_header(), print_empty_matrix(), Array< T >::rows(), scale(), set_format(), command_editor::terminal_cols(), and Vsplit_long_rows.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
float | d, | |||
bool | pr_as_read_syntax = false | |||
) |
Definition at line 2583 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, | |
double | d, | |||
bool | pr_as_read_syntax = false | |||
) |
Definition at line 1709 of file pr-output.cc.
References free_format, plus_format, pr_float(), pr_plus_format(), and set_format().
Referenced by DEFUN_DLD(), octave_print_internal(), octave_char_matrix_str::print_raw(), octave_matrix::print_raw(), octave_range::print_raw(), octave_perm_matrix::print_raw(), octave_float_matrix::print_raw(), octave_float_complex_matrix::print_raw(), octave_fcn_inline::print_raw(), octave_fcn_handle::print_raw(), octave_complex_matrix::print_raw(), octave_char_matrix::print_raw(), octave_bool_matrix::print_raw(), octave_base_sparse< T >::print_raw(), octave_base_scalar< ST >::print_raw(), octave_base_int_matrix< T >::print_raw(), and octave_base_diag< DMT, MT >::print_raw().
Definition at line 106 of file pr-output.cc.
Referenced by init_format_state(), octave_print_internal(), octave_print_internal_template(), pr_col_num_header(), pr_scale_header(), octave_range::print_name_tag(), octave_class::print_name_tag(), octave_base_value::print_name_tag(), octave_scalar_struct::print_raw(), octave_base_value::print_with_name(), and set_format_style().
Definition at line 75 of file pr-output.cc.
Referenced by print_empty_matrix(), print_empty_nd_array(), and octave_cell::print_raw().