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

#include "graphics.in.h"

Inheritance diagram for row_vector_property:
Collaboration diagram for row_vector_property:

Public Member Functions

 row_vector_property (const row_vector_property &p)
 
 row_vector_property (const std::string &nm, const graphics_handle &h, const octave_value &m)
 
void add_constraint (const dim_vector &dims)
 
void add_constraint (const finite_type finite)
 
void add_constraint (const std::string &type)
 
void add_constraint (const std::string &type, double val, bool inclusive)
 
void add_constraint (octave_idx_type len)
 
void add_listener (const octave_value &v, listener_mode mode=GCB_POSTSET)
 
base_propertyclone (void) const
 
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=GCB_POSTSET)
 
octave_value get (void) const
 
int get_id (void) const
 
Matrix get_limits (void) const
 
std::string get_name (void) const
 
graphics_handle get_parent (void) const
 
bool is_hidden (void) const
 
virtual bool is_radio (void) const
 
double max_neg (void) const
 
double max_val (void) const
 
double min_pos (void) const
 
double min_val (void) const
 
bool ok (void) const
 
row_vector_propertyoperator= (const octave_value &val)
 
OCTINTERP_API void run_listeners (listener_mode mode=GCB_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

bool do_set (const octave_value &v)
 

Protected Attributes

octave_value data
 
finite_type finite_constraint
 
std::pair< double, bool > maxval
 
std::pair< double, bool > minval
 
std::list< dim_vectorsize_constraints
 
std::set< std::string > type_constraints
 
double xmax
 
double xmaxp
 
double xmin
 
double xminp
 

Private Types

typedef std::map< listener_mode, octave_value_listlistener_map
 
typedef std::map< listener_mode, octave_value_list >::const_iterator listener_map_const_iterator
 
typedef std::map< listener_mode, octave_value_list >::iterator listener_map_iterator
 

Private Member Functions

OCTINTERP_API void get_data_limits (void)
 
OCTINTERP_API bool is_equal (const octave_value &v) const
 
OCTINTERP_API bool validate (const octave_value &v)
 

Private Attributes

octave::refcount< octave_idx_typecount
 
bool hidden
 
int id
 
listener_map listeners
 
std::string name
 
graphics_handle parent
 

Detailed Description

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

Member Typedef Documentation

◆ listener_map

typedef std::map<listener_mode, octave_value_list> base_property::listener_map
privateinherited

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

◆ listener_map_const_iterator

typedef std::map<listener_mode, octave_value_list>::const_iterator base_property::listener_map_const_iterator
privateinherited

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

◆ listener_map_iterator

typedef std::map<listener_mode, octave_value_list>::iterator base_property::listener_map_iterator
privateinherited

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

Constructor & Destructor Documentation

◆ row_vector_property() [1/2]

row_vector_property::row_vector_property ( const std::string &  nm,
const graphics_handle h,
const octave_value m 
)
inline

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

References add_constraint().

Referenced by clone().

◆ row_vector_property() [2/2]

row_vector_property::row_vector_property ( const row_vector_property p)
inline

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

References add_constraint().

Member Function Documentation

◆ add_constraint() [1/5]

void row_vector_property::add_constraint ( const dim_vector dims)
inline

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

References array_property::add_constraint().

◆ add_constraint() [2/5]

void row_vector_property::add_constraint ( const finite_type  finite)
inline

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

References array_property::add_constraint().

◆ add_constraint() [3/5]

void row_vector_property::add_constraint ( const std::string &  type)
inline

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

References array_property::add_constraint().

Referenced by row_vector_property(), and add_constraint().

◆ add_constraint() [4/5]

void row_vector_property::add_constraint ( const std::string &  type,
double  val,
bool  inclusive 
)
inline

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

References array_property::add_constraint().

◆ add_constraint() [5/5]

void row_vector_property::add_constraint ( octave_idx_type  len)
inline

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

References add_constraint(), len, and array_property::size_constraints.

◆ add_listener()

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

◆ clone()

base_property* row_vector_property::clone ( void  ) const
inlinevirtual

◆ delete_listener()

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

◆ do_set()

bool row_vector_property::do_set ( const octave_value v)
inlineprotectedvirtual

◆ get()

octave_value array_property::get ( void  ) const
inlinevirtualinherited

Reimplemented from base_property.

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

References array_property::data.

◆ get_data_limits()

◆ get_id()

int base_property::get_id ( void  ) const
inlineinherited

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

References base_property::id.

Referenced by property::get_id().

◆ get_limits()

Matrix array_property::get_limits ( void  ) const
inlineinherited

◆ get_name()

◆ get_parent()

graphics_handle base_property::get_parent ( void  ) const
inlineinherited

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

References base_property::parent.

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

◆ is_equal()

◆ is_hidden()

bool base_property::is_hidden ( void  ) const
inlineinherited

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

References base_property::hidden.

Referenced by property::is_hidden().

◆ is_radio()

virtual bool base_property::is_radio ( void  ) const
inlinevirtualinherited

Reimplemented in double_radio_property, color_property, and radio_property.

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

Referenced by property::is_radio().

◆ max_neg()

double array_property::max_neg ( void  ) const
inlineinherited

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

References array_property::xmaxp.

Referenced by array_property::get_limits().

◆ max_val()

double array_property::max_val ( void  ) const
inlineinherited

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

References array_property::xmax.

Referenced by array_property::get_limits().

◆ min_pos()

double array_property::min_pos ( void  ) const
inlineinherited

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

References array_property::xminp.

Referenced by array_property::get_limits().

◆ min_val()

double array_property::min_val ( void  ) const
inlineinherited

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

References array_property::xmin.

Referenced by array_property::get_limits().

◆ ok()

bool base_property::ok ( void  ) const
inlineinherited

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

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

Referenced by property::ok().

◆ operator=()

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

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

References base_property::set().

◆ run_listeners()

◆ set()

◆ set_hidden()

void base_property::set_hidden ( bool  flag)
inlineinherited

Definition at line 313 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 319 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 305 of file graphics.in.h.

References base_property::name.

Referenced by property::set_name().

◆ set_parent()

void base_property::set_parent ( const graphics_handle h)
inlineinherited

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

References base_property::parent.

Referenced by property::set_parent().

◆ validate()

OCTINTERP_API bool row_vector_property::validate ( const octave_value v)
private

◆ values_as_cell()

virtual Cell base_property::values_as_cell ( void  ) const
inlinevirtualinherited

Reimplemented in color_property, and radio_property.

Definition at line 336 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 331 of file graphics.in.h.

References error(), and base_property::name.

Referenced by property::values_as_string().

Member Data Documentation

◆ count

octave::refcount<octave_idx_type> base_property::count
privateinherited

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

Referenced by property::property(), property::~property(), and property::operator=().

◆ data

octave_value array_property::data
protectedinherited

◆ finite_constraint

finite_type array_property::finite_constraint
protectedinherited

◆ hidden

bool base_property::hidden
privateinherited

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

Referenced by base_property::is_hidden(), and base_property::set_hidden().

◆ id

int base_property::id
privateinherited

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

Referenced by base_property::get_id().

◆ listeners

listener_map base_property::listeners
privateinherited

◆ maxval

std::pair<double, bool> array_property::maxval
protectedinherited

◆ minval

std::pair<double, bool> array_property::minval
protectedinherited

◆ name

◆ parent

◆ size_constraints

std::list<dim_vector> array_property::size_constraints
protectedinherited

◆ type_constraints

std::set<std::string> array_property::type_constraints
protectedinherited

◆ xmax

double array_property::xmax
protectedinherited

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

Referenced by array_property::get_data_limits(), and array_property::max_val().

◆ xmaxp

double array_property::xmaxp
protectedinherited

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

Referenced by array_property::get_data_limits(), and array_property::max_neg().

◆ xmin

double array_property::xmin
protectedinherited

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

Referenced by array_property::get_data_limits(), and array_property::min_val().

◆ xminp

double array_property::xminp
protectedinherited

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

Referenced by array_property::get_data_limits(), and array_property::min_pos().


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