GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "graphics.h"
Public Member Functions | |
OCTINTERP_API | radio_values (const std::string &opt_string="") |
OCTINTERP_API | radio_values (const std::string &opt_string="") |
radio_values (const radio_values &a) | |
radio_values (const radio_values &a) | |
bool | contains (const std::string &val, std::string &match) |
bool | contains (const std::string &val, std::string &match) |
std::string | default_value (void) const |
std::string | default_value (void) const |
octave_idx_type | nelem (void) const |
octave_idx_type | nelem (void) const |
radio_values & | operator= (const radio_values &a) |
radio_values & | operator= (const radio_values &a) |
bool | validate (const std::string &val, std::string &match) |
bool | validate (const std::string &val, std::string &match) |
Cell | values_as_cell (void) const |
Cell | values_as_cell (void) const |
std::string | values_as_string (void) const |
std::string | values_as_string (void) const |
Private Attributes | |
std::string | default_val |
std::set< caseless_str > | possible_vals |
Definition at line 827 of file graphics.h.
radio_values::radio_values | ( | const std::string & | opt_string = "" | ) |
Definition at line 1179 of file graphics.cc.
References default_val, done, possible_vals, string, and t.
|
inline |
Definition at line 832 of file graphics.h.
OCTINTERP_API radio_values::radio_values | ( | const std::string & | opt_string = "" | ) |
|
inline |
Definition at line 830 of file graphics.in.h.
|
inline |
Definition at line 856 of file graphics.in.h.
References k, possible_vals, and string.
|
inline |
Definition at line 858 of file graphics.h.
References k, possible_vals, and string.
Referenced by color_property::do_set(), double_radio_property::do_set(), and validate().
|
inline |
Definition at line 844 of file graphics.in.h.
References default_val.
|
inline |
Definition at line 846 of file graphics.h.
References default_val.
Referenced by property::create(), and values_as_string().
|
inline |
Definition at line 899 of file graphics.in.h.
References possible_vals.
|
inline |
Definition at line 901 of file graphics.h.
References possible_vals.
Referenced by values_as_cell().
|
inline |
Definition at line 833 of file graphics.in.h.
References default_val, and possible_vals.
|
inline |
Definition at line 835 of file graphics.h.
References default_val, and possible_vals.
|
inline |
Definition at line 846 of file graphics.in.h.
References contains(), error(), and retval.
|
inline |
Definition at line 848 of file graphics.h.
References contains(), error(), and retval.
Referenced by radio_property::do_set().
Cell radio_values::values_as_cell | ( | void | ) | const |
Cell radio_values::values_as_cell | ( | void | ) | const |
Definition at line 1243 of file graphics.cc.
References nelem(), possible_vals, retval, and string.
Referenced by radio_property::values_as_cell(), and color_property::values_as_cell().
std::string radio_values::values_as_string | ( | void | ) | const |
std::string radio_values::values_as_string | ( | void | ) | const |
Definition at line 1214 of file graphics.cc.
References default_value(), possible_vals, retval, and string.
Referenced by radio_property::values_as_string(), and color_property::values_as_string().
|
private |
Definition at line 905 of file graphics.h.
Referenced by default_value(), operator=(), and radio_values().
|
private |
Definition at line 906 of file graphics.h.
Referenced by contains(), nelem(), operator=(), radio_values(), values_as_cell(), and values_as_string().