// ** This class was generated with DemFGen (vers:10/20/2009)

package gen;

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




/** Representation of VC */
public class VC{
    protected final int c;
    protected final Var v;

    /** Construct a(n) VC Instance */
    public VC(int c, Var v){
        this.c = c;
        this.v = v;
    }
    /** Is the given object Equal to this VC? */
    public boolean equals(Object o){
        if(!(o instanceof VC))return false;
        if(o == this)return true;
        VC oo = (VC)o;
        return (((Object)c).equals(oo.c))&&(((Object)v).equals(oo.v));
    }
    /** Parse an instance of VC from the given String */
    public static VC parse(String inpt) throws ParseException{
        return new TheParser(new java.io.StringReader(inpt)).parse_VC();
    }
    /** Parse an instance of VC from the given Stream */
    public static VC parse(java.io.InputStream inpt) throws ParseException{
        return new TheParser(inpt).parse_VC();
    }
    /** Parse an instance of VC from the given Reader */
    public static VC parse(java.io.Reader inpt) throws ParseException{
        return new TheParser(inpt).parse_VC();
    }

    /** Field Class for VC.c */
    public static class c extends edu.neu.ccs.demeterf.control.Fields.any{}
    /** Field Class for VC.v */
    public static class v extends edu.neu.ccs.demeterf.control.Fields.any{}

    /** DGP method from Class ToStr */
    public String toStr(){ return gen.ToStr.ToStrM(this); }
    /** DGP method from Class Print */
    public String print(){ return gen.Print.PrintM(this); }
    /** DGP method from Class Display */
    public String display(){ return gen.Display.DisplayM(this); }

}