GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iostream>
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "mxarray.h"
#include "oct-lvalue.h"
#include "oct-hdf5.h"
#include "ov-struct.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "Array-util.h"
#include "oct-locbuf.h"
#include "byte-swap.h"
#include "ls-oct-ascii.h"
#include "ls-oct-binary.h"
#include "ls-hdf5.h"
#include "ls-utils.h"
#include "pr-output.h"
Go to the source code of this file.
Variables | |
static bool | Vprint_struct_array_contents = false |
static int | Vstruct_levels_to_print = 2 |
OCTAVE_EXPORT octave_value_list F__fieldnames__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 2009 of file ov-struct.cc.
References arg(), octave_map::fieldnames(), Array< T >::length(), and octave_value::map_value().
OCTAVE_EXPORT octave_value_list Fcell2struct | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 2148 of file ov-struct.cc.
References idx_vector::colon, Array< T >::dims(), error(), error_state, Cell::index(), octave_value::length(), max(), Array< T >::ndims(), Array< T >::numel(), print_usage(), dim_vector::redim(), Cell::reshape(), and octave_map::setfield().
octave_value_list Fcellstr | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1391 of file ov-cell.cc.
References error(), error_state, Fiscellstr(), Array< T >::is_empty(), is_true(), and print_usage().
Referenced by Frmfield().
OCTAVE_EXPORT octave_value_list Fisfield | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 2038 of file ov-struct.cc.
References Array< T >::dims(), octave_map::isfield(), octave_value::length(), and print_usage().
OCTAVE_EXPORT octave_value_list Fisstruct | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1989 of file ov-struct.cc.
References octave_value::is_map(), and print_usage().
OCTAVE_EXPORT octave_value_list Fnumfields | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 2094 of file ov-struct.cc.
References octave_value::length(), and print_usage().
OCTAVE_EXPORT octave_value_list Fprint_struct_array_contents | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 2361 of file ov-struct.cc.
References SET_INTERNAL_VARIABLE.
OCTAVE_EXPORT octave_value_list Frmfield | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 2270 of file ov-struct.cc.
References octave_value_list::cell_value(), error(), error_state, Fcellstr(), octave_map::isfield(), octave_value::length(), Array< T >::numel(), print_usage(), and octave_map::rmfield().
OCTAVE_EXPORT octave_value_list Fstruct | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1836 of file ov-struct.cc.
References Array< T >::dims(), error(), error_state, octave_value::length(), octave_value::map_value(), maybe_warn_invalid_field_name(), octave_value(), scalar(), and octave_map::setfield().
OCTAVE_EXPORT octave_value_list Fstruct_levels_to_print | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 2338 of file ov-struct.cc.
References max(), and SET_INTERNAL_VARIABLE_WITH_LIMITS.
Referenced by maximum_braindamage().
|
static |
Definition at line 115 of file ov-struct.cc.
References error().
Referenced by octave_struct::subsasgn(), and octave_scalar_struct::subsasgn().
|
static |
Definition at line 103 of file ov-struct.cc.
References error().
Referenced by octave_struct::subsasgn().
|
static |
Definition at line 109 of file ov-struct.cc.
References error().
Referenced by octave_struct::subsasgn(), and octave_struct::subsref().
|
static |
Definition at line 121 of file ov-struct.cc.
References valid_identifier(), and warning_with_id().
Referenced by octave_scalar_struct::dotref(), Fstruct(), octave_struct::subsasgn(), and octave_scalar_struct::subsasgn().
|
static |
Definition at line 736 of file ov-struct.cc.
References dim_vector::length().
Referenced by octave_base_scalar< bool >::all(), octave_scalar::any(), octave_float_complex::any(), octave_float_scalar::any(), octave_complex::any(), octave_base_scalar< bool >::any(), octave_scalar::array_value(), octave_float_scalar::array_value(), octave_bool::array_value(), OCTAVE_VALUE_INT_SCALAR_T::array_value(), OCTAVE_VALUE_INT_SCALAR_T::as_mxArray(), octave_float_complex::bool_array_value(), octave_complex::bool_array_value(), octave_bool::bool_array_value(), octave_scalar::bool_array_value(), octave_float_scalar::bool_array_value(), OCTAVE_VALUE_INT_SCALAR_T::bool_array_value(), octave_bool::bool_matrix_value(), octave_float_complex::bool_value(), octave_complex::bool_value(), octave_scalar::bool_value(), octave_float_scalar::bool_value(), octave_bool::bool_value(), OCTAVE_VALUE_INT_SCALAR_T::bool_value(), octave_scalar::char_array_value(), octave_float_scalar::char_array_value(), octave_bool::char_array_value(), OCTAVE_VALUE_INT_SCALAR_T::char_array_value(), octave_bool::complex_array_value(), octave_scalar::complex_array_value(), octave_float_scalar::complex_array_value(), OCTAVE_VALUE_INT_SCALAR_T::complex_array_value(), octave_bool::complex_matrix_value(), octave_scalar::complex_matrix_value(), octave_float_scalar::complex_matrix_value(), OCTAVE_VALUE_INT_SCALAR_T::complex_matrix_value(), octave_bool::complex_value(), octave_scalar::complex_value(), octave_float_scalar::complex_value(), octave_base_int_scalar< T >::convert_to_str_internal(), octave_float_complex::decrement(), octave_complex::decrement(), octave_scalar::decrement(), octave_float_scalar::decrement(), OCTAVE_VALUE_INT_SCALAR_T::decrement(), octave_base_scalar< ST >::diag(), jit_paren_subsref::do_initialize(), octave_scalar::double_value(), octave_float_scalar::double_value(), octave_bool::double_value(), OCTAVE_VALUE_INT_SCALAR_T::double_value(), octave_base_scalar< ST >::fast_elem_extract(), octave_base_scalar< ST >::fast_elem_insert_self(), octave_scalar::float_array_value(), octave_float_scalar::float_array_value(), octave_bool::float_array_value(), OCTAVE_VALUE_INT_SCALAR_T::float_array_value(), octave_bool::float_complex_array_value(), octave_scalar::float_complex_array_value(), octave_float_scalar::float_complex_array_value(), OCTAVE_VALUE_INT_SCALAR_T::float_complex_array_value(), octave_bool::float_complex_matrix_value(), octave_scalar::float_complex_matrix_value(), octave_float_scalar::float_complex_matrix_value(), OCTAVE_VALUE_INT_SCALAR_T::float_complex_matrix_value(), octave_bool::float_complex_value(), octave_scalar::float_complex_value(), octave_float_scalar::float_complex_value(), octave_scalar::float_matrix_value(), octave_float_scalar::float_matrix_value(), octave_bool::float_matrix_value(), OCTAVE_VALUE_INT_SCALAR_T::float_matrix_value(), octave_scalar::float_scalar_value(), octave_float_scalar::float_scalar_value(), octave_bool::float_scalar_value(), OCTAVE_VALUE_INT_SCALAR_T::float_scalar_value(), octave_scalar::float_value(), octave_float_scalar::float_value(), octave_bool::float_value(), OCTAVE_VALUE_INT_SCALAR_T::float_value(), Fstruct(), octave_base_scalar< bool >::full_value(), jit_index_operation::generate(), jit_paren_subsref::generate_matrix(), octave_float_complex::increment(), octave_complex::increment(), octave_scalar::increment(), octave_float_scalar::increment(), OCTAVE_VALUE_INT_SCALAR_T::increment(), octave_bool::index_vector(), octave_scalar::index_vector(), octave_float_scalar::index_vector(), OCTAVE_VALUE_INT_SCALAR_T::index_vector(), octave_bool::int16_array_value(), octave_scalar::int16_array_value(), octave_float_scalar::int16_array_value(), octave_bool::int16_scalar_value(), OCTAVE_VALUE_INT_SCALAR_T::int16_scalar_value(), octave_bool::int32_array_value(), octave_scalar::int32_array_value(), octave_float_scalar::int32_array_value(), octave_bool::int32_scalar_value(), OCTAVE_VALUE_INT_SCALAR_T::int32_scalar_value(), octave_bool::int64_array_value(), octave_scalar::int64_array_value(), octave_float_scalar::int64_array_value(), octave_bool::int64_scalar_value(), OCTAVE_VALUE_INT_SCALAR_T::int64_scalar_value(), octave_bool::int8_array_value(), octave_scalar::int8_array_value(), octave_float_scalar::int8_array_value(), octave_bool::int8_scalar_value(), OCTAVE_VALUE_INT_SCALAR_T::int8_scalar_value(), octave_bool::is_true(), octave_base_scalar< ST >::is_true(), octave_base_int_scalar< T >::load_ascii(), octave_base_int_scalar< T >::load_binary(), octave_base_int_scalar< T >::load_hdf5(), OCTAVE_VALUE_INT_SCALAR_T::map(), octave_scalar::matrix_value(), octave_float_scalar::matrix_value(), octave_bool::matrix_value(), OCTAVE_VALUE_INT_SCALAR_T::matrix_value(), octave_base_scalar< bool >::mex_get_data(), OCTAVE_VALUE_INT_SCALAR_T::mex_get_data(), octave_base_scalar< bool >::nnz(), octave_value::octave_value(), octave_base_scalar< ST >::permute(), octave_base_scalar< ST >::print_raw(), octave_base_scalar< ST >::reshape(), OCTAVE_VALUE_INT_SCALAR_T::resize(), octave_base_int_scalar< T >::save_ascii(), octave_base_int_scalar< T >::save_binary(), octave_base_int_scalar< T >::save_hdf5(), octave_base_scalar< bool >::scalar_ref(), octave_scalar::scalar_value(), octave_float_scalar::scalar_value(), octave_bool::scalar_value(), OCTAVE_VALUE_INT_SCALAR_T::scalar_value(), octave_base_scalar< ST >::short_disp(), octave_base_scalar< bool >::sort(), octave_bool::sparse_bool_matrix_value(), octave_scalar::sparse_matrix_value(), octave_float_scalar::sparse_matrix_value(), octave_bool::sparse_matrix_value(), octave_base_scalar< bool >::squeeze(), octave_bool::uint16_array_value(), octave_scalar::uint16_array_value(), octave_float_scalar::uint16_array_value(), octave_bool::uint16_scalar_value(), OCTAVE_VALUE_INT_SCALAR_T::uint16_scalar_value(), octave_bool::uint32_array_value(), octave_scalar::uint32_array_value(), octave_float_scalar::uint32_array_value(), octave_bool::uint32_scalar_value(), OCTAVE_VALUE_INT_SCALAR_T::uint32_scalar_value(), octave_bool::uint64_array_value(), octave_scalar::uint64_array_value(), octave_float_scalar::uint64_array_value(), octave_bool::uint64_scalar_value(), OCTAVE_VALUE_INT_SCALAR_T::uint64_scalar_value(), octave_bool::uint8_array_value(), octave_scalar::uint8_array_value(), octave_float_scalar::uint8_array_value(), octave_bool::uint8_scalar_value(), OCTAVE_VALUE_INT_SCALAR_T::uint8_scalar_value(), and zero_dims_inquire().
|
static |
Definition at line 59 of file ov-struct.cc.
Referenced by octave_struct::print_raw().
|
static |
Definition at line 55 of file ov-struct.cc.