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

#include "graphics.h"

Inheritance diagram for string_array_property:
base_property

Public Types

enum  desired_enum { string_t , cell_t }
 

Public Member Functions

 string_array_property ()=delete
 
 string_array_property (const std::string &s, const graphics_handle &h, const Cell &c, const char &sep='|', const desired_enum &typ=string_t)
 
 string_array_property (const std::string &s, const graphics_handle &h, const std::string &val="", const char &sep='|', const desired_enum &typ=string_t)
 
 string_array_property (const string_array_property &)=default
 
 ~string_array_property ()=default
 
Cell cell_value () const
 
base_propertyclone () const
 
octave_value get () const
 
string_array_propertyoperator= (const octave_value &val)
 
string_array_propertyoperator= (const string_array_property &)=delete
 
std::string string_value () const
 
string_vector string_vector_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 493 of file graphics.h.

Member Enumeration Documentation

◆ desired_enum

Enumerator
string_t 
cell_t 

Definition at line 496 of file graphics.h.

Constructor & Destructor Documentation

◆ string_array_property() [1/4]

string_array_property::string_array_property ( )
delete

◆ string_array_property() [2/4]

string_array_property::string_array_property ( const std::string &  s,
const graphics_handle h,
const std::string &  val = "",
const char &  sep = '|',
const desired_enum typ = string_t 
)
inline

Definition at line 500 of file graphics.h.

◆ string_array_property() [3/4]

string_array_property::string_array_property ( const std::string &  s,
const graphics_handle h,
const Cell c,
const char &  sep = '|',
const desired_enum typ = string_t 
)
inline

Definition at line 523 of file graphics.h.

References error(), Cell::iscellstr(), and Array< T, Alloc >::numel().

◆ string_array_property() [4/4]

string_array_property::string_array_property ( const string_array_property )
default

◆ ~string_array_property()

string_array_property::~string_array_property ( )
default

Member Function Documentation

◆ cell_value()

Cell string_array_property::cell_value ( ) const
inline

Definition at line 569 of file graphics.h.

◆ clone()

base_property* string_array_property::clone ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 579 of file graphics.h.

◆ do_set()

◆ get()

octave_value string_array_property::get ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 547 of file graphics.h.

References octave_value().

Referenced by uicontrol::properties::get_string().

◆ operator=() [1/2]

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

Definition at line 573 of file graphics.h.

◆ operator=() [2/2]

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

◆ string_value()

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

Definition at line 555 of file graphics.h.

Referenced by uicontrol::properties::get_string_string().

◆ string_vector_value()

string_vector string_array_property::string_vector_value ( ) const
inline

Definition at line 571 of file graphics.h.

Referenced by uicontrol::properties::get_string_vector().


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