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.Object
Represents a value bound to a constant, variable or object field.Notice that a value can be kept in more then one java variable (see
QAVariable
for example).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decode(JExpr input, JCompoundStatement addTo)
void
decodeRelative(JExpr input, QValue base, JExpr isBaseNull, JCompoundStatement addTo)
void
encode(JExpr output, JCompoundStatement addTo)
protected java.lang.UnsupportedOperationException
notImplemented()
JExpr
read()
JExpr
readIsNull(boolean eq)
JStatement
write(JExpr arg)
JStatement
writeIsNull(JExpr arg)
JStatement
writeNull()
-
-
-
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()
-
-