scenes

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolSceneFilter

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

func NewBoolSceneFilter

func NewBoolSceneFilter[T any](key string, valueGetter boolValueGetter[T], filterFactory *factory.FilterFactory[T]) *BoolSceneFilter[T]

func (*BoolSceneFilter[T]) GetKey

func (b *BoolSceneFilter[T]) GetKey() string

func (*BoolSceneFilter[T]) Match

func (b *BoolSceneFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (*BoolSceneFilter[T]) Valid

func (b *BoolSceneFilter[T]) Valid(element types.JsonElement) errors.FilterError

type NumberSceneFilter

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

func NewNumberSceneFilter

func NewNumberSceneFilter[T any](key string, valueGetter numberValueGetter[T], filterFactory *factory.FilterFactory[T]) *NumberSceneFilter[T]

func (*NumberSceneFilter[T]) GetKey

func (n *NumberSceneFilter[T]) GetKey() string

func (*NumberSceneFilter[T]) Match

func (n *NumberSceneFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (*NumberSceneFilter[T]) Valid

func (n *NumberSceneFilter[T]) Valid(element types.JsonElement) errors.FilterError

type StringSceneFilter

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

func NewStringSceneFilter

func NewStringSceneFilter[T any](key string, valueGetter stringValueGetter[T], filterFactory *factory.FilterFactory[T]) *StringSceneFilter[T]

func (*StringSceneFilter[T]) GetKey

func (s *StringSceneFilter[T]) GetKey() string

func (*StringSceneFilter[T]) Match

func (s *StringSceneFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (*StringSceneFilter[T]) Valid

func (s *StringSceneFilter[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