Content


NTL
Core
IPropertyPointDState

IPropertyPointDState



Describes multiple state property of type PointD.

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

class IPropertyPointDState :public virtual IPropertyState
{
public:
    virtual PointD 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 double getMin() const = 0; // Return minimum limit
    virtual double getMax() const = 0; // Return maximum limit

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