#include <input_validator.h>
|
| | IntegerRangeValidator (int min_value, int max_value) |
| | IntegerRangeValidator (std::function< std::pair< int, int >()> range_func) |
| bool | isValid (std::string value) override |
| | 验证输入值是否有效。
|
| std::string | getMessage (std::string value) override |
| | 当值无效时返回有意义的提示信息。
|
| std::string | getMsgTip () override |
| | Returns the persistent tip displayed by the virtual keyboard.
|
◆ IntegerRangeValidator() [1/2]
| arcs::aubo_scope::IntegerRangeValidator::IntegerRangeValidator |
( |
int | min_value, |
|
|
int | max_value ) |
◆ IntegerRangeValidator() [2/2]
| arcs::aubo_scope::IntegerRangeValidator::IntegerRangeValidator |
( |
std::function< std::pair< int, int >()> | range_func | ) |
|
◆ getMessage()
| std::string arcs::aubo_scope::IntegerRangeValidator::getMessage |
( |
std::string | value | ) |
|
|
overridevirtual |
◆ getMsgTip()
| std::string arcs::aubo_scope::IntegerRangeValidator::getMsgTip |
( |
| ) |
|
|
overridevirtual |
◆ isValid()
| bool arcs::aubo_scope::IntegerRangeValidator::isValid |
( |
std::string | value | ) |
|
|
overridevirtual |
◆ updateValue()
| void arcs::aubo_scope::IntegerRangeValidator::updateValue |
( |
| ) |
|
|
private |
◆ max_value_
| int arcs::aubo_scope::IntegerRangeValidator::max_value_ { INT_MAX } |
|
private |
◆ min_value_
| int arcs::aubo_scope::IntegerRangeValidator::min_value_ { INT_MIN } |
|
private |
◆ range_func_
| std::function<std::pair<int, int>()> arcs::aubo_scope::IntegerRangeValidator::range_func_ { nullptr } |
|
private |
该结构体的文档由以下文件生成: