// ** This class was generated with DemFGen (vers:11/17/2009)

namespace edu.neu.ccs.demeterf.http.classes{

using edu.neu.ccs.demeterf.lib;
using System.Net.Sockets;
using System.Text;
using System.IO;

using System;

/** Representation of HTTPVer */
public class HTTPVer{
    protected readonly double ver;

    /** Construct a(n) HTTPVer Instance */
    public HTTPVer(double ver){
        this.ver = ver;
    /** Is the given object Equal to this HTTPVer? */
    public override bool Equals(Object o){
        if(!(o is HTTPVer))return false;
        if(o == this)return true;
        HTTPVer oo = (HTTPVer)o;
        return (ver.Equals(oo.ver));
    /** Parse an instance of HTTPVer from the given String */
    public static new HTTPVer Parse(String inpt) {
        return new TheParser(new System.IO.StringReader(inpt)).parse_HTTPVer();
    /** Parse an instance of HTTPVer from the given Stream */
    public static new HTTPVer Parse(System.IO.Stream inpt) {
        return new TheParser(inpt).parse_HTTPVer();
    /** Parse an instance of HTTPVer from the given Reader */
    public static new HTTPVer Parse(System.IO.TextReader inpt) {
        return new TheParser(inpt).parse_HTTPVer();

    /** Field Class for HTTPVer.ver */
    public class verF : edu.neu.ccs.demeterf.Fields.any{}

    /** DGP method from Class PrintToString */
    public override String ToString(){ return global::edu.neu.ccs.demeterf.http.classes.PrintToString.PrintToStringM(this); }
    /** Getter for field HTTPVer.ver */
    public double GetVer(){ return ver; }