Class SimulinkSelectOperation
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.AbstractOperation
-
- org.eclipse.epsilon.eol.execute.operations.declarative.FirstOrderOperation
-
- org.eclipse.epsilon.eol.execute.operations.declarative.SelectOperation
-
- org.eclipse.epsilon.emc.simulink.operations.SimulinkSelectOperation
-
public class SimulinkSelectOperation extends SelectOperation
-
-
Field Summary
Fields Modifier and Type Field Description protected MatlabEngine
engine
protected java.lang.Boolean
lookUnderMasks
protected SimulinkModel
model
-
Constructor Summary
Constructors Constructor Description SimulinkSelectOperation(SimulinkModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<?>
execute(boolean returnOnMatch, java.lang.Object target, NameExpression operationNameExpression, java.util.List<Parameter> iterators, Expression expression, IEolContext context)
protected java.lang.String
expression(Expression exp)
protected java.lang.String
processValue(Expression operand)
TODO check and handle elements of type simulinkmodel elementprotected AbstractSimulinkCollection<?,?,?>
wrap(java.lang.Object result, AbstractSimulinkCollection<?,?,?> target)
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.declarative.SelectOperation
execute, execute
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.declarative.FirstOrderOperation
createIteratorVariable, execute, resolve, resolveFunction, resolvePredicate, resolveSource
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.AbstractOperation
isOverridable, toString
-
-
-
-
Field Detail
-
engine
protected MatlabEngine engine
-
model
protected SimulinkModel model
-
lookUnderMasks
protected java.lang.Boolean lookUnderMasks
-
-
Constructor Detail
-
SimulinkSelectOperation
public SimulinkSelectOperation(SimulinkModel model)
-
-
Method Detail
-
execute
public java.util.Collection<?> execute(boolean returnOnMatch, java.lang.Object target, NameExpression operationNameExpression, java.util.List<Parameter> iterators, Expression expression, IEolContext context) throws EolRuntimeException
- Overrides:
execute
in classSelectOperation
- Returns:
- Throws:
EolRuntimeException
-
wrap
protected AbstractSimulinkCollection<?,?,?> wrap(java.lang.Object result, AbstractSimulinkCollection<?,?,?> target)
-
expression
protected java.lang.String expression(Expression exp) throws java.lang.Exception
- Throws:
java.lang.Exception
-
processValue
protected java.lang.String processValue(Expression operand) throws java.lang.Exception
TODO check and handle elements of type simulinkmodel element- Throws:
java.lang.Exception
-
-