Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/16/21 15:27:07 (3 years ago)
Author:
dpiringe
Message:

#3026

  • added StorableTypeAttribute and StorableConstructorAttribute to all JsonItems
  • added a new JsonItem ListJsonItem + Interfaces IListJsonItem
  • renamed SymRegPythonProcessor to RunCollectionSRSolutionPythonFormatter
  • removed Interface IResultCollectionProcessor -> using the interface IRunCollectionModifier now (has aleady implementations)
  • renamed all related variables/fields/properties with a connection to ResultCollectionProcessor
  • added new implementations for IRunCollectionModifier
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonItems/DoubleJsonItems.cs

    r17519 r18055  
    11using Newtonsoft.Json.Linq;
     2using HEAL.Attic;
    23
    34namespace HeuristicLab.JsonInterface {
     5  [StorableType("B9B3843E-90B9-453F-AB7F-B3A4B8DF6809")]
    46  public class DoubleJsonItem : IntervalRestrictedValueJsonItem<double> {
    57    public override JObject GenerateJObject() {
     
    2022      base.SetJObject(jObject);
    2123    }
     24
     25    public DoubleJsonItem() { }
     26
     27    [StorableConstructor]
     28    protected DoubleJsonItem(StorableConstructorFlag _) : base(_) { }
    2229  }
     30
     31  [StorableType("D7E2BA3D-E9F7-4062-8423-182B517FA7CA")]
    2332  public class DoubleArrayJsonItem : IntervalRestrictedArrayJsonItem<double> {
    2433    public override JObject GenerateJObject() {
     
    3948      base.SetJObject(jObject);
    4049    }
     50
     51    public DoubleArrayJsonItem() { }
     52
     53    [StorableConstructor]
     54    protected DoubleArrayJsonItem(StorableConstructorFlag _) : base(_) { }
    4155  }
     56
     57  [StorableType("4ED29A62-F368-476B-B551-4283E428F7B9")]
    4258  public class DoubleRangeJsonItem : RangedJsonItem<double> {
    4359    public override JObject GenerateJObject() {
     
    5874      base.SetJObject(jObject);
    5975    }
     76
     77    public DoubleRangeJsonItem() { }
     78
     79    [StorableConstructor]
     80    protected DoubleRangeJsonItem(StorableConstructorFlag _) : base(_) { }
    6081  }
     82
     83  [StorableType("39C117DA-6274-4C1F-8CA8-A57B1A7A9C72")]
    6184  public class DoubleMatrixJsonItem : IntervalRestrictedMatrixJsonItem<double> {
    6285    public override JObject GenerateJObject() {
     
    77100      base.SetJObject(jObject);
    78101    }
     102
     103    public DoubleMatrixJsonItem() { }
     104
     105    [StorableConstructor]
     106    protected DoubleMatrixJsonItem(StorableConstructorFlag _) : base(_) { }
    79107  }
    80108}
Note: See TracChangeset for help on using the changeset viewer.