IPropertyFloatState



Describes multiple state property of type Float.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IPropertyFloatState :public virtual IPropertyState
{
public:
    virtual float getValue(const String &state) = 0; // Return value depending on state
    virtual bool hasMin() const = 0; // Whether has minimum limit
    virtual bool hasMax() const = 0; // Whether has maximum limit
    virtual float getMin() const = 0; // Return minimum limit
    virtual float getMax() const = 0; // Return maximum limit

    virtual bool setValue(const String &state, const float value) = 0; // Set value of state
    virtual IPropertyFloatState *setHasMin(const bool value) = 0; // Set whether has minimum limit
    virtual IPropertyFloatState *setHasMax(const bool value) = 0; // Set whether has maximum limit
    virtual IPropertyFloatState *setMin(const float value) = 0; // Set minimum limit and hasMin to true
    virtual IPropertyFloatState *setMax(const float value) = 0; // Set maximum limit and hasMax to true
};
Namespace: nitisa
Include: Nitisa/Interfaces/IProperty.h