Content


NTL
Core
IPropertyInteger

IPropertyInteger



Describes single state property of type Integer.

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

class IPropertyInteger :public virtual IProperty
{
public:
    virtual int getValue() = 0; // Return value
    virtual bool hasMin() const = 0; // Whether has minimum limit
    virtual bool hasMax() const = 0; // Whether has maximum limit
    virtual int getMin() const = 0; // Return minimum limit
    virtual int getMax() const = 0; // Return maximum limit

    virtual bool setValue(const int value) = 0; // Set value
    virtual IPropertyInteger *setHasMin(const bool value) = 0; // Set whether has minimum limit
    virtual IPropertyInteger *setHasMax(const bool value) = 0; // Set whether has maximum limit
    virtual IPropertyInteger *setMin(const int value) = 0; // Set minimum limit and hasMin to true
    virtual IPropertyInteger *setMax(const int value) = 0; // Set maximum limit and hasMax to true
};
Namespace: nitisa
Include: Nitisa/Package/Interfaces/IPropertyInteger.h