GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
base_properties Class Reference

#include "graphics.in.h"

Inheritance diagram for base_properties:
Collaboration diagram for base_properties:

Public Member Functions

 base_properties (const std::string &ty="unknown", const graphics_handle &mh=graphics_handle(), const graphics_handle &p=graphics_handle())
 
virtual ~base_properties (void)=default
 
virtual void add_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET)
 
virtual void adopt (const graphics_handle &h)
 
virtual void delete_children (bool clear=false, bool from_root=false)
 
virtual void delete_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET)
 
std::set< std::string > dynamic_property_names (void) const
 
virtual octave_value get (bool all=false) const
 
virtual octave_value get (const caseless_str &pname) const
 
virtual octave_value get (const char *pname) const
 
virtual octave_value get (const std::string &pname) const
 
virtual octave_value get_alim (void) const
 
Matrix get_all_children (void) const
 
virtual Matrix get_boundingbox (bool=false, const Matrix &=Matrix()) const
 
Matrix get_children (void) const
 
void get_children_of_type (const caseless_str &type, bool get_invisible, bool traverse, std::list< graphics_object > &children_list) const
 
virtual octave_value get_clim (void) const
 
Matrix get_hidden_children (void) const
 
virtual property get_property (const caseless_str &pname)
 
virtual octave::graphics_toolkit get_toolkit (void) const
 
virtual octave_value get_xlim (void) const
 
virtual octave_value get_ylim (void) const
 
virtual octave_value get_zlim (void) const
 
virtual std::string graphics_object_name (void) const
 
bool has_dynamic_property (const std::string &pname) const
 
virtual bool has_property (const caseless_str &) const
 
virtual void init_integerhandle (const octave_value &)
 
void insert_property (const std::string &name, property p)
 
virtual bool is_aliminclude (void) const
 
virtual bool is_climinclude (void) const
 
bool is_handle_visible (void) const
 
bool is_modified (void) const
 
virtual bool is_xliminclude (void) const
 
virtual bool is_yliminclude (void) const
 
virtual bool is_zliminclude (void) const
 
void mark_modified (void)
 
void override_defaults (base_graphics_object &obj)
 
virtual void remove_child (const graphics_handle &h, bool=false)
 
void renumber_child (graphics_handle old_gh, graphics_handle new_gh)
 
void renumber_parent (graphics_handle new_gh)
 
void reparent (const graphics_handle &new_parent)
 
virtual void set (const caseless_str &, const octave_value &)
 
void set___modified__ (const octave_value &val)
 
void set_beingdeleted (const octave_value &val)
 
void set_from_list (base_graphics_object &obj, property_list &defaults)
 
void set_modified (const octave_value &val)
 
void set_parent (const octave_value &val)
 
void set_tag (const octave_value &val)
 
virtual void update_autopos (const std::string &elem_type)
 
virtual void update_axis_limits (const std::string &axis_type) const
 
virtual void update_axis_limits (const std::string &axis_type, const graphics_handle &h) const
 
virtual void update_boundingbox (void)
 
virtual void update_uicontextmenu (void) const
 

Static Public Member Functions

static property_list::pval_map_type factory_defaults (void)
 

Protected Member Functions

octave_value get_dynamic (bool all=false) const
 
octave_value get_dynamic (const caseless_str &pname) const
 
property get_property_dynamic (const caseless_str &pname) const
 
void set_dynamic (const caseless_str &pname, const octave_value &val)
 

Protected Attributes

BEGIN_BASE_PROPERTIES bool_property beingdeleted off radio_property busyaction
 
std::set< std::string > dynamic_properties
 
BEGIN_BASE_PROPERTIES bool_property beingdeleted s
 

Detailed Description

Definition at line 2188 of file graphics.in.h.

Constructor & Destructor Documentation

◆ base_properties()

base_properties::base_properties ( const std::string &  ty = "unknown",
const graphics_handle mh = graphics_handle(),
const graphics_handle p = graphics_handle() 
)

◆ ~base_properties()

virtual base_properties::~base_properties ( void  )
virtualdefault

Member Function Documentation

◆ add_listener()

void base_properties::add_listener ( const caseless_str pname,
const octave_value val,
listener_mode  mode = GCB_POSTSET 
)
virtual

Definition at line 3621 of file graphics.cc.

◆ adopt()

◆ delete_children()

virtual void base_properties::delete_children ( bool  clear = false,
bool  from_root = false 
)
inlinevirtual

Definition at line 2327 of file graphics.in.h.

Referenced by gh_manager::free().

◆ delete_listener()

void base_properties::delete_listener ( const caseless_str pname,
const octave_value val,
listener_mode  mode = GCB_POSTSET 
)
virtual

Definition at line 3632 of file graphics.cc.

Referenced by do_cleanup_waitfor_listener().

◆ dynamic_property_names()

std::set< std::string > base_properties::dynamic_property_names ( void  ) const

Definition at line 3338 of file graphics.cc.

◆ factory_defaults()

◆ get() [1/4]

virtual octave_value base_properties::get ( bool  all = false) const
virtual

◆ get() [2/4]

virtual octave_value base_properties::get ( const caseless_str pname) const
virtual

◆ get() [3/4]

virtual octave_value base_properties::get ( const char *  pname) const
inlinevirtual

Definition at line 2229 of file graphics.in.h.

◆ get() [4/4]

virtual octave_value base_properties::get ( const std::string &  pname) const
inlinevirtual

Definition at line 2224 of file graphics.in.h.

◆ get_alim()

virtual octave_value base_properties::get_alim ( void  ) const
inlinevirtual

Definition at line 2349 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ get_all_children()

◆ get_boundingbox()

◆ get_children()

◆ get_children_of_type()

void base_properties::get_children_of_type ( const caseless_str type,
bool  get_invisible,
bool  traverse,
std::list< graphics_object > &  children_list 
) const

◆ get_clim()

virtual octave_value base_properties::get_clim ( void  ) const
inlinevirtual

Definition at line 2350 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ get_dynamic() [1/2]

octave_value base_properties::get_dynamic ( bool  all = false) const
protected

Definition at line 3325 of file graphics.cc.

References m.

◆ get_dynamic() [2/2]

octave_value base_properties::get_dynamic ( const caseless_str pname) const
protected

Definition at line 3313 of file graphics.cc.

References error().

◆ get_hidden_children()

Matrix base_properties::get_hidden_children ( void  ) const
inline

Definition at line 2302 of file graphics.in.h.

◆ get_property()

◆ get_property_dynamic()

property base_properties::get_property_dynamic ( const caseless_str pname) const
protected

Definition at line 3371 of file graphics.cc.

References error().

◆ get_toolkit()

octave::graphics_toolkit base_properties::get_toolkit ( void  ) const
virtual

◆ get_xlim()

virtual octave_value base_properties::get_xlim ( void  ) const
inlinevirtual

◆ get_ylim()

virtual octave_value base_properties::get_ylim ( void  ) const
inlinevirtual

◆ get_zlim()

virtual octave_value base_properties::get_zlim ( void  ) const
inlinevirtual

Definition at line 2353 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ graphics_object_name()

virtual std::string base_properties::graphics_object_name ( void  ) const
inlinevirtual

◆ has_dynamic_property()

bool base_properties::has_dynamic_property ( const std::string &  pname) const

Definition at line 3344 of file graphics.cc.

Referenced by Fwaitfor().

◆ has_property()

virtual bool base_properties::has_property ( const caseless_str ) const
inlinevirtual

◆ init_integerhandle()

virtual void base_properties::init_integerhandle ( const octave_value )
inlinevirtual

Reimplemented in figure::properties.

Definition at line 2203 of file graphics.in.h.

References panic_impossible.

Referenced by F__go_figure__().

◆ insert_property()

void base_properties::insert_property ( const std::string &  name,
property  p 
)
inline

Definition at line 2213 of file graphics.in.h.

References name, property::set_name(), and property::set_parent().

Referenced by Faddproperty().

◆ is_aliminclude()

virtual bool base_properties::is_aliminclude ( void  ) const
inlinevirtual

Reimplemented in surface::properties, patch::properties, and image::properties.

Definition at line 2355 of file graphics.in.h.

◆ is_climinclude()

virtual bool base_properties::is_climinclude ( void  ) const
inlinevirtual

Reimplemented in surface::properties, patch::properties, and image::properties.

Definition at line 2356 of file graphics.in.h.

◆ is_handle_visible()

bool base_properties::is_handle_visible ( void  ) const

Definition at line 3505 of file graphics.cc.

References callback_props::empty(), and executing_callbacks.

◆ is_modified()

bool base_properties::is_modified ( void  ) const
inline

Definition at line 2247 of file graphics.in.h.

Referenced by Fdrawnow().

◆ is_xliminclude()

virtual bool base_properties::is_xliminclude ( void  ) const
inlinevirtual

Definition at line 2357 of file graphics.in.h.

◆ is_yliminclude()

virtual bool base_properties::is_yliminclude ( void  ) const
inlinevirtual

Definition at line 2358 of file graphics.in.h.

◆ is_zliminclude()

virtual bool base_properties::is_zliminclude ( void  ) const
inlinevirtual

Definition at line 2359 of file graphics.in.h.

◆ mark_modified()

void base_properties::mark_modified ( void  )

◆ override_defaults()

void base_properties::override_defaults ( base_graphics_object obj)

◆ remove_child()

◆ renumber_child()

void base_properties::renumber_child ( graphics_handle  old_gh,
graphics_handle  new_gh 
)
inline

Definition at line 2332 of file graphics.in.h.

◆ renumber_parent()

void base_properties::renumber_parent ( graphics_handle  new_gh)
inline

Definition at line 2337 of file graphics.in.h.

◆ reparent()

void base_properties::reparent ( const graphics_handle new_parent)
inline

Definition at line 2315 of file graphics.in.h.

◆ set()

◆ set___modified__()

void base_properties::set___modified__ ( const octave_value val)
inline

Definition at line 2313 of file graphics.in.h.

◆ set_beingdeleted()

void base_properties::set_beingdeleted ( const octave_value val)
inline

Definition at line 2282 of file graphics.in.h.

Referenced by gh_manager::free().

◆ set_dynamic()

void base_properties::set_dynamic ( const caseless_str pname,
const octave_value val 
)
protected

Definition at line 3355 of file graphics.cc.

References error(), and base_graphics_object::mark_modified().

◆ set_from_list()

void base_properties::set_from_list ( base_graphics_object obj,
property_list defaults 
)

◆ set_modified()

void base_properties::set_modified ( const octave_value val)
inline

Definition at line 2311 of file graphics.in.h.

Referenced by Fdrawnow().

◆ set_parent()

◆ set_tag()

void base_properties::set_tag ( const octave_value val)
inline

Definition at line 2288 of file graphics.in.h.

◆ update_autopos()

void base_properties::update_autopos ( const std::string &  elem_type)
virtual

◆ update_axis_limits() [1/2]

void base_properties::update_axis_limits ( const std::string &  axis_type) const
virtual

◆ update_axis_limits() [2/2]

void base_properties::update_axis_limits ( const std::string &  axis_type,
const graphics_handle h 
) const
virtual

◆ update_boundingbox()

◆ update_uicontextmenu()

Member Data Documentation

◆ busyaction

BEGIN_BASE_PROPERTIES bool_property beingdeleted off radio_property base_properties::busyaction
protected

Definition at line 2381 of file graphics.in.h.

◆ dynamic_properties

std::set<std::string> base_properties::dynamic_properties
protected

Definition at line 2368 of file graphics.in.h.

◆ s

BEGIN_BASE_PROPERTIES bool_property beingdeleted base_properties::s
protected

Definition at line 2380 of file graphics.in.h.


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