Describes minimum required functionality from integer array management form.
You can find more information in comments below.
class IFormIntegerArray
{
public:
virtual IntegerArray getValue() = 0; // Return value
virtual int getMinCount() = 0; // Return minimum allowed count of items in array
virtual bool hasMin() = 0; // Return whether there is low limit for item values
virtual bool hasMax() = 0; // Return whether there is high limit for item values
virtual int getMin() = 0; // Return values low limit
virtual int getMax() = 0; // Return values high limit
virtual bool setValue(const IntegerArray &value) = 0; // Set value
virtual bool setMinCount(const int value) = 0; // Set minimum allowed count of items in array
virtual bool setHasMin(const bool value) = 0; // Set whether there is low limit for item values
virtual bool setHasMax(const bool value) = 0; // Set whether there is high limit for item values
virtual bool setMin(const int value) = 0; // Set values low limit
virtual bool setMax(const int value) = 0; // Set values high limit
};
Namespace: | nitisa::standard |
Include: | Standard/Forms/IFormIntegerArray.h |