- Timestamp:
- 06/12/13 13:32:34 (12 years ago)
- Location:
- branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data
- Property svn:ignore
-
old new 1 1 bin 2 2 obj 3 *.user
-
- Property svn:ignore
-
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/ColumnBase.cs
r8387 r9614 28 28 [StorableClass] 29 29 public abstract class ColumnBase { 30 private ColumnBase() {31 }30 [StorableConstructor] 31 protected ColumnBase(bool deserializing) : base() { } 32 32 33 33 protected ColumnBase(string name) 34 : this() {34 : base() { 35 35 this.sortOrder = SortOrder.None; 36 36 this.name = name; 37 37 } 38 38 39 private Type dataType; 40 public Type DataType { 41 get { return dataType; } 42 protected set { this.dataType = value; } 43 } 39 public abstract Type DataType { get; } 44 40 45 41 [Storable] -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/ColumnGroup.cs
r7968 r9614 29 29 [StorableClass] 30 30 public class ColumnGroup { 31 31 [StorableConstructor] 32 protected ColumnGroup(bool deserializing) : base() { } 32 33 public ColumnGroup() 33 34 : base() { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/DataSet.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 using System.Xml;27 using HeuristicLab.DataImporter.Data.View;28 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 26 … … 37 34 get { return this.columnGroups; } 38 35 } 39 36 [StorableConstructor] 37 protected DataSet(bool deserializing) : base() { } 40 38 public DataSet() { 41 39 this.columnGroups = new List<ColumnGroup>(); -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/DateTimeColumn.cs
r7267 r9614 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 using System.Xml;27 24 using System.Globalization; 28 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 34 31 private List<DateTime?> values; 35 32 36 private DateTimeColumn() : base(string.Empty) { 37 this.DataType = typeof(DateTime?); 38 } 33 [StorableConstructor] 34 protected DateTimeColumn(bool deserializing) : base(deserializing) { } 39 35 40 36 public DateTimeColumn(string columnName) 41 37 : base(columnName) { 42 this.DataType = typeof(DateTime?);43 38 this.values = new List<DateTime?>(); 44 39 } … … 47 42 : this(columnName) { 48 43 this.values.Capacity = capacity; 44 } 45 46 public override Type DataType { 47 get { return typeof(DateTime?); } 49 48 } 50 49 -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/DoubleColumn.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections; 23 24 using System.Collections.Generic; 24 using System. Collections;25 using System.Globalization; 25 26 using System.Linq; 26 using System.Text;27 using System.Xml;28 using System.Globalization;29 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 28 … … 35 33 private List<double?> values; 36 34 37 private DoubleColumn() :base(string.Empty) { 38 this.DataType = typeof(double?); 39 } 35 [StorableConstructor] 36 protected DoubleColumn(bool deserializing) : base(deserializing) { } 40 37 41 38 public DoubleColumn(string columnName) 42 39 : base(columnName) { 43 this.DataType = typeof(double?);44 40 this.values = new List<double?>(); 45 41 } … … 48 44 : this(columnName) { 49 45 this.values.Capacity = capacity; 46 } 47 48 public override Type DataType { 49 get { return typeof(double?); } 50 50 } 51 51 -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/ProgrammableColumn.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Collections; 25 24 using System.Linq; 26 using System.Text;27 using System.Xml;28 using System.Globalization;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 36 32 private int myIndexInColumnGroup; 37 33 38 private ProgrammableColumn() 39 : base(string.Empty) { 40 this.DataType = typeof(double?); 41 } 34 [StorableConstructor] 35 protected ProgrammableColumn(bool deserializing) : base(deserializing) { } 42 36 43 37 public ProgrammableColumn(string columnName, ColumnGroup columnGroup) 44 38 : base(columnName) { 45 this.DataType = typeof(double?);46 39 this.ColumnGroup = columnGroup; 47 40 Expression = string.Empty; 41 } 42 43 public override Type DataType { 44 get { return typeof(double?); } 48 45 } 49 46 -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/StringColumn.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections; 23 24 using System.Collections.Generic; 24 using System.Collections;25 using System.Linq;26 using System.Text;27 using System.Xml;28 using System.Globalization;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 35 31 private List<string> values; 36 32 37 private StringColumn() :base(string.Empty) { 38 this.DataType = typeof(string); 39 } 33 [StorableConstructor] 34 protected StringColumn(bool deserializing) : base(deserializing) { } 40 35 41 36 public StringColumn(string columnName) 42 37 : base(columnName) { 43 this.DataType = typeof(string);44 38 this.values = new List<string>(); 45 39 } … … 48 42 : this(columnName) { 49 43 this.values.Capacity = capacity; 44 } 45 46 public override Type DataType { 47 get { return typeof(string); } 50 48 } 51 49
Note: See TracChangeset
for help on using the changeset viewer.