Struct InputFilter
Definition
- Assembly:
- Tizen.NUI.dll
A struct to pass data of InputFilter PropertyMap.
public struct InputFilter : IEquatable<InputFilter>
- Implements
-
IEquatable<><InputFilter>
Remarks
InputFilter filters input based on regular expressions.
Users can set the Accepted or Rejected regular expression set, or both.
If both are used, Rejected has higher priority.
The character set must follow the regular expression rules.
Behaviour can not be guaranteed for incorrect grammars.
Refer the link below for detailed rules.
The functions in std::regex library use the ECMAScript grammar:
http://cplusplus.com/reference/regex/ECMAScript/
The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().
Properties
View SourceAccepted
A regular expression in the set of characters to be accepted by the inputFilter.
Declaration
public string Accepted { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
InputFilter filters input based on regular expressions.
Users can set the Accepted or Rejected regular expression set, or both.
If both are used, Rejected has higher priority.
The character set must follow the regular expression rules.
Behaviour can not be guaranteed for incorrect grammars.
Refer the link below for detailed rules.
The functions in std::regex library use the ECMAScript grammar:
http://cplusplus.com/reference/regex/ECMAScript/
The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().
Rejected
A regular expression in the set of characters to be rejected by the inputFilter.
Declaration
public string Rejected { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
InputFilter filters input based on regular expressions.
Users can set the Accepted or Rejected regular expression set, or both.
If both are used, Rejected has higher priority.
The character set must follow the regular expression rules.
Behaviour can not be guaranteed for incorrect grammars.
Refer the link below for detailed rules.
The functions in std::regex library use the ECMAScript grammar:
http://cplusplus.com/reference/regex/ECMAScript/
The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().
Methods
View SourceEquals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if equal InputFilter, else false. |
Remarks
InputFilter filters input based on regular expressions.
Users can set the Accepted or Rejected regular expression set, or both.
If both are used, Rejected has higher priority.
The character set must follow the regular expression rules.
Behaviour can not be guaranteed for incorrect grammars.
Refer the link below for detailed rules.
The functions in std::regex library use the ECMAScript grammar:
http://cplusplus.com/reference/regex/ECMAScript/
The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().
Equals(InputFilter)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(InputFilter other)
Parameters
| Type | Name | Description |
|---|---|---|
| InputFilter | other | The InputFilter to compare with the current InputFilter. |
Returns
| Type | Description |
|---|---|
| bool | true if equal InputFilter, else false. |
Remarks
InputFilter filters input based on regular expressions.
Users can set the Accepted or Rejected regular expression set, or both.
If both are used, Rejected has higher priority.
The character set must follow the regular expression rules.
Behaviour can not be guaranteed for incorrect grammars.
Refer the link below for detailed rules.
The functions in std::regex library use the ECMAScript grammar:
http://cplusplus.com/reference/regex/ECMAScript/
The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().
GetHashCode()
Gets the hash code of this InputFilter.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code. |
Remarks
InputFilter filters input based on regular expressions.
Users can set the Accepted or Rejected regular expression set, or both.
If both are used, Rejected has higher priority.
The character set must follow the regular expression rules.
Behaviour can not be guaranteed for incorrect grammars.
Refer the link below for detailed rules.
The functions in std::regex library use the ECMAScript grammar:
http://cplusplus.com/reference/regex/ECMAScript/
The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().
Operators
View Sourceoperator ==(InputFilter, InputFilter)
The == operator.
Declaration
public static bool operator ==(InputFilter lhsInputFilter, InputFilter rhsInputFilter)
Parameters
| Type | Name | Description |
|---|---|---|
| InputFilter | lhsInputFilter | InputFilter to compare |
| InputFilter | rhsInputFilter | InputFilter to be compared |
Returns
| Type | Description |
|---|---|
| bool | true if InputFilters are equal |
Remarks
InputFilter filters input based on regular expressions.
Users can set the Accepted or Rejected regular expression set, or both.
If both are used, Rejected has higher priority.
The character set must follow the regular expression rules.
Behaviour can not be guaranteed for incorrect grammars.
Refer the link below for detailed rules.
The functions in std::regex library use the ECMAScript grammar:
http://cplusplus.com/reference/regex/ECMAScript/
The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().
operator !=(InputFilter, InputFilter)
The != operator.
Declaration
public static bool operator !=(InputFilter lhsInputFilter, InputFilter rhsInputFilter)
Parameters
| Type | Name | Description |
|---|---|---|
| InputFilter | lhsInputFilter | InputFilter to compare |
| InputFilter | rhsInputFilter | InputFilter to be compared |
Returns
| Type | Description |
|---|---|
| bool | true if InputFilters are not equal |
Remarks
InputFilter filters input based on regular expressions.
Users can set the Accepted or Rejected regular expression set, or both.
If both are used, Rejected has higher priority.
The character set must follow the regular expression rules.
Behaviour can not be guaranteed for incorrect grammars.
Refer the link below for detailed rules.
The functions in std::regex library use the ECMAScript grammar:
http://cplusplus.com/reference/regex/ECMAScript/
The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().