Lade...
 

CX_FORMULA_ATTRIBUTE::GetInputAccessPaths

CX_FORMULA_ATTRIBUTE::GetInputAccessPaths

233188
Beschreibung:

Ruft CX_FORMULA::GetInputAccessPaths auf der zugrunde liegenden Formel auf.

Code-Beispiel:
// Create the formula attribute with formula: volume=width*height*depth Var(formulaAttribute, formula) CreateTransObject(CX_FORMULA_ATTRIBUTE) -> formulaAttribute CreateTransObject(CX_FORMULA) -> formula "width*height*depth" // = volume formula Put "volume" formulaAttribute Put(NameMA()) // which slot should be calculated? formula formulaAttribute Link(formula) // how should the slot's value be calculated? // 'width' and 'height' are returned as access paths because they are ambiguous slot names formulaAttribute Call(GetInputAccessPaths) // -> [ "height" "width" ]
Stack
Stack Position Objekttyp Kurzbeschreibung
Stack(In) Top CX_FORMULA_ATTRIBUTE Ein Formel Attribut
Stack(Out) Top VECTOR<STRING> Die (internen) Namen der Slots, die an die Formel gebunden sind
Funktionsaufruf: Call(GetInputAccessPaths)