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

#include "graphics.in.h"

Inheritance diagram for double_radio_property:
Collaboration diagram for double_radio_property:

Public Member Functions

 double_radio_property (double d, const radio_values &v)
 
 double_radio_property (const std::string &nm, const graphics_handle &h, const std::string &v)
 
 double_radio_property (const std::string &nm, const graphics_handle &h, const double_radio_property &v)
 
 double_radio_property (const double_radio_property &p)
 
void add_listener (const octave_value &v, listener_mode mode=POSTSET)
 
base_propertyclone (void) const
 
const std::stringcurrent_value (void) const
 
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=POSTSET)
 
double double_value (void) const
 
octave_value get (void) const
 
int get_id (void) const
 
std::string get_name (void) const
 
graphics_handle get_parent (void) const
 
bool is (const std::string &v) const
 
bool is_double (void) const
 
bool is_hidden (void) const
 
bool is_radio (void) const
 
bool ok (void) const
 
 operator octave_value (void) const
 
double_radio_propertyoperator= (const octave_value &val)
 
OCTINTERP_API void run_listeners (listener_mode mode=POSTSET)
 
OCTINTERP_API 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 (void) const
 
virtual std::string values_as_string (void) const
 

Protected Member Functions

OCTINTERP_API bool do_set (const octave_value &v)
 

Private Types

enum  current_enum { double_t, radio_t }
 

Private Attributes

enum double_radio_property::current_enum current_type
 
std::string current_val
 
double dval
 
radio_values radio_val
 

Detailed Description

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

Member Enumeration Documentation

◆ current_enum

Enumerator
double_t 
radio_t 

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

Constructor & Destructor Documentation

◆ double_radio_property() [1/4]

double_radio_property::double_radio_property ( double  d,
const radio_values v 
)
inline

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

Referenced by clone().

◆ double_radio_property() [2/4]

double_radio_property::double_radio_property ( const std::string nm,
const graphics_handle h,
const std::string v 
)
inline

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

◆ double_radio_property() [3/4]

double_radio_property::double_radio_property ( const std::string nm,
const graphics_handle h,
const double_radio_property v 
)
inline

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

◆ double_radio_property() [4/4]

double_radio_property::double_radio_property ( const double_radio_property p)
inline

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

Member Function Documentation

◆ add_listener()

void base_property::add_listener ( const octave_value v,
listener_mode  mode = POSTSET 
)
inlineinherited

◆ clone()

base_property* double_radio_property::clone ( void  ) const
inlinevirtual

Reimplemented from base_property.

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

References double_radio_property().

◆ current_value()

const std::string& double_radio_property::current_value ( void  ) const
inline

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

References current_type, current_val, error(), and radio_t.

◆ delete_listener()

void base_property::delete_listener ( const octave_value v = octave_value (),
listener_mode  mode = POSTSET 
)
inlineinherited

◆ do_set()

bool double_radio_property::do_set ( const octave_value v)
protectedvirtual

◆ double_value()

double double_radio_property::double_value ( void  ) const
inline

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

References current_type, double_t, dval, error(), and base_property::get_name().

◆ get()

octave_value double_radio_property::get ( void  ) const
inlinevirtual

Reimplemented from base_property.

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

References current_type, current_val, double_t, and dval.

◆ get_id()

int base_property::get_id ( void  ) const
inlineinherited

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

References base_property::id.

Referenced by property::get_id().

◆ get_name()

◆ get_parent()

graphics_handle base_property::get_parent ( void  ) const
inlineinherited

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

References base_property::parent.

Referenced by callback_property::execute(), and property::get_parent().

◆ is()

bool double_radio_property::is ( const std::string v) const
inline

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

References current_val, and is_radio().

◆ is_double()

bool double_radio_property::is_double ( void  ) const
inline

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

References current_type, and double_t.

◆ is_hidden()

bool base_property::is_hidden ( void  ) const
inlineinherited

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

References base_property::hidden.

Referenced by property::is_hidden().

◆ is_radio()

bool double_radio_property::is_radio ( void  ) const
inlinevirtual

Reimplemented from base_property.

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

References current_type, and radio_t.

Referenced by is().

◆ ok()

bool base_property::ok ( void  ) const
inlineinherited

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

References octave_handle::ok(), and base_property::parent.

Referenced by property::ok().

◆ operator octave_value()

double_radio_property::operator octave_value ( void  ) const
inline

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

◆ operator=()

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

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

References val.

◆ run_listeners()

void base_property::run_listeners ( listener_mode  mode = POSTSET)
inherited

◆ set()

bool base_property::set ( const octave_value v,
bool  do_run = true,
bool  do_notify_toolkit = true 
)
inherited

◆ set_hidden()

void base_property::set_hidden ( bool  flag)
inlineinherited

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

References base_property::hidden.

Referenced by property::set_hidden().

◆ set_id()

void base_property::set_id ( int  d)
inlineinherited

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

References d.

Referenced by property::set_id().

◆ set_name()

void base_property::set_name ( const std::string s)
inlineinherited

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

References base_property::name, and s.

Referenced by property::set_name().

◆ set_parent()

void base_property::set_parent ( const graphics_handle h)
inlineinherited

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

References h, and base_property::parent.

Referenced by property::set_parent().

◆ values_as_cell()

virtual Cell base_property::values_as_cell ( void  ) const
inlinevirtualinherited

Reimplemented in color_property, and radio_property.

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

References error(), and base_property::name.

Referenced by property::values_as_cell().

◆ values_as_string()

virtual std::string base_property::values_as_string ( void  ) const
inlinevirtualinherited

Reimplemented in color_property, and radio_property.

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

References error(), and base_property::name.

Referenced by property::values_as_string().

Member Data Documentation

◆ current_type

enum double_radio_property::current_enum double_radio_property::current_type
private

◆ current_val

std::string double_radio_property::current_val
private

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

Referenced by current_value(), do_set(), get(), and is().

◆ dval

double double_radio_property::dval
private

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

Referenced by do_set(), double_value(), and get().

◆ radio_val

radio_values double_radio_property::radio_val
private

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

Referenced by do_set().


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