Interface FmiBuilder.Scope<AST>
- All Superinterfaces:
FmiBuilder.ScopeElement<AST>,FmiBuilder.Scoping<AST>
- All Known Subinterfaces:
FmiBuilder.DynamicActiveScope<AST>,FmiBuilder.WhileScope<AST>
- Enclosing interface:
FmiBuilder<AST,B, E, SETTINGS>
Basic scope. Allows a value to be stored or override a tag
-
Method Summary
Modifier and TypeMethodDescriptionactivate()voidaddTransferAs(String... names) <V> FmiBuilder.ArrayVariable<AST, V> createArray(String name, Class<? extends V> type, FmiBuilder.IntVariable<AST>... sizes) <V> FmiBuilder.ArrayVariable<AST, V> createArray(String name, Class<? extends V> type, FmiBuilder.UIntVariable<AST>... sizes) <PS> FmiBuilder.Fmu2Variable<AST, PS> <PS> FmiBuilder.Fmu3Variable<AST> createFMU3(String name, String loaderName, String... args) voidmarkTransferPoint(String... names) store(boolean value) store(double value) Store a given valuestore(float value) store(int value) Store a given value with a prefix name<CV> FmiBuilder.ArrayVariable<AST, CV> <V> FmiBuilder.Variable<AST, V> store(FmiBuilder.Value<V> tag) Deprecated.storeUInt(long value) Methods inherited from interface org.intocps.maestro.framework.fmi2.api.FmiBuilder.ScopeElement
findParent, getDeclaration, parentMethods inherited from interface org.intocps.maestro.framework.fmi2.api.FmiBuilder.Scoping
add, addAfter, addAll, addBefore, enterIf, enterScope, enterTry, enterWhile, leave, parallel
-
Method Details
-
activate
FmiBuilder.Scope<AST> activate()- Specified by:
activatein interfaceFmiBuilder.Scoping<AST>
-
store
Store a given value- Parameters:
value-- Returns:
-
store
-
store
-
store
-
store
-
storeUInt
-
store
Store a given value with a prefix name- Parameters:
value-- Returns:
-
store
-
store
-
store
-
store
-
storeUInt
-
store
-
createArray
<V> FmiBuilder.ArrayVariable<AST,V> createArray(String name, Class<? extends V> type, FmiBuilder.IntVariable<AST>... sizes) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException -
createArray
<V> FmiBuilder.ArrayVariable<AST,V> createArray(String name, Class<? extends V> type, FmiBuilder.UIntVariable<AST>... sizes) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException -
store
Deprecated.Store the given value and get a tag for it. Copy- Parameters:
tag-- Returns:
-
createFMU
<PS> FmiBuilder.Fmu2Variable<AST,PS> createFMU(String name, String loaderName, String... args) throws Exception - Throws:
Exception
-
createFMU3
<PS> FmiBuilder.Fmu3Variable<AST> createFMU3(String name, String loaderName, String... args) throws Exception - Throws:
Exception
-
markTransferPoint
-
addTransferAs
-