logic_filter

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndFilter

type AndFilter[T any] struct {
	// contains filtered or unexported fields
}

func NewAndFilter

func NewAndFilter[T any](sceneFilterFactory scene_filter.SceneFilterFactory[T]) *AndFilter[T]

func (AndFilter[T]) GetKey

func (a AndFilter[T]) GetKey() string

func (AndFilter[T]) Match

func (a AndFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (AndFilter[T]) Valid

func (a AndFilter[T]) Valid(element types.JsonElement) errors.FilterError

type ILogicFilter

type ILogicFilter[T any] interface {
	types.IFilter[T]
}

type LogicFilterFactory

type LogicFilterFactory[T any] struct {
	// contains filtered or unexported fields
}

func NewLogicFilterFactory

func NewLogicFilterFactory[T any](logicFilters []ILogicFilter[T]) LogicFilterFactory[T]

func (LogicFilterFactory[T]) Get

type OrFilter

type OrFilter[T any] struct {
	// contains filtered or unexported fields
}

func NewOrFilter

func NewOrFilter[T any](sceneFilterFactory scene_filter.SceneFilterFactory[T]) *OrFilter[T]

func (OrFilter[T]) GetKey

func (o OrFilter[T]) GetKey() string

func (OrFilter[T]) Match

func (o OrFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (OrFilter[T]) Valid

func (o OrFilter[T]) Valid(element types.JsonElement) errors.FilterError

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL