ardour
Public Member Functions | Private Member Functions | List of all members
PBD::EnumProperty< T > Class Template Reference

#include <properties.h>

Inheritance diagram for PBD::EnumProperty< T >:
PBD::Property< T > PBD::PropertyTemplate< T > PBD::PropertyBase

Public Member Functions

 EnumProperty (PropertyDescriptor< T > q, T const &v)
 
T & operator= (T const &v)
 
- Public Member Functions inherited from PBD::Property< T >
 Property (PropertyDescriptor< T > q, T const &v)
 
 Property (PropertyDescriptor< T > q, T const &o, T const &c)
 
 Property (PropertyDescriptor< T > q, Property< T > const &v)
 
Property< T > * clone () const
 
Property< T > * clone_from_xml (const XMLNode &node) const
 
T & operator= (T const &v)
 
- Public Member Functions inherited from PBD::PropertyTemplate< T >
 PropertyTemplate (PropertyDescriptor< T > p, T const &v)
 
 PropertyTemplate (PropertyDescriptor< T > p, T const &o, T const &c)
 
 PropertyTemplate (PropertyDescriptor< T > p, PropertyTemplate< T > const &s)
 
T & operator= (T const &v)
 
PropertyTemplate< T > & operator= (PropertyTemplate< T > const &p)
 
T & operator+= (T const &v)
 
bool operator== (const T &other) const
 
bool operator!= (const T &other) const
 
 operator T const & () const
 
T const & val () const
 
bool set_value (XMLNode const &node)
 
void get_value (XMLNode &node) const
 
void clear_changes ()
 
bool changed () const
 
void invert ()
 
void get_changes_as_xml (XMLNode *history_node) const
 
void get_changes_as_properties (PropertyList &changes, Command *) const
 
void apply_changes (PropertyBase const *p)
 
- Public Member Functions inherited from PBD::PropertyBase
 PropertyBase (PropertyID pid)
 
virtual ~PropertyBase ()
 
virtual void clear_owned_changes ()
 
virtual void rdiff (std::vector< Command * > &) const
 
const gchar * property_name () const
 
PropertyID property_id () const
 
bool operator== (PropertyID pid) const
 

Private Member Functions

std::string to_string (T const &v) const
 
from_string (std::string const &s) const
 
 EnumProperty (EnumProperty const &)
 

Additional Inherited Members

- Protected Member Functions inherited from PBD::PropertyTemplate< T >
void set (T const &v)
 
- Protected Member Functions inherited from PBD::PropertyBase
 PropertyBase (PropertyBase const &b)
 
- Protected Attributes inherited from PBD::PropertyTemplate< T >
bool _have_old
 
_current
 
_old
 

Detailed Description

template<class T>
class PBD::EnumProperty< T >

Definition at line 322 of file properties.h.

Constructor & Destructor Documentation

template<class T>
PBD::EnumProperty< T >::EnumProperty ( PropertyDescriptor< T >  q,
T const &  v 
)
inline

Definition at line 325 of file properties.h.

template<class T>
PBD::EnumProperty< T >::EnumProperty ( EnumProperty< T > const &  )
private

Member Function Documentation

template<class T>
T PBD::EnumProperty< T >::from_string ( std::string const &  s) const
inlineprivatevirtual

Reimplemented from PBD::Property< T >.

Definition at line 339 of file properties.h.

template<class T>
T& PBD::EnumProperty< T >::operator= ( T const &  v)
inline

Definition at line 329 of file properties.h.

template<class T>
std::string PBD::EnumProperty< T >::to_string ( T const &  v) const
inlineprivatevirtual

Reimplemented from PBD::Property< T >.

Definition at line 335 of file properties.h.


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