Logo Search packages:      
Sourcecode: octave2.1 version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends

octave_base_value Class Reference

Inheritance diagram for octave_base_value:
Inheritance graph
Collaboration diagram for octave_base_value:
Collaboration graph

List of all members.

Public Types

enum  all_va_args { all_va_args_t }
enum  assign_op {
  op_asn_eq, op_add_eq, op_sub_eq, op_mul_eq,
  op_div_eq, op_ldiv_eq, op_pow_eq, op_lshift_eq,
  op_rshift_eq, op_el_mul_eq, op_el_div_eq, op_el_ldiv_eq,
  op_el_pow_eq, op_el_and_eq, op_el_or_eq, num_assign_ops,
enum  binary_op {
  op_add, op_sub, op_mul, op_div,
  op_pow, op_ldiv, op_lshift, op_rshift,
  op_lt, op_le, op_eq, op_ge,
  op_gt, op_ne, op_el_mul, op_el_div,
  op_el_pow, op_el_ldiv, op_el_and, op_el_or,
  op_struct_ref, num_binary_ops, unknown_binary_op
enum  magic_colon { magic_colon_t }
enum  unary_op {
  op_not, op_uplus, op_uminus, op_transpose,
  op_hermitian, op_incr, op_decr, num_unary_ops,

Public Member Functions

octave_value all (int=0) const
string_vector all_strings (bool pad=false, bool force=false) const
octave_value any (int=0) const
NDArray array_value (bool=false) const
octave_value assign (assign_op op, const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
const octave_valueassign (assign_op, const octave_value &rhs)
boolNDArray bool_array_value (void) const
boolMatrix bool_matrix_value (void) const
bool bool_value (void) const
size_t byte_size (void) const
Cell cell_value (void) const
charNDArray char_array_value (bool=false) const
charMatrix char_matrix_value (bool force=false) const
virtual std::string class_name (void) const
octave_valueclone (void) const
ColumnVector column_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
int columns (void) const
ComplexNDArray complex_array_value (bool=false) const
ComplexColumnVector complex_column_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
ComplexMatrix complex_matrix_value (bool=false) const
ComplexRowVector complex_row_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
Complex complex_value (bool=false) const
Array< Complex > complex_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
void convert_to_row_or_column_vector (void)
octave_value convert_to_str (bool pad=false, bool force=false) const
octave_value convert_to_str_internal (bool pad, bool force) const
dim_vector dims (void) const
octave_value do_index_op (const octave_value_list &idx, int resize_ok)
octave_value do_index_op (const octave_value_list &idx)
octave_value_list do_multi_index_op (int nargout, const octave_value_list &idx)
const octave_valuedo_non_const_unary_op (unary_op op)
octave_value do_non_const_unary_op (unary_op op, const std::string &type, const std::list< octave_value_list > &idx)
void do_non_const_unary_op (unary_op op, const octave_value_list &idx)
double double_value (bool=false) const
octave_valueempty_clone (void) const
octave_value eval (void)
octave_fcn_handlefcn_handle_value (bool silent=false)
octave_fcn_inlinefcn_inline_value (bool silent=false)
octave_functionfunction_value (bool silent=false)
int get_count (void) const
const octave_valueget_rep (void) const
idx_vector index_vector (void) const
int16NDArray int16_array_value (void) const
octave_int16 int16_scalar_value (void) const
int32NDArray int32_array_value (void) const
octave_int32 int32_scalar_value (void) const
int64NDArray int64_array_value (void) const
octave_int64 int64_scalar_value (void) const
int8NDArray int8_array_value (void) const
octave_int8 int8_scalar_value (void) const
int int_value (bool=false, bool=false) const
Array< int > int_vector_value (bool req_int=false, bool frc_str_conv=false, bool frc_vec_conv=false) const
octave_valueinternal_rep (void) const
octave_value ipermute (const Array< int > &vec) const
bool is_all_va_args (void) const
bool is_bool_matrix (void) const
bool is_bool_type (void) const
bool is_builtin_function (void) const
bool is_cell (void) const
bool is_char_matrix (void) const
bool is_complex_matrix (void) const
bool is_complex_scalar (void) const
bool is_complex_type (void) const
bool is_constant (void) const
bool is_cs_list (void) const
bool is_defined (void) const
bool is_dld_function (void) const
bool is_empty (void) const
bool is_function (void) const
bool is_function_handle (void) const
bool is_inline_function (void) const
bool is_list (void) const
bool is_magic_colon (void) const
bool is_map (void) const
bool is_matrix_type (void) const
bool is_numeric_type (void) const
bool is_range (void) const
bool is_real_matrix (void) const
bool is_real_nd_array (void) const
bool is_real_scalar (void) const
bool is_real_type (void) const
bool is_scalar_type (void) const
bool is_stream (void) const
bool is_streamoff (void) const
bool is_string (void) const
bool is_true (void) const
bool is_undefined (void) const
bool is_zero_by_zero (void) const
int length (void) const
octave_value_list list_value (void) const
bool load_ascii (std::istream &is)
bool load_binary (std::istream &is, bool swap, oct_mach_info::float_format fmt)
long int long_value (bool=false, bool=false) const
void make_unique (void)
string_vector map_keys (void) const
Octave_map map_value (void) const
Matrix matrix_value (bool=false) const
void maybe_mutate (void)
int ndims (void) const
octave_value_list next_subsref (int nargout, const std::string &type, const std::list< octave_value_list > &idx, size_t skip=1)
octave_value next_subsref (const std::string &type, const std::list< octave_value_list > &idx, size_t skip=1)
int nint_value (bool=false) const
int numel (void) const
type_conv_fcn numeric_conversion_function (void) const
 octave_base_value (const octave_base_value &)
octave_value permute (const Array< int > &vec, bool=false) const
void print (std::ostream &os, bool pr_as_read_syntax=false) const
bool print_as_scalar (void) const
void print_info (std::ostream &os, const std::string &prefix) const
bool print_name_tag (std::ostream &os, const std::string &name) const
void print_raw (std::ostream &os, bool pr_as_read_syntax=false) const
void print_with_name (std::ostream &os, const std::string &name, bool print_padding=true) const
Range range_value (void) const
octave_value reshape (const dim_vector &) const
octave_value resize (const dim_vector &) const
RowVector row_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
int rows (void) const
bool save_ascii (std::ostream &os, bool &infnan_warned, bool strip_nan_and_inf)
bool save_binary (std::ostream &os, bool &save_as_floats)
double scalar_value (bool frc_str_conv=false) const
short int short_value (bool=false, bool=false) const
octave_value single_subsref (const std::string &type, const octave_value_list &idx)
octave_value squeeze (void) const
int stream_number (void) const
octave_stream stream_value (void) const
streamoff_array streamoff_array_value (void) const
std::streamoff streamoff_value (void) const
std::string string_value (bool force=false) const
octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout)
octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
octave_valuetry_narrowing_conversion (void)
virtual int type_id (void) const
virtual std::string type_name (void) const
uint16NDArray uint16_array_value (void) const
octave_uint16 uint16_scalar_value (void) const
uint32NDArray uint32_array_value (void) const
octave_uint32 uint32_scalar_value (void) const
uint64NDArray uint64_array_value (void) const
octave_uint64 uint64_scalar_value (void) const
uint8NDArray uint8_array_value (void) const
octave_uint8 uint8_scalar_value (void) const
unsigned int uint_value (bool=false, bool=false) const
unsigned long int ulong_value (bool=false, bool=false) const
octave_user_functionuser_function_value (bool silent=false)
unsigned short int ushort_value (bool=false, bool=false) const
bool valid_as_scalar_index (void) const
bool valid_as_zero_index (void) const
Array< double > vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
int write (octave_stream &os, int block_size, oct_data_conv::data_type output_type, int skip, oct_mach_info::float_format flt_fmt) const

Static Public Member Functions

static std::string assign_op_as_string (assign_op)
static std::string binary_op_as_string (binary_op)
static octave_value empty_conv (const std::string &type, const octave_value &rhs=octave_value())
static std::string unary_op_as_string (unary_op)

Protected Member Functions

int current_print_indent_level (void) const
void decrement_indent_level (void) const
void increment_indent_level (void) const
void indent (std::ostream &os) const
void newline (std::ostream &os) const
octave_value numeric_assign (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
void reset (void) const
void reset_indent_level (void) const

Protected Attributes

union {
   int   count
   octave_value *   rep


octave_value do_binary_op (binary_op op, const octave_value &a, const octave_value &b)
octave_value do_cat_op (const octave_value &a, const octave_value &b, const Array< int > &ra_idx)
octave_value do_unary_op (unary_op op, const octave_value &a)

Detailed Description

Definition at line 53 of file ov-base.h.

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

Generated by  Doxygen 1.6.0   Back to index