MCPcopy Create free account
hub / github.com/cutelyst/cutelyst / betweenFloat

Method betweenFloat

tests/testvalidator.cpp:478–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476 // ***** Endpoint for ValidatorBetween with float ******
477 C_ATTR(betweenFloat, :Local :AutoArgs)
478 void betweenFloat(Context *c)
479 {
480 Validator v({new ValidatorBetween(
481 u"between_field"_s, QMetaType::Float, -10.0, 10.0, m_validatorMessages)});
482 checkResponse(c, v.validate(c));
483 }
484
485 // ***** Endpoint for ValidatorBetween with string ******
486 C_ATTR(betweenString, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected