enum Unit {
kUnitUnknown = 0,
kUnitMeter = 1,
kUnitFoot = 2,
kUnitInch = 3,
kUnitIFoot = 4,
kUnitClarkeFoot = 5,
kUnitIInch = 6,
kUnitCentimeter = 7,
kUnitKilometer = 8,
kUnitYard = 9,
kUnitSearsYard = 10,
kUnitMile = 11,
kUnitIYard = 12,
kUnitIMile = 13,
kUnitKnot = 14,
kUnitNautM = 15,
kUnitLat66 = 16,
kUnitLat83 = 17,
kUnitDecimeter = 18,
kUnitMillimeter = 19,
kUnitDekameter = 20,
kUnitHectometer = 21,
kUnitGermanMeter = 22,
kUnitCaGrid = 23,
kUnitClarkeChain = 24,
kUnitGunterChain = 25,
kUnitBenoitChain = 26,
kUnitSearsChain = 27,
kUnitClarkeLink = 28,
kUnitGunterLink = 29,
kUnitBenoitLink = 30,
kUnitSearsLink = 31,
kUnitRod = 32,
kUnitPerch = 33,
kUnitPole = 34,
kUnitFurlong = 35,
kUnitRood = 36,
kUnitCapeFoot = 37,
kUnitBrealey = 38,
kUnitSearsFoot = 39,
kUnitGoldCoastFoot = 40,
kUnitMicroInch = 41,
kUnitIndianYard = 42,
kUnitIndianFoot = 43,
kUnitIndianFt37 = 44,
kUnitIndianFt62 = 45,
kUnitIndianFt75 = 46,
kUnitIndianYd37 = 47,
kUnitDecameter = 48,
kUnitInternationalChain = 49,
kUnitInternationalLink = 50,
kUnitBrFootTrunc = 51,
kUnitBrChainTrunc = 52,
kUnitBrLinkTrunc = 53,
kUnitDegree = 1001,
kUnitGrad = 1002,
kUnitGrade = 1003,
kUnitMapInfo = 1004,
kUnitMil = 1005,
kUnitMinute = 1006,
kUnitRadian = 1007,
kUnitSecond = 1008,
kUnitDecisec = 1009,
kUnitCentisec = 1010,
kUnitMillisec = 1011
};