Ignore:
Timestamp:
08/09/16 01:08:59 (5 years ago)
Author:
Maciej Komosinski
Message:

More strict validation of numeric type definitions: min without max is now invalid. More code is now reused.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/param.h

    r535 r574  
    144144        int getMinMax(int prop, double& minumum, double& maximum, double& def);
    145145        int getMinMax(int prop, int& minumum, int& maximum, SString& def);
     146        static int getMinMax(const char* type, paInt& minumum, paInt& maximum, paInt& def);
     147        static int getMinMax(const char* type, double& minumum, double& maximum, double& def);
     148        static int getMinMax(const char* type, int& minumum, int& maximum, SString& def);
    146149
    147150        virtual void setDefault();
Note: See TracChangeset for help on using the changeset viewer.