// ** This class was generated with DemFGen (vers:11/03/2008)

package gen;

import java.io.FileInputStream;
import edu.neu.ccs.demeterf.demfgen.lib.*;




public class SDG{
    public final List<Player> players;
    public final List<Pair<PlayerID, Double>> account;
    public final List<Pair<PlayerID, PlayerStore>> store;
    public final Config config;

    public SDG(List<Player> players, List<Pair<PlayerID, Double>> account, List<Pair<PlayerID, PlayerStore>> store, Config config){
        this.players = players;
        this.account = account;
        this.store = store;
        this.config = config;
    }
    public boolean equals(Object o){
        if(!(o instanceof SDG))return false;
        SDG oo = (SDG)o;
        return (((Object)players).equals(oo.players))&&(((Object)account).equals(oo.account))&&(((Object)store).equals(oo.store))&&(((Object)config).equals(oo.config));
    }
    public static SDG parse(String inpt) throws ParseException{
        return new TheParser(new java.io.StringReader(inpt)).parse_SDG();
    }
    public static SDG parse(java.io.InputStream inpt) throws ParseException{
        return new TheParser(inpt).parse_SDG();
    }
    public static SDG parse(java.io.Reader inpt) throws ParseException{
        return new TheParser(inpt).parse_SDG();
    }

    public static class players extends edu.neu.ccs.demeterf.control.Fields.any{}
    public static class account extends edu.neu.ccs.demeterf.control.Fields.any{}
    public static class store extends edu.neu.ccs.demeterf.control.Fields.any{}
    public static class config extends edu.neu.ccs.demeterf.control.Fields.any{}

    public String display(){ return gen.Display.DisplayM(this); }
    public String print(){ return gen.Print.PrintM(this); }
    public String toStr(){ return gen.ToStr.ToStrM(this); }

}