Home | Trees | Indices | Help |
|
---|
|
object --+ | container.IFilter --+ | SimpleStringFilter
Simple string filter for matching items that start with or contain a specified string. The matching can be case-sensitive or case-insensitive.
This filter also directly supports in-memory filtering. When performing in-memory filtering, values of other types are converted using __str__, but other (lazy container) implementations do not need to perform such conversions and might not support values of different types.
Note that this filter might not be very efficient e.g. for database filtering.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Check if an item passes the filter (in-memory filtering).
|
Check if a change in the value of a property can affect the filtering result. May always return true, at the cost of performance. If the filter cannot determine whether it may depend on the property or not, should return true.
|
hash(x)
|
Returns the property identifier to which this filter applies.
|
Returns the filter string. Note: this method is intended only for implementations of lazy string filters and may change in the future.
|
Returns whether the filter is case-insensitive or case-sensitive. Note: this method is intended only for implementations of lazy string filters and may change in the future.
|
Returns true if the filter only applies to the beginning of the value string, false for any location in the value. Note: this method is intended only for implementations of lazy string filters and may change in the future.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jul 6 13:40:51 2013 | http://epydoc.sourceforge.net |