5.1.1.2.1.1.1.6. pycropml.transpiler.generators.openaleaGenerator module

class pycropml.transpiler.generators.openaleaGenerator.OpenaleaCompo(tree, model=None, name=None)[source]

Bases: pycropml.transpiler.generators.pythonGenerator.PythonCompo

This class used to generates states, rates and auxiliary classes for C# languages.

generate_factory(model)[source]

Create a Node Factory from CropML model unit.

generate_wralea(mc)[source]

Generate wralea factories from the meta-information of the the model units.

class pycropml.transpiler.generators.openaleaGenerator.OpenaleaGenerator(tree=None, model=None, name=None)[source]

Bases: pycropml.transpiler.generators.pythonGenerator.PythonGenerator

This class contains the specific properties of OpenAlea and use the NodeVisitor to generate a csharp code source from a well formed syntax tree.

pycropml.transpiler.generators.openaleaGenerator.openalea_interface(inout)[source]
pycropml.transpiler.generators.openaleaGenerator.signature(model)[source]