26 #if ! defined (octave_oct_lvalue_h)
27 #define octave_oct_lvalue_h 1
29 #include "octave-config.h"
44 const std::shared_ptr<stack_frame>& frame)
45 : m_sym (sr), m_frame (frame), m_black_hole (false),
59 bool is_defined (
void)
const;
61 bool is_undefined (
void)
const;
63 bool isstruct (
void)
const {
return value().isstruct (); }
71 void set_index (
const std::string& t,
72 const std::list<octave_value_list>& i);
78 bool index_is_empty (
void)
const;
80 bool index_is_colon (
void)
const;
84 #if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)
85 OCTAVE_DEPRECATED (7,
"use 'octave_lvalue::unary_op' instead")
97 eval_for_numel (
const std::string& type,
98 const std::list<octave_value_list>& idx)
const;
void mark_black_hole(void)
std::list< octave_value_list > m_idx
octave_lvalue(const octave_lvalue &)=default
bool isstruct(void) const
bool is_black_hole(void) const
~octave_lvalue(void)=default
std::string index_type(void) const
octave_lvalue(const symbol_record &sr, const std::shared_ptr< stack_frame > &frame)
std::shared_ptr< stack_frame > m_frame
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
T::size_type numel(const T &str)
OCTINTERP_API octave_value unary_op(type_info &ti, octave_value::unary_op op, const octave_value &a)