Mercurial > hg > octave-nkf
comparison src/ov-struct.h @ 4994:48d0defe9445
[project @ 2004-09-15 20:31:31 by jwe]
author | jwe |
---|---|
date | Wed, 15 Sep 2004 20:31:31 +0000 |
parents | e63617efbd3f |
children | e35b034d3523 |
comparison
equal
deleted
inserted
replaced
4993:761b8d760785 | 4994:48d0defe9445 |
---|---|
67 octave_value *clone (void) const { return new octave_struct (*this); } | 67 octave_value *clone (void) const { return new octave_struct (*this); } |
68 octave_value *empty_clone (void) const { return new octave_struct (); } | 68 octave_value *empty_clone (void) const { return new octave_struct (); } |
69 | 69 |
70 Cell dotref (const octave_value_list& idx); | 70 Cell dotref (const octave_value_list& idx); |
71 | 71 |
72 octave_value subsref (const std::string& type, | 72 octave_value subsref (const std::string&, |
73 const std::list<octave_value_list>& idx); | 73 const std::list<octave_value_list>&) |
74 | |
75 octave_value_list subsref (const std::string&, | |
76 const std::list<octave_value_list>&, int) | |
77 { | 74 { |
78 panic_impossible (); | 75 panic_impossible (); |
79 return octave_value_list (); | 76 return octave_value_list (); |
80 } | 77 } |
78 | |
79 octave_value_list subsref (const std::string& type, | |
80 const std::list<octave_value_list>& idx, | |
81 int nargout); | |
81 | 82 |
82 static octave_value numeric_conv (const Cell& val, | 83 static octave_value numeric_conv (const Cell& val, |
83 const std::string& type); | 84 const std::string& type); |
84 | 85 |
85 octave_value subsasgn (const std::string& type, | 86 octave_value subsasgn (const std::string& type, |
95 | 96 |
96 octave_value resize (const dim_vector& dv) const | 97 octave_value resize (const dim_vector& dv) const |
97 { return map.resize (dv); } | 98 { return map.resize (dv); } |
98 | 99 |
99 bool is_defined (void) const { return true; } | 100 bool is_defined (void) const { return true; } |
100 | |
101 bool is_constant (void) const { return true; } | |
102 | 101 |
103 bool is_map (void) const { return true; } | 102 bool is_map (void) const { return true; } |
104 | 103 |
105 Octave_map map_value (void) const { return map; } | 104 Octave_map map_value (void) const { return map; } |
106 | 105 |