Package org.lemsml.export.c
Class CWriter
- java.lang.Object
-
- org.lemsml.export.base.ABaseWriter
-
- org.lemsml.export.c.CWriter
-
- All Implemented Interfaces:
IBaseWriter
public class CWriter extends ABaseWriter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CWriter.Solver
-
Field Summary
-
Fields inherited from class org.lemsml.export.base.ABaseWriter
format, lems, sli
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addComment(StringBuilder sb, String comment)
List<File>
convert()
String
getMainScript()
String
getMakefile()
CWriter.Solver
getSolver()
void
setSolver(CWriter.Solver solver)
void
setSupportedFeatures()
-
Methods inherited from class org.lemsml.export.base.ABaseWriter
getOutputFileName, getOutputFolder, setOutputFileName, setOutputFolder
-
-
-
-
Constructor Detail
-
CWriter
public CWriter(org.lemsml.jlems.core.type.Lems lems) throws ModelFeatureSupportException, org.neuroml.model.util.NeuroMLException, org.lemsml.jlems.core.sim.LEMSException
- Throws:
ModelFeatureSupportException
org.neuroml.model.util.NeuroMLException
org.lemsml.jlems.core.sim.LEMSException
-
CWriter
public CWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName) throws ModelFeatureSupportException, org.neuroml.model.util.NeuroMLException, org.lemsml.jlems.core.sim.LEMSException
- Throws:
ModelFeatureSupportException
org.neuroml.model.util.NeuroMLException
org.lemsml.jlems.core.sim.LEMSException
-
-
Method Detail
-
setSupportedFeatures
public void setSupportedFeatures()
-
getSolver
public CWriter.Solver getSolver()
-
setSolver
public void setSolver(CWriter.Solver solver)
-
addComment
protected void addComment(StringBuilder sb, String comment)
- Specified by:
addComment
in classABaseWriter
-
getMakefile
public String getMakefile() throws GenerationException, org.lemsml.jlems.core.sim.ContentError
- Throws:
GenerationException
org.lemsml.jlems.core.sim.ContentError
-
getMainScript
public String getMainScript() throws org.lemsml.jlems.core.sim.LEMSException, GenerationException, org.neuroml.model.util.NeuroMLException
- Throws:
org.lemsml.jlems.core.sim.LEMSException
GenerationException
org.neuroml.model.util.NeuroMLException
-
convert
public List<File> convert() throws GenerationException, IOException
- Throws:
GenerationException
IOException
-
-