GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
octave_lvalue Class Reference

#include "oct-lvalue.h"

Collaboration diagram for octave_lvalue:
Collaboration graph
[legend]

Public Member Functions

 octave_lvalue (const symbol_table::symbol_reference &s=symbol_table::symbol_reference())
 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
octave_lvalueoperator= (const octave_lvalue &vr)
void set_index (const std::string &t, const std::list< octave_value_list > &i)
octave_value value (void) const

Private Attributes

std::list< octave_value_listidx
octave_idx_type nel
symbol_table::symbol_reference sym
std::string type

Detailed Description

Definition at line 35 of file oct-lvalue.h.

Constructor & Destructor Documentation

octave_lvalue::octave_lvalue ( const symbol_table::symbol_reference s = symbol_table::symbol_reference ())
inline

Definition at line 40 of file oct-lvalue.h.

octave_lvalue::octave_lvalue ( const octave_lvalue vr)
inline

Definition at line 45 of file oct-lvalue.h.

octave_lvalue::~octave_lvalue ( void  )
inline

Definition at line 62 of file oct-lvalue.h.

Member Function Documentation

void octave_lvalue::assign ( octave_value::assign_op  op,
const octave_value rhs 
)
void octave_lvalue::clear_index ( void  )
inline

Definition at line 91 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 81 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)
bool octave_lvalue::is_black_hole ( void  ) const
inline

Definition at line 64 of file oct-lvalue.h.

Referenced by assign(), do_unary_op(), tree_multi_assignment::rvalue(), and value().

bool octave_lvalue::is_defined ( void  ) const
inline

Definition at line 66 of file oct-lvalue.h.

bool octave_lvalue::is_map ( void  ) const
inline

Definition at line 76 of file oct-lvalue.h.

bool octave_lvalue::is_undefined ( void  ) const
inline

Definition at line 71 of file oct-lvalue.h.

Referenced by do_global_init(), and do_static_init().

void octave_lvalue::numel ( octave_idx_type  n)
inline
octave_idx_type octave_lvalue::numel ( void  ) const
inline

Definition at line 87 of file oct-lvalue.h.

octave_lvalue& octave_lvalue::operator= ( const octave_lvalue vr)
inline

Definition at line 49 of file oct-lvalue.h.

References idx, nel, sym, and type.

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  ) const

Member Data Documentation

std::list<octave_value_list> octave_lvalue::idx
private

Definition at line 103 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 105 of file oct-lvalue.h.

Referenced by operator=().

symbol_table::symbol_reference octave_lvalue::sym
private

Definition at line 99 of file oct-lvalue.h.

Referenced by assign(), do_unary_op(), operator=(), and value().

std::string octave_lvalue::type
private

Definition at line 101 of file oct-lvalue.h.

Referenced by assign(), do_unary_op(), operator=(), set_index(), and value().


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