class properties : public base_properties { public: void close (void); // See the genprops.awk script for an explanation of the // properties declarations. public: properties (const graphics_handle& mh, const graphics_handle& p); ~properties (void) { } void set (const caseless_str& name, const octave_value& val); octave_value get (void) const; octave_value get (const caseless_str& name) const; std::string graphics_object_name (void) const { return go_name; } static property_list::pval_map_type factory_defaults (void); private: static std::string go_name; private: any_property __plot_stream__; bool_property __enhanced__; radio_property nextplot; callback_property closerequestfcn; handle_property currentaxes; array_property colormap; bool_property visible; radio_property paperorientation; color_property color; public: octave_value get___plot_stream__ (void) const { return __plot_stream__.get (); } bool is___enhanced__ (void) const { return __enhanced__.is_on (); } std::string get___enhanced__ (void) const { return __enhanced__.current_value (); } bool nextplot_is (const std::string& v) const { return nextplot.is (v); } std::string get_nextplot (void) const { return nextplot.current_value (); } void execute_closerequestfcn (void) { closerequestfcn.execute (); } octave_value get_closerequestfcn (void) const { return closerequestfcn.get (); } graphics_handle get_currentaxes (void) const { return currentaxes.handle_value (); } octave_value get_colormap (void) const { return colormap.get (); } bool is_visible (void) const { return visible.is_on (); } std::string get_visible (void) const { return visible.current_value (); } bool paperorientation_is (const std::string& v) const { return paperorientation.is (v); } std::string get_paperorientation (void) const { return paperorientation.current_value (); } bool color_is_rgb (void) const { return color.is_rgb (); } bool color_is (const std::string& v) const { return color.is (v); } Matrix get_color (void) const { return (color.is_rgb () ? color.rgb () : Matrix ()); } void set___plot_stream__ (const octave_value& val) { if (! error_state) { __plot_stream__ = val; mark_modified (); } } void set___enhanced__ (const octave_value& val) { if (! error_state) { __enhanced__ = val; mark_modified (); } } void set_nextplot (const octave_value& val) { if (! error_state) { nextplot = val; mark_modified (); } } void set_closerequestfcn (const octave_value& val) { if (! error_state) { closerequestfcn = val; mark_modified (); } } void set_currentaxes (const octave_value& val); void set_colormap (const octave_value& val) { if (! error_state) { colormap = val; mark_modified (); } } void set_visible (const octave_value& val); void set_paperorientation (const octave_value& val) { if (! error_state) { paperorientation = val; mark_modified (); } } void set_color (const octave_value& val) { if (! error_state) { color = val; mark_modified (); } } };