public class CfgCPrinter extends PrinterWalkerEngine
CfgModel
model to C programming language format.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENGINE_ID
The engine identifier.
|
static Parameter |
OUT_FILE_NAME
The parameter for output C file name.
|
static EntityType |
OUT_TYPE
The engine output entity type.
|
DISABLE_BACKENDS, NO_BACKEND
Constructor and Description |
---|
CfgCPrinter()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultFileName()
Returns the default name for file is created by the printer.
|
protected java.lang.String |
getOutFileExt()
Returns the extension for generated files.
|
protected Parameter |
getOutFileName() |
protected void |
initVisitor(java.lang.String fileName)
Initializes visitor with the spcified file name.
|
getOutput, initialize
getInitVisitor, getWalkers, setWalkers, start
addBackend, addInputType, addParameter, deactivateBackends, debugWrite, debugWrite, defines, disableAllBackends, enableAllBackends, equals, getBackends, getId, getInputEntity, getInputTypes, getLogger, getOptionalInputEntity, getOutputType, getParameters, hashCode, isDebugMode, parseCommandLine, setDebugMode, setOutputType, start, toString
public static final java.lang.String ENGINE_ID
public static final EntityType OUT_TYPE
public static final Parameter OUT_FILE_NAME
protected Parameter getOutFileName()
getOutFileName
in class PrinterWalkerEngine
protected java.lang.String getOutFileExt()
PrinterWalkerEngine
getOutFileExt
in class PrinterWalkerEngine
protected void initVisitor(java.lang.String fileName)
PrinterWalkerEngine
initVisitor
in class PrinterWalkerEngine
fileName
- The string name for output file.public java.lang.String getDefaultFileName()
PrinterEngine