class EL_QUERY_CONDITION

(source code)

Client examples: CHAIN_TEST_SETEXPORT_MUSIC_TO_DEVICE_TASK_TEST_SETEXPORT_TO_DEVICE_TASKINTEGER_REF_SUMMATORRBOX_DATABASESONG_IN_PLAYLIST_QUERY_CONDITIONSTORAGE_DEVICE

Description

Query condition

Tests

Class CHAIN_TEST_SET

note
	description: "Query condition"
	tests: "Class [$source CHAIN_TEST_SET]"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2017 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2019-10-04 13:16:13 GMT (Friday 4th October 2019)"
	revision: "9"

deferred class
	EL_QUERY_CONDITION [G]

feature -- Access

	met (item: G): BOOLEAN
		-- True if condition is met for `item`
		deferred
		end

feature -- Addition

	conjuncted alias "and" (right: EL_QUERY_CONDITION [G]): EL_AND_QUERY_CONDITION [G]
		do
			create Result.make (Current, right)
		end

	disjuncted alias "or" (right: EL_QUERY_CONDITION [G]): EL_OR_QUERY_CONDITION [G]
		do
			create Result.make (Current, right)
		end

	negated alias "not": EL_NOT_QUERY_CONDITION [G]
		do
			create Result.make (Current)
		end

end