Class IntVariableFmi2Api
- java.lang.Object
-
- org.intocps.maestro.framework.fmi2.api.mabl.variables.VariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
-
- org.intocps.maestro.framework.fmi2.api.mabl.variables.IntVariableFmi2Api
-
- All Implemented Interfaces:
org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntVariable<org.intocps.maestro.ast.node.PStm>,org.intocps.maestro.framework.fmi2.api.Fmi2Builder.NumericTypedReferenceExp,org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ProvidesTypedReferenceExp,org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>,IndexedVariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
public class IntVariableFmi2Api extends VariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue> implements org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntVariable<org.intocps.maestro.ast.node.PStm>
-
-
Field Summary
-
Fields inherited from class org.intocps.maestro.framework.fmi2.api.mabl.variables.VariableFmi2Api
dynamicScope, type
-
-
Constructor Summary
Constructors Constructor Description IntVariableFmi2Api(org.intocps.maestro.ast.node.PStm declaration, IMablScope declaredScope, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.DynamicActiveScope<org.intocps.maestro.ast.node.PStm> dynamicScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntVariableFmi2Apiclone(org.intocps.maestro.ast.node.PStm declaration, IMablScope declaredScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp)voiddecrement()voiddecrement(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope)org.intocps.maestro.ast.node.PExpgetExp()org.intocps.maestro.ast.node.PTypegetType()voidincrement()voidincrement(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope)voidsetValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue addition)IntExpressionValuetoMath()-
Methods inherited from class org.intocps.maestro.framework.fmi2.api.mabl.variables.VariableFmi2Api
getDeclaredScope, getDeclaringStm, getDesignator, getDesignatorClone, getName, getReferenceExp, setValue, setValue, setValue, setValue, setValue, setValue
-
-
-
-
Constructor Detail
-
IntVariableFmi2Api
public IntVariableFmi2Api(org.intocps.maestro.ast.node.PStm declaration, IMablScope declaredScope, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.DynamicActiveScope<org.intocps.maestro.ast.node.PStm> dynamicScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp)
-
-
Method Detail
-
decrement
public void decrement()
- Specified by:
decrementin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntVariable<org.intocps.maestro.ast.node.PStm>
-
decrement
public void decrement(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope)
-
increment
public void increment()
- Specified by:
incrementin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntVariable<org.intocps.maestro.ast.node.PStm>
-
toMath
public IntExpressionValue toMath()
- Overrides:
toMathin classVariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
-
setValue
public void setValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue addition)
- Specified by:
setValuein interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>- Overrides:
setValuein classVariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
-
increment
public void increment(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope)
-
getType
public org.intocps.maestro.ast.node.PType getType()
- Specified by:
getTypein interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.ProvidesTypedReferenceExp- Overrides:
getTypein classVariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
-
getExp
public org.intocps.maestro.ast.node.PExp getExp()
- Specified by:
getExpin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.ProvidesTypedReferenceExp- Overrides:
getExpin classVariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
-
clone
public IntVariableFmi2Api clone(org.intocps.maestro.ast.node.PStm declaration, IMablScope declaredScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp)
- Overrides:
clonein classVariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
-
-