Package deltix.qsrv.hf.codec.cg
Class QBEnumType
- java.lang.Object
-
- deltix.qsrv.hf.codec.cg.QBoundType<QEnumType>
-
- deltix.qsrv.hf.codec.cg.QBEnumType
-
public class QBEnumType extends QBoundType<QEnumType>
-
-
Field Summary
-
Fields inherited from class deltix.qsrv.hf.codec.cg.QBoundType
accessor, javaBaseType, qType
-
-
Constructor Summary
Constructors Constructor Description QBEnumType(QEnumType qType, java.lang.Class<?> javaType, QAccessor accessor, QVariableContainerLookup lookupContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(JExpr input, JCompoundStatement addTo)voidencode(JExpr output, JCompoundStatement addTo)JExprgetNullLiteral()booleanhasConstraint()protected booleanhasNullLiteralImpl()protected JExprmakeConstantExpr(java.lang.Object obj)JExprreadIsConstraintViolated()-
Methods inherited from class deltix.qsrv.hf.codec.cg.QBoundType
getEncodeValue, getJavaBaseType, getJavaClass, getLiteral, getNullLiteralImpl, hasNullLiteral, move, readIsNull, readIsNullImpl, writeNull, writeObject
-
-
-
-
Constructor Detail
-
QBEnumType
public QBEnumType(QEnumType qType, java.lang.Class<?> javaType, QAccessor accessor, QVariableContainerLookup lookupContainer)
-
-
Method Detail
-
encode
public void encode(JExpr output, JCompoundStatement addTo)
- Overrides:
encodein classQBoundType<QEnumType>
-
decode
public void decode(JExpr input, JCompoundStatement addTo)
- Overrides:
decodein classQBoundType<QEnumType>
-
hasNullLiteralImpl
protected boolean hasNullLiteralImpl()
- Overrides:
hasNullLiteralImplin classQBoundType<QEnumType>
-
getNullLiteral
public JExpr getNullLiteral()
- Overrides:
getNullLiteralin classQBoundType<QEnumType>
-
makeConstantExpr
protected JExpr makeConstantExpr(java.lang.Object obj)
- Overrides:
makeConstantExprin classQBoundType<QEnumType>
-
hasConstraint
public boolean hasConstraint()
- Overrides:
hasConstraintin classQBoundType<QEnumType>
-
readIsConstraintViolated
public JExpr readIsConstraintViolated()
- Overrides:
readIsConstraintViolatedin classQBoundType<QEnumType>
-
-