#include "oct-lvalue.h"
Public Member Functions | |
octave_lvalue (octave_value *v=0) | |
octave_lvalue (const octave_lvalue &vr) | |
~octave_lvalue (void) | |
void | assign (octave_value::assign_op, const octave_value &) |
void | clear_index (void) |
void | define (const octave_value &v) |
void | do_unary_op (octave_value::unary_op op) |
bool | is_black_hole (void) const |
bool | is_defined (void) const |
bool | is_map (void) const |
bool | is_undefined (void) const |
void | numel (octave_idx_type n) |
octave_idx_type | numel (void) const |
const octave_value * | object (void) const |
octave_lvalue & | operator= (const octave_lvalue &vr) |
void | set_index (const std::string &t, const std::list< octave_value_list > &i) |
octave_value | value (void) |
Private Attributes | |
std::list< octave_value_list > | idx |
octave_idx_type | nel |
std::string | type |
octave_value * | val |
Definition at line 34 of file oct-lvalue.h.
octave_lvalue::octave_lvalue | ( | octave_value * | v = 0 |
) | [inline] |
Definition at line 39 of file oct-lvalue.h.
octave_lvalue::octave_lvalue | ( | const octave_lvalue & | vr | ) | [inline] |
Definition at line 43 of file oct-lvalue.h.
octave_lvalue::~octave_lvalue | ( | void | ) | [inline] |
Definition at line 61 of file oct-lvalue.h.
void octave_lvalue::assign | ( | octave_value::assign_op | op, | |
const octave_value & | rhs | |||
) |
Definition at line 33 of file oct-lvalue.cc.
References octave_value::assign(), idx, type, and val.
Referenced by do_global_init(), do_static_init(), tree_decl_elt::eval(), tree_parameter_list::initialize_undefined_elements(), tree_multi_assignment::rvalue(), tree_simple_assignment::rvalue1(), tree_parameter_list::undefine(), tree_evaluator::visit_complex_for_command(), and tree_evaluator::visit_simple_for_command().
void octave_lvalue::clear_index | ( | void | ) | [inline] |
Definition at line 85 of file oct-lvalue.h.
Referenced by tree_multi_assignment::rvalue(), and tree_simple_assignment::rvalue1().
void octave_lvalue::define | ( | const octave_value & | v | ) | [inline] |
Definition at line 71 of file oct-lvalue.h.
Referenced by tree_parameter_list::define_from_arg_vector().
void octave_lvalue::do_unary_op | ( | octave_value::unary_op | op | ) |
Definition at line 58 of file oct-lvalue.cc.
References octave_value::do_non_const_unary_op(), error(), idx, type, and val.
Referenced by tree_postfix_expression::rvalue1(), and tree_prefix_expression::rvalue1().
bool octave_lvalue::is_black_hole | ( | void | ) | const [inline] |
Definition at line 63 of file oct-lvalue.h.
Referenced by tree_multi_assignment::rvalue().
bool octave_lvalue::is_defined | ( | void | ) | const [inline] |
Definition at line 65 of file oct-lvalue.h.
bool octave_lvalue::is_map | ( | void | ) | const [inline] |
Definition at line 69 of file oct-lvalue.h.
bool octave_lvalue::is_undefined | ( | void | ) | const [inline] |
Definition at line 67 of file oct-lvalue.h.
Referenced by do_global_init(), and do_static_init().
void octave_lvalue::numel | ( | octave_idx_type | n | ) | [inline] |
Definition at line 79 of file oct-lvalue.h.
Referenced by tree_index_expression::lvalue(), tree_multi_assignment::rvalue(), and tree_simple_assignment::rvalue1().
octave_idx_type octave_lvalue::numel | ( | void | ) | const [inline] |
Definition at line 81 of file oct-lvalue.h.
const octave_value* octave_lvalue::object | ( | void | ) | const [inline] |
Definition at line 91 of file oct-lvalue.h.
Referenced by tree_index_expression::lvalue().
octave_lvalue& octave_lvalue::operator= | ( | const octave_lvalue & | vr | ) | [inline] |
void octave_lvalue::set_index | ( | const std::string & | t, | |
const std::list< octave_value_list > & | i | |||
) |
Definition at line 45 of file oct-lvalue.cc.
References error(), idx, and type.
Referenced by tree_index_expression::lvalue().
octave_value octave_lvalue::value | ( | void | ) |
Definition at line 72 of file oct-lvalue.cc.
References idx, octave_value::is_constant(), octave_value_list::length(), octave_value::subsref(), type, and val.
Referenced by tree_multi_assignment::rvalue(), tree_postfix_expression::rvalue1(), tree_prefix_expression::rvalue1(), and tree_simple_assignment::rvalue1().
std::list<octave_value_list> octave_lvalue::idx [private] |
Definition at line 99 of file oct-lvalue.h.
Referenced by assign(), do_unary_op(), operator=(), set_index(), and value().
octave_idx_type octave_lvalue::nel [private] |
Definition at line 101 of file oct-lvalue.h.
Referenced by operator=().
std::string octave_lvalue::type [private] |
Definition at line 97 of file oct-lvalue.h.
Referenced by assign(), do_unary_op(), operator=(), set_index(), tree_index_expression::type_tags(), and value().
octave_value* octave_lvalue::val [private] |
Definition at line 95 of file oct-lvalue.h.
Referenced by assign(), do_unary_op(), operator=(), tree_cell::rvalue1(), and value().