java.lang.Object
org.yamcs.mdb.ValidRangeChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckFloatRange(org.yamcs.xtce.FloatValidRange fvr, double x) checks that x is in the range and returns true if it is and false if it's notstatic booleancheckFloatRange(org.yamcs.xtce.FloatValidRange fvr, Value v) Checks if the value is within range.static booleancheckIntegerRange(org.yamcs.xtce.IntegerValidRange vr, long x) checks that x is in the range and returns true if it is and false if it's notstatic booleancheckIntegerRange(org.yamcs.xtce.IntegerValidRange ivr, Value v) Checks if the value is within range.static booleancheckUnsignedIntegerRange(org.yamcs.xtce.IntegerValidRange vr, long x)
-
Constructor Details
-
ValidRangeChecker
public ValidRangeChecker()
-
-
Method Details
-
checkFloatRange
public static boolean checkFloatRange(org.yamcs.xtce.FloatValidRange fvr, double x) checks that x is in the range and returns true if it is and false if it's not- Parameters:
fvr-x-- Returns:
-
checkIntegerRange
public static boolean checkIntegerRange(org.yamcs.xtce.IntegerValidRange vr, long x) checks that x is in the range and returns true if it is and false if it's not- Parameters:
vr- - range to check againstx-- Returns:
-
checkUnsignedIntegerRange
public static boolean checkUnsignedIntegerRange(org.yamcs.xtce.IntegerValidRange vr, long x) -
checkFloatRange
Checks if the value is within range. If the value is not of numeric type returns false. -
checkIntegerRange
Checks if the value is within range. If the value is not of numeric type returns false.
-