Functions that provide a quick test to verify that an enumeration value falls within the range of valid values for the given type. More...
Functions | |
bool | STFF::valid (FF_DepthUnits_t units) |
Test that a value is valid for a variable of type FF_DepthUnits_t. More... | |
bool | STFF::valid (FF_Frequency_t frequency) |
Test that a value is valid for a variable of type FF_Frequency_t. More... | |
bool | STFF::valid (FF_SpeedUnits_t units) |
Test that a value is valid for a variable of type FF_SpeedUnits_t. More... | |
bool | STFF::valid (FF_TemperatureUnits_t units) |
Test that a value is valid for a variable of type FF_TemperatureUnits_t. More... | |
bool | STFF::valid (FF_SettingType_t settingType) |
Test that a value is valid for a variable of type FF_SettingType_t. More... | |
bool | STFF::valid (FF_DataType_t dataType) |
Test that a value is valid for a variable of type FF_DataType_t. More... | |
bool | STFF::valid (FF_ControlCommand_t controlCommand) |
Test that a value is valid for a variable of type FF_ControlCommand_t. More... | |
bool | STFF::valid (FF_FrequencyMode_t frequencyMode) |
Test that a value is valid for a variable of type FF_FrequencyMode_t. More... | |
bool | STFF::valid (FF_AutoRangeSetting_t autoRangeSetting) |
Test that a value is valid for a variable of type FF_AutoRangeSetting_t. More... | |
bool | STFF::valid (FF_AutoGainSetting_t autoGainSetting) |
Test that a value is valid for a variable of type FF_AutoGainSetting_t. More... | |
bool | STFF::valid (FF_DepthAlarmType_t depthAlarmType) |
Test that a value is valid for a variable of type FF_DepthAlarmType_t. More... | |
bool | STFF::valid (FF_DepthAlarmState_t depthAlarmState) |
Test that a value is valid for a variable of type FF_DepthAlarmState_t. More... | |
bool | STFF::valid (FF_FishAlarmSetting_t fishAlarmSetting) |
Test that a value is valid for a variable of type ::FF_FishAlarmSetting_t. More... | |
bool | STFF::valid (FF_ApiStatus_t apiStatus) |
Test that a value is valid for a variable of type FF_ApiStatus_t. More... | |
Functions that provide a quick test to verify that an enumeration value falls within the range of valid values for the given type.
These are overloaded functions, all having the same name valid, but each with a distinct argument list.
These are non-member functions that reside in the STFF namespace.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_Frequency_t.
[in] | frequency | the value to be tested |
true | if the value of the frequency parameter is valid for a variable of type FF_Frequency_t |
false | otherwise |
Definition at line 223 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_DepthUnits_t.
false | otherwise |
[in] | units | the value to be tested |
true | if the value of the units parameter is valid for a variable of type FF_DepthUnits_t |
Definition at line 252 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_SpeedUnits_t.
[in] | units | the value to be tested |
true | if the value of the units parameter is valid for a variable of type FF_SpeedUnits_t |
false | otherwise |
Definition at line 281 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_TemperatureUnits_t.
[in] | units | the value to be tested |
true | if the value of the units parameter is valid for a variable of type FF_TemperatureUnits_t |
false | otherwise |
Definition at line 311 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_SettingType_t.
[in] | settingType | the value to be tested |
true | if the value of the settingType parameter is valid for a variable of type FF_SettingType_t |
false | otherwise |
Definition at line 340 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_DataType_t.
[in] | dataType | the value to be tested |
true | if the value of the dataType parameter is valid for a variable of type FF_DataType_t |
false | otherwise |
Definition at line 369 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_ControlCommand_t.
[in] | controlCommand | the value to be tested |
true | if the value of the controlCommand parameter is valid for a variable of type FF_ControlCommand_t |
false | otherwise |
Definition at line 399 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_FrequencyMode_t.
[in] | frequencyMode | the value to be tested |
true | if the value of the frequencyMode parameter is valid for a variable of type FF_FrequencyMode_t |
false | otherwise |
Definition at line 428 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_AutoRangeSetting_t.
[in] | autoRangeSetting | the value to be tested |
true | if the value of the autoRangeSetting parameter is valid for a variable of type FF_AutoRangeSetting_t |
false | otherwise |
Definition at line 458 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_AutoGainSetting_t.
[in] | autoGainSetting | the value to be tested |
true | if the value of the autoGainSetting parameter is valid for a variable of type FF_AutoGainSetting_t |
false | otherwise |
Definition at line 488 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_DepthAlarmType_t.
[in] | depthAlarmType | the value to be tested |
true | if the value of the depthAlarmType parameter is valid for a variable of type FF_DepthAlarmType_t |
false | otherwise |
Definition at line 518 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_DepthAlarmState_t.
[in] | depthAlarmState | the value to be tested |
true | if the value of the depthAlarmState parameter is valid for a variable of type FF_DepthAlarmState_t |
false | otherwise |
Definition at line 548 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type ::FF_FishAlarmSetting_t.
[in] | fishAlarmSetting | the value to be tested |
true | if the value of the fishAlarmSetting parameter is valid for a variable of type ::FF_FishAlarmSetting_t |
false | otherwise |
Definition at line 578 of file STFF-Utility.h.
|
inline |
#include <STFF-Utility.h>
Test that a value is valid for a variable of type FF_ApiStatus_t.
[in] | apiStatus | the value to be tested |
true | if the value of the apiStatus parameter is valid for a variable of type FF_ApiStatus_t |
false | otherwise |
Definition at line 607 of file STFF-Utility.h.