Describes single state property of type integer-array.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class IPropertyIntegerArray :public virtual IProperty
{
public:
virtual std::vector<int> getValue() = 0; // Return value
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 int getMin() = 0; // Return minimum limit
virtual int getMax() = 0; // Return maximum limit
virtual bool setValue(const std::vector<int> value) = 0; // Set value
virtual IPropertyIntegerArray *setMinCount(const int value) = 0; // Set minimum allowed item count in array
virtual IPropertyIntegerArray *setHasMin(const bool value) = 0; // Set whether has minimum limit
virtual IPropertyIntegerArray *setHasMax(const bool value) = 0; // Set whether has maximum limit
virtual IPropertyIntegerArray *setMin(const int value) = 0; // Set minimum limit and hasMin to true
virtual IPropertyIntegerArray *setMax(const int value) = 0; // Set maximum limit and hasMax to true
};
Namespace: | nitisa |
Include: | Nitisa/Interfaces/IProperty.h |