Beispiel #1
0
 /// @brief Constructor with both limits for validity.
 /// @details Implies upper or equal from `lowerLimit` and less than `upperLimit`.
 /// @param[in] lowerLimit Lower limit for valid version.
 /// @param[in] upperLimit Upper limit for valid version.
 /// @param[in] memberType Type of member to versioning.
 public VersionAttribute(float lowerLimit, float upperLimit, PluginVersioning.memberType memberType)
 {
     ///TODO [ASB] : add support for exceptions trowed by VersRange
     _range      = new VersRange(lowerLimit, upperLimit);
     _memberType = memberType;
     isMandatory = false;
 }
Beispiel #2
0
 /// @brief Constructor with lower limit of validity.
 /// @details Typically used by a new version of a method (upper range of validity).
 /// Assumed upper or equal from this value up to +infinity.
 /// @param[in] versionFrom Lower limit for valid version.
 /// @param[in] memberType Type of member to versioning.
 public VersionAttribute(float versionFrom, PluginVersioning.memberType memberType)
 {
     //TODO [ASB] : add support for exceptions trowed by VersRange
     _range      = new VersRange(versionFrom);
     _memberType = memberType;
     isMandatory = false;
 }