The MAUVE Toolchain
mauve::runtime::FloatingPointProperty< T > Class Template Reference
Inheritance diagram for mauve::runtime::FloatingPointProperty< T >:
Collaboration diagram for mauve::runtime::FloatingPointProperty< T >:

Public Member Functions

 FloatingPointProperty (HasProperty *container, std::string const &name, T init_value)
 
 FloatingPointProperty (FloatingPointProperty const &other)=delete
 
double get () const override
 Get the property value.
 
get_value () const
 
 operator T () const
 
 operator T & ()
 
FloatingPointProperty< T > & operator= (T value)
 
FloatingPointProperty< T > & operator= (FloatingPointProperty< T > const &other)
 
bool set (double value) override
 Set the property value.
 
bool set_value (T value)
 
std::string type_name () const override
 Get the property type name.
 
- Public Member Functions inherited from mauve::runtime::AbstractFloatingPointProperty
 AbstractFloatingPointProperty (HasProperty *container, std::string const &name)
 Constructor. More...
 
virtual ~AbstractFloatingPointProperty () noexcept
 Destructor.
 
property_type get_type () const override
 Get the property type.
 
- Public Member Functions inherited from mauve::runtime::AbstractProperty
 AbstractProperty (HasProperty *container, std::string const &name)
 Constructor. More...
 

Additional Inherited Members

- Public Attributes inherited from mauve::runtime::AbstractProperty
const std::string name
 Property name.
 
- Protected Attributes inherited from mauve::runtime::AbstractProperty
const HasPropertycontainer