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

#include "graphics.h"

Public Member Functions

 property ()
 
 property (base_property *bp, bool persist=false)
 
 property (const property &p)
 
 ~property ()
 
void add_listener (const octave_value &v, listener_mode mode=GCB_POSTSET)
 
property clone () const
 
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=GCB_POSTSET)
 
octave_value get () const
 
int get_id () const
 
std::string get_name () const
 
graphics_handle get_parent () const
 
bool is_hidden () const
 
bool is_radio () const
 
bool ok () const
 
propertyoperator= (const octave_value &val)
 
propertyoperator= (const property &p)
 
void run_listeners (listener_mode mode=GCB_POSTSET)
 
bool set (const octave_value &val, 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 &name)
 
void set_parent (const graphics_handle &h)
 
Cell values_as_cell () const
 
std::string values_as_string () const
 

Static Public Member Functions

static property create (const std::string &name, const graphics_handle &parent, const caseless_str &type, const octave_value_list &args)
 

Detailed Description

Definition at line 2020 of file graphics.h.

Constructor & Destructor Documentation

◆ property() [1/3]

property::property ( )
inline

Definition at line 2023 of file graphics.h.

Referenced by create().

◆ property() [2/3]

property::property ( base_property bp,
bool  persist = false 
)
inline

Definition at line 2026 of file graphics.h.

◆ property() [3/3]

property::property ( const property p)
inline

Definition at line 2029 of file graphics.h.

◆ ~property()

property::~property ( )
inline

Definition at line 2034 of file graphics.h.

Member Function Documentation

◆ add_listener()

void property::add_listener ( const octave_value v,
listener_mode  mode = GCB_POSTSET 
)
inline

Definition at line 2100 of file graphics.h.

◆ clone()

property property::clone ( ) const
inline

Definition at line 2114 of file graphics.h.

◆ create()

property property::create ( const std::string &  name,
const graphics_handle parent,
const caseless_str type,
const octave_value_list args 
)
static

◆ delete_listener()

void property::delete_listener ( const octave_value v = octave_value (),
listener_mode  mode = GCB_POSTSET 
)
inline

Definition at line 2103 of file graphics.h.

◆ get()

octave_value property::get ( ) const
inline

Definition at line 2070 of file graphics.h.

◆ get_id()

int property::get_id ( ) const
inline

Definition at line 2064 of file graphics.h.

◆ get_name()

std::string property::get_name ( ) const
inline

Definition at line 2043 of file graphics.h.

◆ get_parent()

graphics_handle property::get_parent ( ) const
inline

Definition at line 2049 of file graphics.h.

◆ is_hidden()

bool property::is_hidden ( ) const
inline

Definition at line 2055 of file graphics.h.

◆ is_radio()

bool property::is_radio ( ) const
inline

Definition at line 2061 of file graphics.h.

◆ ok()

bool property::ok ( ) const
inline

Definition at line 2040 of file graphics.h.

◆ operator=() [1/2]

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

Definition at line 2083 of file graphics.h.

◆ operator=() [2/2]

property& property::operator= ( const property p)
inline

Definition at line 2089 of file graphics.h.

◆ run_listeners()

void property::run_listeners ( listener_mode  mode = GCB_POSTSET)
inline

Definition at line 2107 of file graphics.h.

◆ set()

bool property::set ( const octave_value val,
bool  do_run = true,
bool  do_notify_toolkit = true 
)
inline

Definition at line 2073 of file graphics.h.

Referenced by base_property::operator=().

◆ set_hidden()

void property::set_hidden ( bool  flag)
inline

Definition at line 2058 of file graphics.h.

◆ set_id()

void property::set_id ( int  d)
inline

Definition at line 2067 of file graphics.h.

References d.

◆ set_name()

void property::set_name ( const std::string &  name)
inline

Definition at line 2046 of file graphics.h.

Referenced by base_properties::insert_property().

◆ set_parent()

void property::set_parent ( const graphics_handle h)
inline

Definition at line 2052 of file graphics.h.

Referenced by base_properties::insert_property().

◆ values_as_cell()

Cell property::values_as_cell ( ) const
inline

Definition at line 2080 of file graphics.h.

◆ values_as_string()

std::string property::values_as_string ( ) const
inline

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