Package deltix.qsrv.hf.codec.cg
Class QValue<T extends QType>
- java.lang.Object
-
- deltix.qsrv.hf.codec.cg.QValue<T>
-
public class QValue<T extends QType> extends java.lang.ObjectRepresents a value bound to a constant, variable or object field.Notice that a value can be kept in more then one java variable (see
QAVariablefor example).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(JExpr input, JCompoundStatement addTo)voiddecodeRelative(JExpr input, QValue base, JExpr isBaseNull, JCompoundStatement addTo)voidencode(JExpr output, JCompoundStatement addTo)protected java.lang.UnsupportedOperationExceptionnotImplemented()JExprread()JExprreadIsNull(boolean eq)JStatementwrite(JExpr arg)JStatementwriteIsNull(JExpr arg)JStatementwriteNull()
-
-
-
Constructor Detail
-
QValue
public QValue(T type)
-
-
Method Detail
-
readIsNull
public JExpr readIsNull(boolean eq)
-
writeNull
public JStatement writeNull()
-
writeIsNull
public JStatement writeIsNull(JExpr arg)
-
read
public JExpr read()
-
write
public JStatement write(JExpr arg)
-
decode
public void decode(JExpr input, JCompoundStatement addTo)
-
decodeRelative
public void decodeRelative(JExpr input, QValue base, JExpr isBaseNull, JCompoundStatement addTo)
-
encode
public void encode(JExpr output, JCompoundStatement addTo)
-
notImplemented
protected java.lang.UnsupportedOperationException notImplemented()
-
-