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

#include "graphics.h"

Inheritance diagram for string_property:
base_property

Public Member Functions

 string_property ()=delete
 
 string_property (const std::string &s, const graphics_handle &h, const std::string &val="")
 
 string_property (const string_property &)=default
 
 ~string_property ()=default
 
base_propertyclone () const
 
octave_value get () const
 
string_propertyoperator= (const octave_value &val)
 
string_propertyoperator= (const string_property &)=delete
 
std::string string_value () const
 
- 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 &val)
 

Detailed Description

Definition at line 440 of file graphics.h.

Constructor & Destructor Documentation

◆ string_property() [1/3]

string_property::string_property ( )
delete

◆ string_property() [2/3]

string_property::string_property ( const std::string &  s,
const graphics_handle h,
const std::string &  val = "" 
)
inline

Definition at line 446 of file graphics.h.

◆ string_property() [3/3]

string_property::string_property ( const string_property )
default

◆ ~string_property()

string_property::~string_property ( )
default

Member Function Documentation

◆ clone()

base_property* string_property::clone ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 468 of file graphics.h.

◆ do_set()

bool string_property::do_set ( const octave_value val)
inlineprotectedvirtual

Reimplemented from base_property.

Definition at line 471 of file graphics.h.

References error(), octave_value::is_string(), and octave_value::string_value().

◆ get()

octave_value string_property::get ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 457 of file graphics.h.

References octave_value().

◆ operator=() [1/2]

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

Definition at line 462 of file graphics.h.

◆ operator=() [2/2]

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

◆ string_value()

std::string string_property::string_value ( ) const
inline

Definition at line 460 of file graphics.h.

Referenced by uimenu::properties::get___fltk_label__(), figure::properties::get___gl_extensions__(), figure::properties::get___gl_renderer__(), figure::properties::get___gl_vendor__(), figure::properties::get___gl_version__(), figure::properties::get___graphics_toolkit__(), uipushtool::properties::get___named_icon__(), uitoggletool::properties::get___named_icon__(), uimenu::properties::get_accelerator(), scatter::properties::get_cdatasource(), surface::properties::get_cdatasource(), figure::properties::get_currentcharacter(), line::properties::get_displayname(), patch::properties::get_displayname(), scatter::properties::get_displayname(), surface::properties::get_displayname(), hggroup::properties::get_displayname(), figure::properties::get_filename(), root_figure::properties::get_fixedwidthfontname(), axes::properties::get_fontname(), text::properties::get_fontname(), uicontrol::properties::get_fontname(), uibuttongroup::properties::get_fontname(), uipanel::properties::get_fontname(), uitable::properties::get_fontname(), scatter::properties::get_latitudedatasource(), scatter::properties::get_longitudedatasource(), figure::properties::get_name(), scatter::properties::get_rdatasource(), scatter::properties::get_sizedatasource(), base_properties::get_tag(), uimenu::properties::get_text(), scatter::properties::get_thetadatasource(), uibuttongroup::properties::get_title(), uipanel::properties::get_title(), uicontrol::properties::get_tooltipstring(), uitable::properties::get_tooltipstring(), uipushtool::properties::get_tooltipstring(), uitoggletool::properties::get_tooltipstring(), base_properties::get_type(), line::properties::get_xdatasource(), scatter::properties::get_xdatasource(), surface::properties::get_xdatasource(), line::properties::get_ydatasource(), scatter::properties::get_ydatasource(), surface::properties::get_ydatasource(), line::properties::get_zdatasource(), scatter::properties::get_zdatasource(), and surface::properties::get_zdatasource().


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