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

#include "graphics.h"

Public Member Functions

 radio_values (const std::string &opt_string="")
 
bool contains (const std::string &val, std::string &match)
 
std::string default_value () const
 
octave_idx_type nelem () const
 
bool validate (const std::string &val, std::string &match)
 
Cell values_as_cell () const
 
std::string values_as_string () const
 

Detailed Description

Definition at line 865 of file graphics.h.

Constructor & Destructor Documentation

◆ radio_values()

radio_values::radio_values ( const std::string &  opt_string = "")

Definition at line 1290 of file graphics.cc.

References len.

Member Function Documentation

◆ contains()

bool radio_values::contains ( const std::string &  val,
std::string &  match 
)
inline

Definition at line 884 of file graphics.h.

References len.

Referenced by color_property::do_set(), and double_radio_property::do_set().

◆ default_value()

std::string radio_values::default_value ( ) const
inline

Definition at line 872 of file graphics.h.

Referenced by property::create(), and values_as_string().

◆ nelem()

octave_idx_type radio_values::nelem ( ) const
inline

Definition at line 927 of file graphics.h.

Referenced by values_as_cell().

◆ validate()

bool radio_values::validate ( const std::string &  val,
std::string &  match 
)
inline

Definition at line 874 of file graphics.h.

References error().

◆ values_as_cell()

Cell radio_values::values_as_cell ( ) const

Definition at line 1361 of file graphics.cc.

References nelem().

◆ values_as_string()

std::string radio_values::values_as_string ( ) const

Definition at line 1332 of file graphics.cc.

References default_value().


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