|
SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
|
Doxygen only documents namespace-scope entities (enums, aliases, constants, free functions) in a header that carries this block. More...
#include "entities/match/MatcherType.h"Enumerations | |
| enum class | sfs3::entities::match::NumberMatch { EQUALS , NOT_EQUALS , GREATER_THAN , GREATER_THAN_OR_EQUAL_TO , LESS_THAN , LESS_THAN_OR_EQUAL_TO } |
| The NumberMatch conditions are used in matching expressions to check numeric values. More... | |
Functions | |
| const char * | sfs3::entities::match::symbolOf (NumberMatch condition) |
| Returns the condition symbol of the passed matcher, as sent to the server and rendered by MatchExpression::toString(). | |
Doxygen only documents namespace-scope entities (enums, aliases, constants, free functions) in a header that carries this block.
|
strong |
The NumberMatch conditions are used in matching expressions to check numeric values.
NOTE: every numeric comparison is performed on double values. The value passed to the matching expression travels on the wire as a double, and the server widens the variable or property it is compared against to a double too, whatever its declared type (byte, short, int, long, float or double). Two consequences are worth knowing: