Package deltix.qsrv.hf.codec.cg
Class CodecGenerator
- java.lang.Object
-
- deltix.qsrv.hf.codec.cg.CodecGenerator
-
public class CodecGenerator extends java.lang.Object
Generates a semantic tree based on RecordLayout
-
-
Field Summary
Fields Modifier and Type Field Description static JContext
CTXT
static java.lang.String
MANAGER_NAME
-
Constructor Summary
Constructors Constructor Description CodecGenerator(CGContext ctx)
CodecGenerator(TypeLoader typeLoader, deltix.util.lang.JavaCompilerHelper.SpecialClassLoader classLoader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JClass
generateDecoder(java.lang.String className, boolean external, RecordLayout layout)
JClass
generateEncoder(java.lang.String className, RecordLayout layout)
CompilationUnit[]
getDependencies()
JClass
getJClass()
void
setDependencies(CompilationUnit[] dependencies)
void
setJClass(JClass jClass)
static java.lang.String
toString(JClass jclass)
-
-
-
Field Detail
-
CTXT
public static final JContext CTXT
-
MANAGER_NAME
public static final java.lang.String MANAGER_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CodecGenerator
public CodecGenerator(TypeLoader typeLoader, deltix.util.lang.JavaCompilerHelper.SpecialClassLoader classLoader)
-
CodecGenerator
public CodecGenerator(CGContext ctx)
-
-
Method Detail
-
generateDecoder
public JClass generateDecoder(java.lang.String className, boolean external, RecordLayout layout)
-
generateEncoder
public JClass generateEncoder(java.lang.String className, RecordLayout layout)
-
toString
public static java.lang.String toString(JClass jclass)
-
setDependencies
public void setDependencies(CompilationUnit[] dependencies)
-
getDependencies
public CompilationUnit[] getDependencies()
-
getJClass
public JClass getJClass()
-
setJClass
public void setJClass(JClass jClass)
-
-