k3d::ienumeration_property Class Reference

Abstract interface for discovering information about an enumerated property. More...

#include <ienumeration_property.h>

Inheritance diagram for k3d::ienumeration_property:
Inheritance graph
[legend]

List of all members.

Classes

struct  enumeration_value_t
 Stores information about an individual enumeration value. More...

Public Types

typedef std::vector
< enumeration_value_t
enumeration_values_t
 Defines a collection of enumeration values.

Public Member Functions

virtual enumeration_values_t enumeration_values ()=0
 Returns the set of all valid values for this property.
virtual sigc::connection connect_enumeration_values_changed (const sigc::slot< void > &Slot)=0
 Connects a slot to a signal that will be emitted whenever the set of enumeration values changes.

Protected Member Functions

 ienumeration_property ()
 ienumeration_property (const ienumeration_property &Other)
ienumeration_propertyoperator= (const ienumeration_property &)
virtual ~ienumeration_property ()

Detailed Description

Abstract interface for discovering information about an enumerated property.


Member Typedef Documentation

Defines a collection of enumeration values.


Constructor & Destructor Documentation

k3d::ienumeration_property::ienumeration_property (  )  [inline, protected]
k3d::ienumeration_property::ienumeration_property ( const ienumeration_property Other  )  [inline, protected]
virtual k3d::ienumeration_property::~ienumeration_property (  )  [inline, protected, virtual]

Member Function Documentation

virtual sigc::connection k3d::ienumeration_property::connect_enumeration_values_changed ( const sigc::slot< void > &  Slot  )  [pure virtual]

Connects a slot to a signal that will be emitted whenever the set of enumeration values changes.

Implemented in k3d::data::enumeration_property< value_t, name_policy_t >.

Referenced by k3d::ngui::enumeration_chooser::property_model::connect_enumeration_values_changed().

virtual enumeration_values_t k3d::ienumeration_property::enumeration_values (  )  [pure virtual]

Returns the set of all valid values for this property.

Implemented in k3d::data::enumeration_property< value_t, name_policy_t >.

Referenced by k3d::ngui::enumeration_chooser::property_model::enumeration_values().

ienumeration_property& k3d::ienumeration_property::operator= ( const ienumeration_property  )  [inline, protected]

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

Generated on Mon Mar 21 07:41:44 2011 for K-3D by doxygen 1.6.3