Skip to content

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 ​

finFilteredFuncEvalFilter all functions that match the provided funcFilter expression
finMobilePointsfinMobilePoints
finMobilePollfinMobilePoll
finSubEquipFilterFilter 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 Grid with the result of each matching function filtered according to the funcResFilter

Example:

// call a list of matching functions and filter their result
finFilteredFuncEval(someMarker and type="type1", otherMarker or name="foo bar")

meta ​

deffunc:finFilteredFuncEval
isfunc
liblib:finServerExt
namefinFilteredFuncEval

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finMobilePoints ​

finMobilePoints(filter) ​

finMobilePoints


meta ​

deffunc:finMobilePoints
isfunc
liblib:finServerExt
namefinMobilePoints

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function


def ​

func:finMobilePoll ​

finMobilePoll(watchId, coreOnly: false) ​

finMobilePoll


meta ​

deffunc:finMobilePoll
isfunc
liblib:finServerExt
namefinMobilePoll

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon 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 ​

deffunc:finSubEquipFilter
isfunc
liblib:finServerExt
namefinSubEquipFilter

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function