Changeset 1659
- Timestamp:
- 04/24/09 15:18:45 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Persistence/3.3
- Files:
-
- 3 added
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Core/PersistenceException.cs
r1625 r1659 3 3 using HeuristicLab.Persistence.Interfaces; 4 4 using HeuristicLab.Persistence.Core.Tokens; 5 using HeuristicLab.Persistence.Default.Decomposers.Storable; 5 6 6 7 namespace HeuristicLab.Persistence.Core { 7 8 9 [Serializable] 8 10 public class PersistenceException : Exception { 9 11 public PersistenceException() : base() { } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/DebugString.cs
r1567 r1659 6 6 using HeuristicLab.Persistence.Core; 7 7 using HeuristicLab.Persistence.Core.Tokens; 8 using HeuristicLab.Persistence.Default.Decomposers.Storable; 8 9 9 10 namespace HeuristicLab.Persistence.Default.DebugString { 11 12 public class DebugString : ISerialData { 10 13 11 public class DebugString : ISerialData {14 [Storable] 12 15 public string Data { get; set; } 16 13 17 public DebugString(string s) { 14 18 Data = s; 15 19 } 20 16 21 } 17 22 -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/DebugStringFormat.cs
r1567 r1659 6 6 using HeuristicLab.Persistence.Core; 7 7 using HeuristicLab.Persistence.Core.Tokens; 8 using HeuristicLab.Persistence.Default.Decomposers.Storable; 8 9 9 10 namespace HeuristicLab.Persistence.Default.DebugString { 10 11 12 [EmptyStorableClass] 11 13 public class DebugStringFormat : FormatBase<DebugString> { 12 public override string Name { get { return " ViewOnly"; } }14 public override string Name { get { return "DebugString"; } } 13 15 } 14 16 -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/Bool2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class Bool2DebugStringFormatter : ValueType2DebugStringFormatterBase<bool> { }13 public class Bool2DebugStringFormatter : DebugStringFormatterBase<bool> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/Byte2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class Byte2DebugStringFormatter : ValueType2DebugStringFormatterBase<byte> { }13 public class Byte2DebugStringFormatter : DebugStringFormatterBase<byte> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/Char2DebugStringFormatter.cs
r1652 r1659 11 11 12 12 [EmptyStorableClass] 13 public class Char2DebugStringFormatter : ValueType2DebugStringFormatterBase<char> { }13 public class Char2DebugStringFormatter : DebugStringFormatterBase<char> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/DateTime2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class DateTime2DebugStringFormatter : ValueType2DebugStringFormatterBase<DateTime> { }13 public class DateTime2DebugStringFormatter : DebugStringFormatterBase<DateTime> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/Doubld2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class Double2DebugStringFormatter : ValueType2DebugStringFormatterBase<double> { }13 public class Double2DebugStringFormatter : DebugStringFormatterBase<double> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/Float2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class Float2DebugStringFormatter : ValueType2DebugStringFormatterBase<float> { }13 public class Float2DebugStringFormatter : DebugStringFormatterBase<float> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/Int2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class Int2DebugStringFormatter : ValueType2DebugStringFormatterBase<int> { }13 public class Int2DebugStringFormatter : DebugStringFormatterBase<int> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/Long2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class Long2DebugStringFormatter : ValueType2DebugStringFormatterBase<long> { }13 public class Long2DebugStringFormatter : DebugStringFormatterBase<long> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/SByte2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class SByte2DebugStringFormatter : ValueType2DebugStringFormatterBase<sbyte> { }13 public class SByte2DebugStringFormatter : DebugStringFormatterBase<sbyte> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/Short2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class Short2DebugStringFormatter : ValueType2DebugStringFormatterBase<short> { }13 public class Short2DebugStringFormatter : DebugStringFormatterBase<short> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/String2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class String2DebugStringFormatter : ValueType2DebugStringFormatterBase<string> { }13 public class String2DebugStringFormatter : DebugStringFormatterBase<string> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/Type2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class Type2DebugStringFormatter : ValueType2DebugStringFormatterBase<Type> { }13 public class Type2DebugStringFormatter : DebugStringFormatterBase<Type> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/UInt2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class UInt2DebugStringFormatter : ValueType2DebugStringFormatterBase<uint> { }13 public class UInt2DebugStringFormatter : DebugStringFormatterBase<uint> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/ULong2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class ULong2DebugStringFormatter : ValueType2DebugStringFormatterBase<ulong> { }13 public class ULong2DebugStringFormatter : DebugStringFormatterBase<ulong> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/UShort2DebugStringFormatter.cs
r1623 r1659 11 11 12 12 [EmptyStorableClass] 13 public class UShort2DebugStringFormatter : ValueType2DebugStringFormatterBase<ushort> { }13 public class UShort2DebugStringFormatter : DebugStringFormatterBase<ushort> { } 14 14 15 15 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/Formatters/ValueType2DebugStringFormatterBase.cs
r1612 r1659 9 9 namespace HeuristicLab.Persistence.Default.DebugString.Formatters { 10 10 11 public abstract class ValueType2DebugStringFormatterBase<T> : FormatterBase<T, DebugString> {11 public abstract class DebugStringFormatterBase<T> : FormatterBase<T, DebugString> { 12 12 public override DebugString Format(T o) { return new DebugString(o.ToString()); } 13 13 public override T Parse(DebugString s) { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Compact/NumberArray2XmlFormatterBase.cs
r1625 r1659 7 7 namespace HeuristicLab.Persistence.Default.Xml.Compact { 8 8 9 public abstract class NumberArray2XmlFormatterBase<T> : FormatterBase<T, XmlString> where T : class {9 public abstract class NumberArray2XmlFormatterBase<T> : CompactXmlFormatterBase<T> where T : class { 10 10 11 11 protected virtual string Separator { get { return ";"; } } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Compact/NumberEnumeration2XmlFormatterBase.cs
r1625 r1659 7 7 namespace HeuristicLab.Persistence.Default.Xml.Compact { 8 8 9 public abstract class NumberEnumeration2XmlFormatterBase<T> : FormatterBase<T, XmlString> where T : IEnumerable {9 public abstract class NumberEnumeration2XmlFormatterBase<T> : CompactXmlFormatterBase<T> where T : IEnumerable { 10 10 11 11 protected virtual string Separator { get { return ";"; } } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/DateTime2XmlFormatter.cs
r1625 r1659 7 7 8 8 [EmptyStorableClass] 9 public class DateTime2XmlFormatter : FormatterBase<DateTime, XmlString> {9 public class DateTime2XmlFormatter : PrimitiveXmlFormatterBase<DateTime> { 10 10 11 11 public override XmlString Format(DateTime dt) { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/DecimalNumber2XmlFormatterBase.cs
r1625 r1659 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 public abstract class DecimalNumber2XmlFormatterBase<T> : FormatterBase<T, XmlString> {9 public abstract class DecimalNumber2XmlFormatterBase<T> : PrimitiveXmlFormatterBase<T> { 10 10 11 11 private static MethodInfo ToStringMethod = typeof(T) -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/SByte2XmlFormatter.cs
r1623 r1659 9 9 10 10 [EmptyStorableClass] 11 public class S byte2XmlFormatter : SimpleNumber2XmlFormatterBase<sbyte> { }11 public class SByte2XmlFormatter : SimpleNumber2XmlFormatterBase<sbyte> { } 12 12 13 13 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/SimpleNumber2XmlFormatterBase.cs
r1625 r1659 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 public abstract class SimpleNumber2XmlFormatterBase<T> : FormatterBase<T, XmlString> {9 public abstract class SimpleNumber2XmlFormatterBase<T> : PrimitiveXmlFormatterBase<T> { 10 10 11 11 private static MethodInfo ParseMethod = typeof(T) -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/String2XmlFormatter.cs
r1625 r1659 10 10 11 11 [EmptyStorableClass] 12 public class String2XmlFormatter : FormatterBase<string, XmlString> {12 public class String2XmlFormatter : PrimitiveXmlFormatterBase<string> { 13 13 14 14 public override XmlString Format(string s) { -
trunk/sources/HeuristicLab.Persistence/3.3/HeuristicLab.Persistence-3.3.csproj
r1652 r1659 138 138 <Compile Include="Default\Decomposers\Storable\DataMemberAccessor.cs" /> 139 139 <Compile Include="Default\Xml\Compact\IntList2XmlFormatter.cs" /> 140 <Compile Include="Default\Xml\XmlFormatterBase.cs" /> 141 <Compile Include="Default\Xml\Primitive\PrimitiveXmlFormatterBase.cs" /> 142 <Compile Include="Default\Xml\Compact\CompactXmlFormatterBase.cs" /> 140 143 <Compile Include="Default\Xml\Primitive\Char2XmlFormatter.cs" /> 141 144 <Compile Include="Default\Xml\XmlStringConstants.cs" />
Note: See TracChangeset
for help on using the changeset viewer.