Navigation

Operators and Keywords

Function List:

C++ API

base_property Class Reference

#include <graphics.h>

Inherited by any_property, array_property, callback_property, children_property, color_property, double_property, double_radio_property, handle_property, radio_property, string_array_property, and string_property.

Collaboration diagram for base_property:

List of all members.

Public Member Functions

 base_property (void)
 base_property (const std::string &s, const graphics_handle &h)
 base_property (const base_property &p)
virtual ~base_property (void)
bool ok (void) const
std::string get_name (void) const
void set_name (const std::string &s)
graphics_handle get_parent (void) const
void set_parent (const graphics_handle &h)
bool is_hidden (void) const
void set_hidden (bool flag)
virtual bool is_radio (void) const
int get_id (void) const
void set_id (int d)
bool set (const octave_value &v, bool do_run=true)
virtual octave_value get (void) const
virtual std::string values_as_string (void) const
virtual Cell values_as_cell (void) const
base_propertyoperator= (const octave_value &val)
void add_listener (const octave_value &v, listener_mode mode=POSTSET)
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=POSTSET)
OCTINTERP_API void run_listeners (listener_mode mode=POSTSET)
virtual base_propertyclone (void) const

Protected Member Functions

virtual bool do_set (const octave_value &)

Friends

class property

Constructor & Destructor Documentation

base_property::base_property ( void   )  [inline]
base_property::base_property ( const std::string &  s,
const graphics_handle h 
) [inline]
base_property::base_property ( const base_property p  )  [inline]
virtual base_property::~base_property ( void   )  [inline, virtual]

Member Function Documentation

void base_property::add_listener ( const octave_value v,
listener_mode  mode = POSTSET 
) [inline]
void base_property::delete_listener ( const octave_value v = octave_value (),
listener_mode  mode = POSTSET 
) [inline]
int base_property::get_id ( void   )  const [inline]
std::string base_property::get_name ( void   )  const [inline]
graphics_handle base_property::get_parent ( void   )  const [inline]
bool base_property::is_hidden ( void   )  const [inline]
virtual bool base_property::is_radio ( void   )  const [inline, virtual]
bool base_property::ok ( void   )  const [inline]
void base_property::run_listeners ( listener_mode  mode = POSTSET  ) 
bool base_property::set ( const octave_value v,
bool  do_run = true 
)
void base_property::set_hidden ( bool  flag  )  [inline]
void base_property::set_id ( int  d  )  [inline]
void base_property::set_name ( const std::string &  s  )  [inline]
void base_property::set_parent ( const graphics_handle h  )  [inline]
virtual Cell base_property::values_as_cell ( void   )  const [inline, virtual]

Reimplemented in radio_property, and color_property.

virtual std::string base_property::values_as_string ( void   )  const [inline, virtual]

Reimplemented in radio_property, and color_property.


Friends And Related Function Documentation

friend class property [friend]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines