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

#include "graphics.h"

Inheritance diagram for handle_property:
base_property

Public Member Functions

 handle_property ()=delete
 
 handle_property (const handle_property &)=default
 
 handle_property (const std::string &nm, const graphics_handle &h, const graphics_handle &val=graphics_handle())
 
 ~handle_property ()=default
 
void add_constraint (const std::string &type)
 
base_propertyclone () const
 
octave_value get () const
 
graphics_handle handle_value () const
 
void invalidate ()
 
handle_propertyoperator= (const graphics_handle &h)
 
handle_propertyoperator= (const handle_property &)=delete
 
handle_propertyoperator= (const octave_value &val)
 
- Public Member Functions inherited from base_property
 base_property ()
 
 base_property (const base_property &p)
 
 base_property (const std::string &s, const graphics_handle &h)
 
virtual ~base_property ()=default
 
void add_listener (const octave_value &v, listener_mode mode=GCB_POSTSET)
 
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=GCB_POSTSET)
 
int get_id () const
 
std::string get_name () const
 
graphics_handle get_parent () const
 
bool is_hidden () const
 
virtual bool is_radio () const
 
bool ok () const
 
base_propertyoperator= (const base_property &)=delete
 
base_propertyoperator= (const octave_value &val)
 
void run_listeners (listener_mode mode=GCB_POSTSET)
 
bool set (const octave_value &v, bool do_run=true, bool do_notify_toolkit=true)
 
void set_hidden (bool flag)
 
void set_id (int d)
 
void set_name (const std::string &s)
 
void set_parent (const graphics_handle &h)
 
virtual Cell values_as_cell () const
 
virtual std::string values_as_string () const
 

Protected Member Functions

bool do_set (const octave_value &v)
 

Protected Attributes

std::set< std::string > m_type_constraints
 

Detailed Description

Definition at line 1678 of file graphics.h.

Constructor & Destructor Documentation

◆ handle_property() [1/3]

handle_property::handle_property ( )
delete

◆ handle_property() [2/3]

handle_property::handle_property ( const std::string &  nm,
const graphics_handle h,
const graphics_handle val = graphics_handle () 
)
inline

Definition at line 1684 of file graphics.h.

◆ handle_property() [3/3]

handle_property::handle_property ( const handle_property )
default

◆ ~handle_property()

handle_property::~handle_property ( )
default

Member Function Documentation

◆ add_constraint()

void handle_property::add_constraint ( const std::string &  type)
inline

Definition at line 1717 of file graphics.h.

Referenced by base_properties::init().

◆ clone()

base_property* handle_property::clone ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 1715 of file graphics.h.

◆ do_set()

◆ get()

octave_value handle_property::get ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 1696 of file graphics.h.

Referenced by do_set().

◆ handle_value()

◆ invalidate()

void handle_property::invalidate ( )
inline

Definition at line 1712 of file graphics.h.

References NaN.

◆ operator=() [1/3]

handle_property& handle_property::operator= ( const graphics_handle h)
inline

Definition at line 1706 of file graphics.h.

References octave_handle::value().

◆ operator=() [2/3]

handle_property& handle_property::operator= ( const handle_property )
delete

◆ operator=() [3/3]

handle_property& handle_property::operator= ( const octave_value val)
inline

Definition at line 1700 of file graphics.h.

Member Data Documentation

◆ m_type_constraints

std::set<std::string> handle_property::m_type_constraints
protected

Definition at line 1722 of file graphics.h.

Referenced by do_set().


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