SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
|
Consumes a string and outputs boolean "true" if the text represents a human readable version of "true". More...
#include <sensesp/transforms/truth_text.h>
Static Public Member Functions | |
static bool | is_valid_true (String value) |
static bool | is_valid_false (String value) |
Static Public Member Functions inherited from sensesp::TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from sensesp::Startable | |
static void | start_all () |
Additional Inherited Members | |
Public Attributes inherited from sensesp::Configurable | |
const String | config_path_ |
Protected Member Functions inherited from sensesp::Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from sensesp::Configurable | |
String | description_ = "" |
int | sort_order_ = 1000 |
Protected Attributes inherited from sensesp::ValueProducer< T > | |
T | output |
Consumes a string and outputs boolean "true" if the text represents a human readable version of "true".
The following case-insensitive values are considered true:
Definition at line 24 of file truth_text.h.
Returns TRUE if value
represents one of the boolean values recognized as a "false" value. FALSE is returned if value
is a value that is normally associated with a boolean false.
Definition at line 23 of file truth_text.cpp.
Returns TRUE if value
represents one of the truth values recognized by TextToTruth
Definition at line 5 of file truth_text.cpp.