Changeset 11532


Ignore:
Timestamp:
11/11/14 12:23:41 (8 years ago)
Author:
mkommend
Message:

#2268: Added storable attributes and ctor to EmtpySymbolicExpressionTreeGrammar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Grammars/EmptySymbolicExpressionTreeGrammar.cs

    r11504 r11532  
    2727using HeuristicLab.Common;
    2828using HeuristicLab.Core;
     29using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2930
    3031namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {
     32
     33  [StorableClass]
    3134  internal sealed class EmptySymbolicExpressionTreeGrammar : NamedItem, ISymbolicExpressionTreeGrammar {
     35    [Storable]
    3236    private ISymbolicExpressionGrammar grammar;
     37
     38    [StorableConstructor]
     39    internal EmptySymbolicExpressionTreeGrammar(bool deserializing) : base(deserializing) {}
    3340    internal EmptySymbolicExpressionTreeGrammar(ISymbolicExpressionGrammar grammar)
    3441      : base() {
Note: See TracChangeset for help on using the changeset viewer.