Changeset 4820 for branches/SmalltalkExport/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/SymbolicExpressionTreeStringFormatter.cs
- Timestamp:
- 11/16/10 17:06:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SmalltalkExport/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/SymbolicExpressionTreeStringFormatter.cs
r4803 r4820 21 21 22 22 using System.Text; 23 using HeuristicLab.Core; 24 using HeuristicLab.Common; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 23 26 24 27 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { 25 26 public class SymbolicExpressionTreeStringFormatter { 27 28 29 [Item("SymbolicExpressionTreeStringFormatter", "The default string formatter for symbolic expression trees.")] 30 [StorableClass] 31 public class SymbolicExpressionTreeStringFormatter : NamedItem, ISymbolicExpressionTreeStringFormatter { 32 28 33 public bool Indent { get; set; } 29 34 35 [StorableConstructor] 36 protected SymbolicExpressionTreeStringFormatter(bool deserializing) : base(deserializing) { } 37 protected SymbolicExpressionTreeStringFormatter(SymbolicExpressionTreeStringFormatter original, Cloner cloner) : base(original, cloner) { } 30 38 public SymbolicExpressionTreeStringFormatter() 31 39 : base() { … … 59 67 return strBuilder.ToString(); 60 68 } 69 70 public override IDeepCloneable Clone(Cloner cloner) { 71 return new SymbolicExpressionTreeStringFormatter(this, cloner); 72 } 73 61 74 } 75 62 76 }
Note: See TracChangeset
for help on using the changeset viewer.