comparison src/genprops.awk @ 7523:f2000f1971ab

new row_vector_property class
author John W. Eaton <jwe@octave.org>
date Mon, 25 Feb 2008 03:44:50 -0500
parents 65f0a8ced9d2
children 68550ad9ee9c
comparison
equal deleted inserted replaced
7522:8a6965a01176 7523:f2000f1971ab
242 242
243 for (i = 1; i <= idx; i++) 243 for (i = 1; i <= idx; i++)
244 { 244 {
245 if (emit_get[i]) 245 if (emit_get[i])
246 { 246 {
247 if (type[i] == "array_property" || type[i] == "any_property") 247 if (type[i] == "array_property" \
248 || type[i] == "row_vector_property" \
249 || type[i] == "any_property")
248 emit_get_accessor(i, "octave_value", "get"); 250 emit_get_accessor(i, "octave_value", "get");
249 else if (type[i] == "handle_property") 251 else if (type[i] == "handle_property")
250 emit_get_accessor(i, "graphics_handle", "handle_value"); 252 emit_get_accessor(i, "graphics_handle", "handle_value");
251 else if (type[i] == "string_property") 253 else if (type[i] == "string_property")
252 emit_get_accessor(i, "std::string", "string_value"); 254 emit_get_accessor(i, "std::string", "string_value");