外观
lib-finServerExt 库参考
原文: https://finproducts.atlassian.net/wiki/spaces/JIDD3/pages/34793783613/FIN+5.3.1+lib-finServerExt 中文整理基于 FIN 5.3.1
导读: 过滤所有匹配提供的 funcFilter 表达式的函数。
以下为 API 参考,保留英文以便对照源码;目录已列出(英文标题便于检索);概述已尽量中译。
目录(导读)
- lib
- meta
- funcs
- def
- finFilteredFuncEval(funcExpr, funcResExpr)
- finMobilePoints(filter)
- finMobilePoll(watchId, coreOnly: false)
- finSubEquipFilter(target)
概述(中译)
FIN 堆栈服务器扩展
API 正文(英文)
funcs
| finFilteredFuncEval | Filter all functions that match the provided funcFilter expression |
| finMobilePoints | finMobilePoints |
| finMobilePoll | finMobilePoll |
| finSubEquipFilter | Filter out recursively the equip and sub-equip of the base target Ref |
def
func:finFilteredFuncEval
finFilteredFuncEval(funcExpr, funcResExpr)
Filter all functions that match the provided funcFilter expression.
Evaluate the matching functions in the order of the order Number tag, if it exists.
Filter the result of each evaluated function according to the funcResFilter expression.
Parameters:
- funcFilter(Obj), an expression like "specialFun and tag==42". The expression should return a list of functions.
- funcResFilter(Obj), an expression like "someMarker and someNumber==8" that will be applied on each function result that has matched the
funcFilter.
Returns:
- a
Gridwith the result of each matching function filtered according to thefuncResFilter
Example:
// call a list of matching functions and filter their result
finFilteredFuncEval(someMarker and type="type1", otherMarker or name="foo bar")meta
| def | func:finFilteredFuncEval |
| is | func |
| lib | lib:finServerExt |
| name | finFilteredFuncEval |
supertypes
| feature | Feature namespace of definitions formatted as feature:name |
| func | Axon function |
def
func:finMobilePoints
finMobilePoints(filter)
finMobilePoints
meta
| def | func:finMobilePoints |
| is | func |
| lib | lib:finServerExt |
| name | finMobilePoints |
supertypes
| feature | Feature namespace of definitions formatted as feature:name |
| func | Axon function |
def
func:finMobilePoll
finMobilePoll(watchId, coreOnly: false)
finMobilePoll
meta
| def | func:finMobilePoll |
| is | func |
| lib | lib:finServerExt |
| name | finMobilePoll |
supertypes
| feature | Feature namespace of definitions formatted as feature:name |
| func | Axon function |
def
func:finSubEquipFilter
finSubEquipFilter(target)
Filter out recursively the equip and sub-equip of the base target Ref.
Fall-back to navFilter for non-equip paths
meta
| def | func:finSubEquipFilter |
| is | func |
| lib | lib:finServerExt |
| name | finSubEquipFilter |
supertypes
| feature | Feature namespace of definitions formatted as feature:name |
| func | Axon function |