Documentation ¶
Index ¶
- Variables
- func CheckFile(ind map[string]types.InducedFileParameter, ...) (err error)
- func CheckHyper(ind map[string]types.InducedHyperParameter, ...) (err error)
- func CheckParam(ind map[string]types.InducedParameter, ...) (err error)
- func CheckState(ind map[string]types.InducedStateParameter, ...) (err error)
- func ExclusiveBound(value string, params ...string) (valid bool, err error)
- func ExclusiveInclusiveBound(value string, params ...string) (valid bool, err error)
- func ExclusiveLeftBound(value string, params ...string) (valid bool, err error)
- func ExclusiveRightBound(value string, params ...string) (valid bool, err error)
- func InclusiveBound(value string, params ...string) (valid bool, err error)
- func InclusiveExclusiveBound(value string, params ...string) (valid bool, err error)
- func InclusiveLeftBound(value string, params ...string) (valid bool, err error)
- func InclusiveRightBound(value string, params ...string) (valid bool, err error)
- func Member(value string, params ...string) (valid bool, err error)
- type Constraint
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConstrainFuncMap = map[string]Constraint{ "(": ExclusiveLeftBound, ")": ExclusiveRightBound, "[": InclusiveLeftBound, "]": InclusiveRightBound, "(]": ExclusiveInclusiveBound, "[)": InclusiveExclusiveBound, "()": ExclusiveBound, "[]": InclusiveBound, "=": Member, } TypeConvMap = map[types.DataTypeName]func(string) (interface{}, error){ "bool": func(r string) (interface{}, error) { return strconv.ParseBool(r) }, "int": func(r string) (interface{}, error) { return paramToInt(r) }, "real": func(r string) (interface{}, error) { return paramToFloat(r) }, "string": func(r string) (v interface{}, e error) { v = r; return }, } )
Functions ¶
func CheckFile ¶
func CheckFile(ind map[string]types.InducedFileParameter, primary, function map[string]types.FileParameter, param types.FileParameter, val types.InducedFileParameter) (err error)
func CheckHyper ¶
func CheckHyper(ind map[string]types.InducedHyperParameter, primary, function map[string]types.TransformHyperParameter, param types.TransformHyperParameter, val types.InducedHyperParameter) (err error)
func CheckParam ¶
func CheckParam(ind map[string]types.InducedParameter, primary, function map[string]types.TransformParameter, param types.TransformParameter, val types.InducedParameter) (err error)
func CheckState ¶
func CheckState(ind map[string]types.InducedStateParameter, primary, function map[string]types.StateParameter, param types.StateParameter, val types.InducedStateParameter) (err error)
func ExclusiveBound ¶
()
func ExclusiveInclusiveBound ¶
(]
func ExclusiveLeftBound ¶
(
func ExclusiveRightBound ¶
)
func InclusiveBound ¶
[]
func InclusiveExclusiveBound ¶
[)
func InclusiveLeftBound ¶
[
func InclusiveRightBound ¶
]
Types ¶
Click to show internal directories.
Click to hide internal directories.