The MAUVE Toolchain
mauve::runtime::AbstractFloatingPointProperty Class Referenceabstract

Abstract class for a Floating point property. More...

#include <Property.hpp>

Inheritance diagram for mauve::runtime::AbstractFloatingPointProperty:
Collaboration diagram for mauve::runtime::AbstractFloatingPointProperty:

Public Member Functions

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

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
 

Detailed Description

Abstract class for a Floating point property.

Constructor & Destructor Documentation

mauve::runtime::AbstractFloatingPointProperty::AbstractFloatingPointProperty ( HasProperty container,
std::string const &  name 
)

Constructor.

Parameters
containerproperty container
nameproperty name