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

Method betweenInt

tests/testvalidator.cpp:460–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458 // ***** Endpoint for ValidatorBetween with int ******
459 C_ATTR(betweenInt, :Local :AutoArgs)
460 void betweenInt(Context *c)
461 {
462 Validator v({new ValidatorBetween(
463 u"between_field"_s, QMetaType::Int, -10, 10, m_validatorMessages)});
464 checkResponse(c, v.validate(c));
465 }
466
467 // ***** Endpoint for ValidatorBetween with uint ******
468 C_ATTR(betweenUint, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected