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 Attributes | Friends | List of all members
base_property Class Reference

#include "graphics.h"

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

Public Member Functions

 base_property (void)
 base_property (void)
 base_property (const std::string &s, const graphics_handle &h)
 base_property (const std::string &s, const graphics_handle &h)
 base_property (const base_property &p)
 base_property (const base_property &p)
virtual ~base_property (void)
virtual ~base_property (void)
void add_listener (const octave_value &v, listener_mode mode=POSTSET)
void add_listener (const octave_value &v, listener_mode mode=POSTSET)
virtual base_propertyclone (void) const
virtual 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)
virtual octave_value get (void) const
virtual octave_value get (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
base_propertyoperator= (const octave_value &val)
base_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

virtual bool do_set (const octave_value &)
virtual bool do_set (const octave_value &)

Private Types

typedef std::map
< listener_mode,
octave_value_list
listener_map
typedef std::map
< listener_mode,
octave_value_list
listener_map
typedef std::map
< listener_mode,
octave_value_list >
::const_iterator 
listener_map_const_iterator
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
typedef std::map
< listener_mode,
octave_value_list >::iterator 
listener_map_iterator

Private Attributes

octave_refcount< intcount
bool hidden
int id
listener_map listeners
std::string name
graphics_handle parent

Friends

class property

Detailed Description

Definition at line 272 of file graphics.h.

Member Typedef Documentation

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

Definition at line 413 of file graphics.h.

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

Definition at line 417 of file graphics.h.

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

Definition at line 415 of file graphics.h.

Constructor & Destructor Documentation

base_property::base_property ( void  )
inline

Definition at line 278 of file graphics.h.

Referenced by clone().

base_property::base_property ( const std::string &  s,
const graphics_handle h 
)
inline

Definition at line 282 of file graphics.h.

base_property::base_property ( const base_property p)
inline

Definition at line 286 of file graphics.h.

virtual base_property::~base_property ( void  )
inlinevirtual

Definition at line 291 of file graphics.h.

base_property::base_property ( void  )
inline

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

base_property::base_property ( const std::string &  s,
const graphics_handle h 
)
inline

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

base_property::base_property ( const base_property p)
inline

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

virtual base_property::~base_property ( void  )
inlinevirtual

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

Member Function Documentation

void base_property::add_listener ( const octave_value v,
listener_mode  mode = POSTSET 
)
inline
void base_property::add_listener ( const octave_value v,
listener_mode  mode = POSTSET 
)
inline

Definition at line 343 of file graphics.h.

References octave_value_list::length(), listeners, and octave_value_list::resize().

Referenced by property::add_listener().

virtual base_property* base_property::clone ( void  ) const
inlinevirtual
virtual base_property* base_property::clone ( void  ) const
inlinevirtual
void base_property::delete_listener ( const octave_value v = octave_value (),
listener_mode  mode = POSTSET 
)
inline
void base_property::delete_listener ( const octave_value v = octave_value (),
listener_mode  mode = POSTSET 
)
inline
virtual bool base_property::do_set ( const octave_value )
inlineprotectedvirtual
virtual bool base_property::do_set ( const octave_value )
inlineprotectedvirtual
virtual octave_value base_property::get ( void  ) const
inlinevirtual
virtual octave_value base_property::get ( void  ) const
inlinevirtual
int base_property::get_id ( void  ) const
inline

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

References id.

int base_property::get_id ( void  ) const
inline

Definition at line 309 of file graphics.h.

References id.

Referenced by property::get_id().

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

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

References name.

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

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

References parent.

graphics_handle base_property::get_parent ( void  ) const
inline

Definition at line 299 of file graphics.h.

References parent.

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

bool base_property::is_hidden ( void  ) const
inline

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

References hidden.

bool base_property::is_hidden ( void  ) const
inline

Definition at line 303 of file graphics.h.

References hidden.

Referenced by property::is_hidden().

virtual bool base_property::is_radio ( void  ) const
inlinevirtual
virtual bool base_property::is_radio ( void  ) const
inlinevirtual
bool base_property::ok ( void  ) const
inline

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

References octave_handle::ok(), and parent.

bool base_property::ok ( void  ) const
inline

Definition at line 293 of file graphics.h.

References octave_handle::ok(), and parent.

Referenced by property::ok().

base_property& base_property::operator= ( const octave_value val)
inline
base_property& base_property::operator= ( const octave_value val)
inline
OCTINTERP_API void base_property::run_listeners ( listener_mode  mode = POSTSET)
void base_property::run_listeners ( listener_mode  mode = POSTSET)
OCTINTERP_API bool base_property::set ( const octave_value v,
bool  do_run = true,
bool  do_notify_toolkit = true 
)
bool base_property::set ( const octave_value v,
bool  do_run = true,
bool  do_notify_toolkit = true 
)
void base_property::set_hidden ( bool  flag)
inline

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

References hidden.

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

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

References d.

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

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

References name.

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

Definition at line 297 of file graphics.h.

References name.

Referenced by property::set_name().

void base_property::set_parent ( const graphics_handle h)
inline

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

References parent.

void base_property::set_parent ( const graphics_handle h)
inline

Definition at line 301 of file graphics.h.

References parent.

Referenced by property::set_parent().

virtual Cell base_property::values_as_cell ( void  ) const
inlinevirtual

Reimplemented in color_property, color_property, radio_property, and radio_property.

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

References error(), and name.

virtual Cell base_property::values_as_cell ( void  ) const
inlinevirtual

Reimplemented in color_property, color_property, radio_property, and radio_property.

Definition at line 331 of file graphics.h.

References error(), and name.

Referenced by property::values_as_cell().

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

Reimplemented in color_property, color_property, radio_property, and radio_property.

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

References error(), and name.

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

Reimplemented in color_property, color_property, radio_property, and radio_property.

Definition at line 325 of file graphics.h.

References error(), and name.

Referenced by property::values_as_string().

Friends And Related Function Documentation

property
friend

Definition at line 275 of file graphics.h.

Member Data Documentation

octave_refcount< int > base_property::count
private

Definition at line 421 of file graphics.h.

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

bool base_property::hidden
private

Definition at line 424 of file graphics.h.

Referenced by is_hidden(), and set_hidden().

int base_property::id
private

Definition at line 420 of file graphics.h.

Referenced by get_id().

listener_map base_property::listeners
private

Definition at line 425 of file graphics.h.

Referenced by add_listener(), delete_listener(), and run_listeners().

std::string base_property::name
private

Definition at line 422 of file graphics.h.

Referenced by do_set(), get(), get_name(), set_name(), values_as_cell(), and values_as_string().

graphics_handle base_property::parent
private

Definition at line 423 of file graphics.h.

Referenced by get_parent(), ok(), run_listeners(), set(), and set_parent().


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