Describes minimum required functionality from floating point array management form.
You can find more information in comments below.
class IFormFloatArray
{
public:
virtual std::vector<float> 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 float getMin() = 0; // Return values low limit
virtual float getMax() = 0; // Return values high limit
virtual bool setValue(const std::vector<float> &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 float value) = 0; // Set values low limit
virtual bool setMax(const float value) = 0; // Set values high limit
};
Namespace: | nitisa::standard |
Include: | Standard/Forms/IFormFloatArray.h |