Detailed Description
Extension of aspectData which stores the results created by the SWIG wrapper.
Inheritance diagram for SwigData:
Collaboration diagram for SwigData:
Public Member Functions | |
| constructor ({ flowElement, swigResults }) | |
| Constructor for SwigData. | |
| getInternal (key) | |
| Retrieves elementData via the swigWrapper but also casts it to the correct type via a check of the engine's property list metadata. | |
| getInternalIgnoringCase (key) | |
| Looks for a key again as the engine's own key for that name, ignoring letter case. | |
Public Member Functions inherited from AspectData | |
| constructor ({ flowElement, missingPropertyService=new MissingPropertyServiceBase() }) | |
| get (key) | |
Public Member Functions inherited from ElementData | |
| constructor ({ flowElement }) | |
| getInternal (key) | |
| getInternalIgnoringCase (key) | |
| get (key) | |
| getAsString (key) | |
| getAsFloat (key) | |
| getAsInteger (key) | |
Member Function Documentation
◆ constructor()
|
inline |
Constructor for SwigData.
- Parameters
-
{object} options options object {FlowElement} options.flowElement the FlowElement the data is part of {object} options.swigResults the results from the swig engine
◆ getInternal()
|
inline |
Retrieves elementData via the swigWrapper but also casts it to the correct type via a check of the engine's property list metadata.
- Parameters
-
{string} key the property key to retrieve
- Returns
- {AspectPropertyValue} value property value
◆ getInternalIgnoringCase()
|
inline |
Looks for a key again as the engine's own key for that name, ignoring letter case.
The engine maps each key in lower case to its own key when the data file loads, because the match metric keys are not all in lower case.
- Parameters
-
{string} key the property key to retrieve
- Returns
- {AspectPropertyValue} value property value
