Example #1
0
 protected SBMLImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, ASTHandler astHandler, IMoBiContext context)
 {
     ObjectPathFactory = objectPathFactory;
     ObjectBaseFactory = objectBaseFactory;
     _astHandler       = astHandler;
     _context          = context;
 }
Example #2
0
 public CompartmentImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory,
                            IMoBiSpatialStructureFactory spatialStructureFactory, IMoBiDimensionFactory moBiDimensionFactory,
                            ASTHandler astHandler, IMoBiContext context)
     : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _objectBaseFactory       = objectBaseFactory;
     _spatialStructureFactory = spatialStructureFactory;
     _dimensionFactory        = moBiDimensionFactory;
 }
Example #3
0
 public CompartmentImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory,
                            IMoBiSpatialStructureFactory spatialStructureFactory, IMoBiDimensionFactory moBiDimensionFactory,
                            ASTHandler astHandler, IMoBiContext context, IFormulaFactory formulaFactory, IUnitDefinitionImporter unitDefinitionImporter)
     : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _objectBaseFactory       = objectBaseFactory;
     _spatialStructureFactory = spatialStructureFactory;
     _dimensionFactory        = moBiDimensionFactory;
     _formulaFactory          = formulaFactory;
     _unitDefinitionImporter  = unitDefinitionImporter;
 }
 public FunctionDefinitionImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, ASTHandler astHandler, IMoBiContext context) : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _functionDefinitions = new List <FunctionDefinition>();
 }
 protected AssignmentImporterBase(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, ASTHandler astHandler, IMoBiContext context) : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _astHandler.NeedAbsolutePath = true;
 }
Example #6
0
 public EventImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, ASTHandler astHandler, IMoBiContext context) : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _eventAssignmentList = new List <IEventAssignment>();
     _counter             = 0;
 }
 public ReactionImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, IMoBiDimensionFactory moBiDimensionFactory, ASTHandler astHandler, IMoBiContext context, IReactionBuildingBlockFactory reactionBuildingBlockFactory, IFunctionDefinitionImporter functionDefinitionImporter, ISpeciesImporter speciesImporter, IUnitDefinitionImporter unitDefinitionImporter)
     : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _dimensionFactory              = moBiDimensionFactory;
     ReactionBuilderList            = new List <IReactionBuilder>();
     _passiveTransportList          = new List <ITransportBuilder>();
     _reactionBuildingBlock         = reactionBuildingBlockFactory.Create().WithName(SBMLConstants.SBML_REACTION_BB);
     _passiveTransportBuildingBlock = ObjectBaseFactory.Create <IPassiveTransportBuildingBlock>()
                                      .WithName(SBMLConstants.SBML_PASSIVETRANSPORTS_BB);
     _functionDefinitionImporter = functionDefinitionImporter;
     _speciesImporter            = speciesImporter;
     _unitDefinitionImporter     = unitDefinitionImporter;
 }
 public ParameterImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, ASTHandler astHandler, IMoBiContext context, IUnitDefinitionImporter unitDefinitionImporter, IFormulaFactory formulaFactory)
     : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _paramList = new List <IEntity>();
     _unitDefinitionImporter = unitDefinitionImporter;
     _formulaFactory         = formulaFactory;
 }
Example #9
0
 public ParameterImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, ASTHandler astHandler, IMoBiContext context)
     : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _paramList = new List <IEntity>();
 }
Example #10
0
 public RuleImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, ASTHandler astHandler, IMoBiContext context, IReactionBuildingBlockFactory reactionBuildingBlockFactory) : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _reactionBuildingBlockFactory = reactionBuildingBlockFactory;
 }
Example #11
0
 public SpeciesImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, IMoleculeBuilderFactory moleculeBuilderFactory, IMoleculeStartValuesCreator moleculeStartValuesCreator, IMoBiDimensionFactory moBiDimensionFactory, ASTHandler astHandler, IMoBiContext context)
     : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _moleculeBuilderFactory     = moleculeBuilderFactory;
     _moleculeStartValuesCreator = moleculeStartValuesCreator;
     _moBiDimensionFactory       = moBiDimensionFactory;
     _counter             = 1;
     _dimensionDictionary = new Dictionary <string, Dimension>();
 }
Example #12
0
 public UnitDefinitionImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, IMoBiDimensionFactory mobiDimensionFactory, ASTHandler astHandler, IMoBiContext context) : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _moBiDimensionFactory = mobiDimensionFactory;
     _baseUnitsDictionary = new Dictionary<int, Unit>();
     InitBaseUnitsDictionary();
 }
Example #13
0
 public InitialAssignmentImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, ASTHandler astHandler, IMoBiContext context) : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
 }
Example #14
0
 public AssignmentImporter(IObjectPathFactory objectPathFactory, IObjectBaseFactory objectBaseFactory, InitialAssignmentImporter initialAssignmentImporter, RuleImporter ruleImporter, ASTHandler astHandler, IMoBiContext context) : base(objectPathFactory, objectBaseFactory, astHandler, context)
 {
     _initialAssignmentImporter = initialAssignmentImporter;
     _ruleImporter = ruleImporter;
 }