public class CSharpGenerator extends Object implements CodeGenerator
| Constructor and Description |
|---|
CSharpGenerator(Ir ir,
OutputManager outputManager)
Create a new C# language
CodeGenerator. |
CSharpGenerator(Ir ir,
PrecedenceChecks precedenceChecks,
OutputManager outputManager)
Create a new C# language
CodeGenerator. |
| Modifier and Type | Method and Description |
|---|---|
void |
generate()
Generate the complete set of types and messages for a schema.
|
void |
generateMessageHeaderStub()
Generate the composites for dealing with the message header.
|
void |
generateTypeStubs()
Generate the stubs for the types used as message fields.
|
public CSharpGenerator(Ir ir, OutputManager outputManager)
CodeGenerator.ir - for the messages and types.outputManager - for generating the codecs to.public CSharpGenerator(Ir ir, PrecedenceChecks precedenceChecks, OutputManager outputManager)
CodeGenerator.ir - for the messages and types.precedenceChecks - whether and how to perform field precedence checks.outputManager - for generating the codecs to.public void generateMessageHeaderStub()
throws IOException
IOException - if an error is encountered when writing the output.public void generateTypeStubs()
throws IOException
IOException - if an error is encountered when writing the output.public void generate()
throws IOException
generate in interface CodeGeneratorIOException - if an error is encountered when writing the output.Copyright © 2013-2024 Real Logic Limited. All Rights Reserved.