IPropertyFloatArrayState



Describes multiple state property of type float-array.

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

class IPropertyFloatArrayState :public virtual IPropertyState
{
public:
    virtual std::vector<float> getValue(const String &state) = 0; // Return value depending on state
    virtual int getMinCount() = 0; // Return minimum allowed item count in array
    virtual bool hasMin() = 0; // Whether has minimum limit
    virtual bool hasMax() = 0; // Whether has maximum limit
    virtual float getMin() = 0; // Return minimum limit
    virtual float getMax() = 0; // Return maximum limit

    virtual bool setValue(const String &state, const std::vector<float> value) = 0; // Set value of state
    virtual IPropertyFloatArrayState *setMinCount(const int value) = 0; // Set minimum allowed item count in array
    virtual IPropertyFloatArrayState *setHasMin(const bool value) = 0; // Set whether has minimum limit
    virtual IPropertyFloatArrayState *setHasMax(const bool value) = 0; // Set whether has maximum limit
    virtual IPropertyFloatArrayState *setMin(const float value) = 0; // Set minimum limit and hasMin to true
    virtual IPropertyFloatArrayState *setMax(const float value) = 0; // Set maximum limit and hasMax to true
};
Namespace: nitisa
Include: Nitisa/Interfaces/IProperty.h