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 | Private Types | Private Member Functions | Private Attributes | List of all members
children_property Class Reference

#include "graphics.h"

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

Public Member Functions

 children_property (void)
 children_property (void)
 children_property (const std::string &nm, const graphics_handle &h, const Matrix &val)
 children_property (const std::string &nm, const graphics_handle &h, const Matrix &val)
 children_property (const children_property &p)
 children_property (const children_property &p)
void add_listener (const octave_value &v, listener_mode mode=POSTSET)
void add_listener (const octave_value &v, listener_mode mode=POSTSET)
void adopt (const double &val)
void adopt (const double &val)
base_propertyclone (void) const
base_propertyclone (void) const
void delete_children (bool clear=false)
void delete_children (bool clear=false)
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
Matrix get_all (void) const
Matrix get_all (void) const
Matrix get_children (void) const
Matrix get_children (void) const
Matrix get_hidden (void) const
Matrix get_hidden (void) const
int get_id (void) const
int get_id (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
bool ok (void) const
bool ok (void) const
children_propertyoperator= (const octave_value &val)
children_propertyoperator= (const octave_value &val)
bool remove_child (const double &val)
bool remove_child (const double &val)
void renumber (graphics_handle old_gh, graphics_handle new_gh)
void renumber (graphics_handle old_gh, graphics_handle new_gh)
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 &val)
bool do_set (const octave_value &val)

Private Types

typedef std::list< double >
::iterator 
children_list_iterator
typedef std::list< double >
::iterator 
children_list_iterator
typedef std::list< double >
::const_iterator 
const_children_list_iterator
typedef std::list< double >
::const_iterator 
const_children_list_iterator

Private Member Functions

void do_adopt_child (const double &val)
void do_adopt_child (const double &val)
void do_delete_children (bool clear)
void do_delete_children (bool clear)
Matrix do_get_all_children (void) const
Matrix do_get_all_children (void) const
Matrix do_get_children (bool return_hidden) const
Matrix do_get_children (bool return_hidden) const
void do_init_children (const Matrix &val)
void do_init_children (const Matrix &val)
void do_init_children (const std::list< double > &val)
void do_init_children (const std::list< double > &val)
bool do_remove_child (double child)
bool do_remove_child (double child)

Private Attributes

std::list< doublechildren_list

Detailed Description

Definition at line 1626 of file graphics.h.

Member Typedef Documentation

typedef std::list<double>::iterator children_property::children_list_iterator
private

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

typedef std::list<double>::iterator children_property::children_list_iterator
private

Definition at line 1707 of file graphics.h.

typedef std::list<double>::const_iterator children_property::const_children_list_iterator
private

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

typedef std::list<double>::const_iterator children_property::const_children_list_iterator
private

Definition at line 1708 of file graphics.h.

Constructor & Destructor Documentation

children_property::children_property ( void  )
inline

Definition at line 1629 of file graphics.h.

References do_init_children().

Referenced by clone().

children_property::children_property ( const std::string &  nm,
const graphics_handle h,
const Matrix val 
)
inline

Definition at line 1635 of file graphics.h.

References do_init_children().

children_property::children_property ( const children_property p)
inline

Definition at line 1642 of file graphics.h.

References children_list, and do_init_children().

children_property::children_property ( void  )
inline

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

References do_init_children().

children_property::children_property ( const std::string &  nm,
const graphics_handle h,
const Matrix val 
)
inline

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

References do_init_children().

children_property::children_property ( const children_property p)
inline

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

References children_list, and do_init_children().

Member Function Documentation

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
void children_property::adopt ( const double val)
inline

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

References do_adopt_child().

void children_property::adopt ( const double val)
inline

Definition at line 1661 of file graphics.h.

References do_adopt_child().

base_property* children_property::clone ( void  ) const
inlinevirtual

Reimplemented from base_property.

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

References children_property().

base_property* children_property::clone ( void  ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 1654 of file graphics.h.

References children_property().

void children_property::delete_children ( bool  clear = false)
inline

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

References clear(), and do_delete_children().

void children_property::delete_children ( bool  clear = false)
inline

Definition at line 1686 of file graphics.h.

References clear(), and do_delete_children().

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
void children_property::do_adopt_child ( const double val)
inlineprivate

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

References children_list.

void children_property::do_adopt_child ( const double val)
inlineprivate

Definition at line 1805 of file graphics.h.

References children_list.

Referenced by adopt().

void children_property::do_delete_children ( bool  clear)
private
void children_property::do_delete_children ( bool  clear)
private
Matrix children_property::do_get_all_children ( void  ) const
inlineprivate

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

References children_list.

Matrix children_property::do_get_all_children ( void  ) const
inlineprivate

Definition at line 1780 of file graphics.h.

References children_list.

Referenced by get_all().

Matrix children_property::do_get_children ( bool  return_hidden) const
private
Matrix children_property::do_get_children ( bool  return_hidden) const
private
void children_property::do_init_children ( const Matrix val)
inlineprivate

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

References children_list, Array< T >::numel(), and Array< T >::xelem().

void children_property::do_init_children ( const Matrix val)
inlineprivate

Definition at line 1764 of file graphics.h.

References children_list, Array< T >::numel(), and Array< T >::xelem().

Referenced by children_property().

void children_property::do_init_children ( const std::list< double > &  val)
inlineprivate

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

References children_list.

void children_property::do_init_children ( const std::list< double > &  val)
inlineprivate

Definition at line 1771 of file graphics.h.

References children_list.

bool children_property::do_remove_child ( double  child)
inlineprivate

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

References children_list.

bool children_property::do_remove_child ( double  child)
inlineprivate

Definition at line 1791 of file graphics.h.

References children_list.

Referenced by remove_child().

bool children_property::do_set ( const octave_value val)
inlineprotectedvirtual
bool children_property::do_set ( const octave_value val)
inlineprotectedvirtual
octave_value children_property::get ( void  ) const
inlinevirtual

Reimplemented from base_property.

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

References get_children(), and octave_value().

octave_value children_property::get ( void  ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 1681 of file graphics.h.

References get_children(), and octave_value().

Matrix children_property::get_all ( void  ) const
inline

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

References do_get_all_children().

Matrix children_property::get_all ( void  ) const
inline

Definition at line 1676 of file graphics.h.

References do_get_all_children().

Matrix children_property::get_children ( void  ) const
inline

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

References do_get_children().

Matrix children_property::get_children ( void  ) const
inline

Definition at line 1666 of file graphics.h.

References do_get_children().

Referenced by get().

Matrix children_property::get_hidden ( void  ) const
inline

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

References do_get_children().

Matrix children_property::get_hidden ( void  ) const
inline

Definition at line 1671 of file graphics.h.

References do_get_children().

Referenced by do_set().

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().

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().

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
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().

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

Reimplemented from base_property.

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

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

Reimplemented from base_property.

Definition at line 1648 of file graphics.h.

bool children_property::remove_child ( const double val)
inline

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

References do_remove_child().

bool children_property::remove_child ( const double val)
inline

Definition at line 1656 of file graphics.h.

References do_remove_child().

void children_property::renumber ( graphics_handle  old_gh,
graphics_handle  new_gh 
)
inline

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

References children_list, error(), and octave_handle::value().

void children_property::renumber ( graphics_handle  old_gh,
graphics_handle  new_gh 
)
inline

Definition at line 1691 of file graphics.h.

References children_list, error(), and octave_handle::value().

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().

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

std::list< double > children_property::children_list
private

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