Ardour  9.0-pre0-582-g084a23a80d
PBD::EnumProperty< T > Class Template Reference

#include <properties.h>

Inheritance diagram for PBD::EnumProperty< T >:
[legend]

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)
 
Property< T > & operator= (Property< 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)
 
operator- (T const other) const
 
bool operator< (T const &other) const
 
bool operator> (T const &other) const
 
bool operator== (const T &other) const
 
bool operator!= (const T &other) const
 
 operator T const & () const
 
T const & val () const
 
T & non_const_val ()
 
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_change (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< PBD::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 &)
 
EnumPropertyoperator= (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 337 of file properties.h.

Constructor & Destructor Documentation

◆ EnumProperty() [1/2]

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

Definition at line 340 of file properties.h.

◆ EnumProperty() [2/2]

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

Member Function Documentation

◆ from_string()

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

Reimplemented from PBD::Property< T >.

Definition at line 354 of file properties.h.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Definition at line 344 of file properties.h.

◆ to_string()

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

Reimplemented from PBD::Property< T >.

Definition at line 350 of file properties.h.


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