GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
array_property Class Reference

#include "graphics.h"

Inheritance diagram for array_property:
Inheritance graph
[legend]
Collaboration diagram for array_property:
Collaboration graph
[legend]

Public Member Functions

 array_property (void)
 array_property (void)
 array_property (const std::string &nm, const graphics_handle &h, const octave_value &m)
 array_property (const std::string &nm, const graphics_handle &h, const octave_value &m)
 array_property (const array_property &p)
 array_property (const array_property &p)
void add_constraint (const std::string &type)
void add_constraint (const std::string &type)
void add_constraint (const dim_vector &dims)
void add_constraint (const dim_vector &dims)
void add_listener (const octave_value &v, listener_mode mode=POSTSET)
void add_listener (const octave_value &v, listener_mode mode=POSTSET)
base_propertyclone (void) const
base_propertyclone (void) const
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=POSTSET)
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=POSTSET)
octave_value get (void) const
octave_value get (void) const
int get_id (void) const
int get_id (void) const
Matrix get_limits (void) const
Matrix get_limits (void) const
std::string get_name (void) const
std::string get_name (void) const
graphics_handle get_parent (void) const
graphics_handle get_parent (void) const
bool is_hidden (void) const
bool is_hidden (void) const
virtual bool is_radio (void) const
virtual bool is_radio (void) const
double max_neg (void) const
double max_neg (void) const
double max_val (void) const
double max_val (void) const
double min_pos (void) const
double min_pos (void) const
double min_val (void) const
double min_val (void) const
bool ok (void) const
bool ok (void) const
array_propertyoperator= (const octave_value &val)
array_propertyoperator= (const octave_value &val)
OCTINTERP_API void run_listeners (listener_mode mode=POSTSET)
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)
OCTINTERP_API bool set (const octave_value &v, bool do_run=true, bool do_notify_toolkit=true)
void set_hidden (bool flag)
void set_hidden (bool flag)
void set_id (int d)
void set_id (int d)
void set_name (const std::string &s)
void set_name (const std::string &s)
void set_parent (const graphics_handle &h)
void set_parent (const graphics_handle &h)
virtual Cell values_as_cell (void) const
virtual Cell values_as_cell (void) const
virtual std::string values_as_string (void) const
virtual std::string values_as_string (void) const

Protected Member Functions

bool do_set (const octave_value &v)
bool do_set (const octave_value &v)

Protected Attributes

octave_value data
std::list< dim_vectorsize_constraints
std::set< std::string > type_constraints
double xmax
double xmaxp
double xmin
double xminp

Private Member Functions

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

Detailed Description

Definition at line 1321 of file graphics.h.

Constructor & Destructor Documentation

array_property::array_property ( void  )
inline

Definition at line 1324 of file graphics.h.

References get_data_limits().

Referenced by clone().

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

Definition at line 1332 of file graphics.h.

References get_data_limits().

array_property::array_property ( const array_property p)
inline

Definition at line 1344 of file graphics.h.

array_property::array_property ( void  )
inline

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

References get_data_limits().

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

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

References get_data_limits().

array_property::array_property ( const array_property p)
inline

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

Member Function Documentation

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

Reimplemented in row_vector_property, and row_vector_property.

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

References type_constraints.

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

Reimplemented in row_vector_property, and row_vector_property.

Definition at line 1352 of file graphics.h.

References type_constraints.

void array_property::add_constraint ( const dim_vector dims)
inline

Reimplemented in row_vector_property, and row_vector_property.

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

References size_constraints.

void array_property::add_constraint ( const dim_vector dims)
inline

Reimplemented in row_vector_property, and row_vector_property.

Definition at line 1355 of file graphics.h.

References size_constraints.

void base_property::add_listener ( const octave_value v,
listener_mode  mode = POSTSET 
)
inlineinherited
void base_property::add_listener ( const octave_value v,
listener_mode  mode = POSTSET 
)
inlineinherited
base_property* array_property::clone ( void  ) const
inlinevirtual

Reimplemented from base_property.

Reimplemented in row_vector_property, and row_vector_property.

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

References array_property(), size_constraints, and type_constraints.

base_property* array_property::clone ( void  ) const
inlinevirtual

Reimplemented from base_property.

Reimplemented in row_vector_property, and row_vector_property.

Definition at line 1381 of file graphics.h.

References array_property(), size_constraints, and type_constraints.

void base_property::delete_listener ( const octave_value v = octave_value (),
listener_mode  mode = POSTSET 
)
inlineinherited
void base_property::delete_listener ( const octave_value v = octave_value (),
listener_mode  mode = POSTSET 
)
inlineinherited
bool array_property::do_set ( const octave_value v)
inlineprotectedvirtual
bool array_property::do_set ( const octave_value v)
inlineprotectedvirtual
octave_value array_property::get ( void  ) const
inlinevirtual

Reimplemented from base_property.

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

References data.

octave_value array_property::get ( void  ) const
inlinevirtual
OCTINTERP_API void array_property::get_data_limits ( void  )
private
void array_property::get_data_limits ( void  )
private
int base_property::get_id ( void  ) const
inlineinherited

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

References base_property::id.

int base_property::get_id ( void  ) const
inlineinherited

Definition at line 309 of file graphics.h.

References base_property::id.

Referenced by property::get_id().

Matrix array_property::get_limits ( void  ) const
inline

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

References max_neg(), max_val(), min_pos(), and min_val().

Matrix array_property::get_limits ( void  ) const
inline

Definition at line 1363 of file graphics.h.

References max_neg(), max_val(), min_pos(), and min_val().

std::string base_property::get_name ( void  ) const
inlineinherited

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

References base_property::name.

std::string base_property::get_name ( void  ) const
inlineinherited
graphics_handle base_property::get_parent ( void  ) const
inlineinherited

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

References base_property::parent.

graphics_handle base_property::get_parent ( void  ) const
inlineinherited

Definition at line 299 of file graphics.h.

References base_property::parent.

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

OCTINTERP_API bool array_property::is_equal ( const octave_value v) const
private
bool array_property::is_equal ( const octave_value v) const
private
bool base_property::is_hidden ( void  ) const
inlineinherited

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

References base_property::hidden.

bool base_property::is_hidden ( void  ) const
inlineinherited

Definition at line 303 of file graphics.h.

References base_property::hidden.

Referenced by property::is_hidden().

virtual bool base_property::is_radio ( void  ) const
inlinevirtualinherited
virtual bool base_property::is_radio ( void  ) const
inlinevirtualinherited
double array_property::max_neg ( void  ) const
inline

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

References xmaxp.

double array_property::max_neg ( void  ) const
inline

Definition at line 1361 of file graphics.h.

References xmaxp.

Referenced by get_limits().

double array_property::max_val ( void  ) const
inline

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

References xmax.

double array_property::max_val ( void  ) const
inline

Definition at line 1359 of file graphics.h.

References xmax.

Referenced by get_limits().

double array_property::min_pos ( void  ) const
inline

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

References xminp.

double array_property::min_pos ( void  ) const
inline

Definition at line 1360 of file graphics.h.

References xminp.

Referenced by get_limits().

double array_property::min_val ( void  ) const
inline

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

References xmin.

double array_property::min_val ( void  ) const
inline

Definition at line 1358 of file graphics.h.

References xmin.

Referenced by get_limits().

bool base_property::ok ( void  ) const
inlineinherited

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

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

bool base_property::ok ( void  ) const
inlineinherited

Definition at line 293 of file graphics.h.

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

Referenced by property::ok().

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

Reimplemented from base_property.

Reimplemented in row_vector_property, and row_vector_property.

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

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

Reimplemented from base_property.

Reimplemented in row_vector_property, and row_vector_property.

Definition at line 1375 of file graphics.h.

OCTINTERP_API void base_property::run_listeners ( listener_mode  mode = POSTSET)
inherited
void base_property::run_listeners ( listener_mode  mode = POSTSET)
inherited
OCTINTERP_API bool base_property::set ( const octave_value v,
bool  do_run = true,
bool  do_notify_toolkit = true 
)
inherited
bool base_property::set ( const octave_value v,
bool  do_run = true,
bool  do_notify_toolkit = true 
)
inherited
void base_property::set_hidden ( bool  flag)
inlineinherited

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

References base_property::hidden.

void base_property::set_hidden ( bool  flag)
inlineinherited
void base_property::set_id ( int  d)
inlineinherited

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

References d.

void base_property::set_id ( int  d)
inlineinherited
void base_property::set_name ( const std::string &  s)
inlineinherited

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

References base_property::name.

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

Definition at line 297 of file graphics.h.

References base_property::name.

Referenced by property::set_name().

void base_property::set_parent ( const graphics_handle h)
inlineinherited

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

References base_property::parent.

void base_property::set_parent ( const graphics_handle h)
inlineinherited

Definition at line 301 of file graphics.h.

References base_property::parent.

Referenced by property::set_parent().

OCTINTERP_API bool array_property::validate ( const octave_value v)
private
bool array_property::validate ( const octave_value v)
private
virtual Cell base_property::values_as_cell ( void  ) const
inlinevirtualinherited

Reimplemented in color_property, color_property, radio_property, and radio_property.

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

References error(), and base_property::name.

virtual Cell base_property::values_as_cell ( void  ) const
inlinevirtualinherited

Reimplemented in color_property, color_property, radio_property, and radio_property.

Definition at line 331 of file graphics.h.

References error(), and base_property::name.

Referenced by property::values_as_cell().

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

Reimplemented in color_property, color_property, radio_property, and radio_property.

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

References error(), and base_property::name.

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

Reimplemented in color_property, color_property, radio_property, and radio_property.

Definition at line 325 of file graphics.h.

References error(), and base_property::name.

Referenced by property::values_as_string().

Member Data Documentation

octave_value array_property::data
protected

Definition at line 1423 of file graphics.h.

Referenced by do_set(), row_vector_property::do_set(), get(), get_data_limits(), and is_equal().

std::list< dim_vector > array_property::size_constraints
protected
std::set< std::string > array_property::type_constraints
protected

Definition at line 1428 of file graphics.h.

Referenced by add_constraint(), clone(), row_vector_property::clone(), and validate().

double array_property::xmax
protected

Definition at line 1425 of file graphics.h.

Referenced by get_data_limits(), and max_val().

double array_property::xmaxp
protected

Definition at line 1427 of file graphics.h.

Referenced by get_data_limits(), and max_neg().

double array_property::xmin
protected

Definition at line 1424 of file graphics.h.

Referenced by get_data_limits(), and min_val().

double array_property::xminp
protected

Definition at line 1426 of file graphics.h.

Referenced by get_data_limits(), and min_pos().


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