• Home
  • Raw
  • Download

Lines Matching refs:MeasureUnit

237 class U_I18N_API MeasureUnit: public UObject {
245 MeasureUnit();
251 MeasureUnit(const MeasureUnit &other);
258 MeasureUnit(MeasureUnit &&other) noexcept;
272 static MeasureUnit forIdentifier(StringPiece identifier, UErrorCode& status);
279 MeasureUnit &operator=(const MeasureUnit &other);
286 MeasureUnit &operator=(MeasureUnit &&other) noexcept;
294 virtual MeasureUnit* clone() const;
300 virtual ~MeasureUnit();
368 MeasureUnit withSIPrefix(UMeasureSIPrefix prefix, UErrorCode& status) const;
397 MeasureUnit withDimensionality(int32_t dimensionality, UErrorCode& status) const;
426 MeasureUnit reciprocal(UErrorCode& status) const;
445 MeasureUnit product(const MeasureUnit& other, UErrorCode& status) const;
464 inline std::pair<LocalArray<MeasureUnit>, int32_t> splitToSingleUnits(UErrorCode& status) const;
479 MeasureUnit *destArray,
497 MeasureUnit *destArray,
561 static MeasureUnit *createGForce(UErrorCode &status);
568 static MeasureUnit getGForce();
577 static MeasureUnit *createMeterPerSecondSquared(UErrorCode &status);
584 static MeasureUnit getMeterPerSecondSquared();
593 static MeasureUnit *createArcMinute(UErrorCode &status);
600 static MeasureUnit getArcMinute();
609 static MeasureUnit *createArcSecond(UErrorCode &status);
616 static MeasureUnit getArcSecond();
625 static MeasureUnit *createDegree(UErrorCode &status);
632 static MeasureUnit getDegree();
641 static MeasureUnit *createRadian(UErrorCode &status);
648 static MeasureUnit getRadian();
657 static MeasureUnit *createRevolutionAngle(UErrorCode &status);
664 static MeasureUnit getRevolutionAngle();
673 static MeasureUnit *createAcre(UErrorCode &status);
680 static MeasureUnit getAcre();
689 static MeasureUnit *createDunam(UErrorCode &status);
696 static MeasureUnit getDunam();
705 static MeasureUnit *createHectare(UErrorCode &status);
712 static MeasureUnit getHectare();
721 static MeasureUnit *createSquareCentimeter(UErrorCode &status);
728 static MeasureUnit getSquareCentimeter();
737 static MeasureUnit *createSquareFoot(UErrorCode &status);
744 static MeasureUnit getSquareFoot();
753 static MeasureUnit *createSquareInch(UErrorCode &status);
760 static MeasureUnit getSquareInch();
769 static MeasureUnit *createSquareKilometer(UErrorCode &status);
776 static MeasureUnit getSquareKilometer();
785 static MeasureUnit *createSquareMeter(UErrorCode &status);
792 static MeasureUnit getSquareMeter();
801 static MeasureUnit *createSquareMile(UErrorCode &status);
808 static MeasureUnit getSquareMile();
817 static MeasureUnit *createSquareYard(UErrorCode &status);
824 static MeasureUnit getSquareYard();
833 static MeasureUnit *createKarat(UErrorCode &status);
840 static MeasureUnit getKarat();
849 static MeasureUnit *createMilligramPerDeciliter(UErrorCode &status);
856 static MeasureUnit getMilligramPerDeciliter();
865 static MeasureUnit *createMillimolePerLiter(UErrorCode &status);
872 static MeasureUnit getMillimolePerLiter();
881 static MeasureUnit *createMole(UErrorCode &status);
888 static MeasureUnit getMole();
897 static MeasureUnit *createPercent(UErrorCode &status);
904 static MeasureUnit getPercent();
913 static MeasureUnit *createPermille(UErrorCode &status);
920 static MeasureUnit getPermille();
929 static MeasureUnit *createPartPerMillion(UErrorCode &status);
936 static MeasureUnit getPartPerMillion();
945 static MeasureUnit *createPermyriad(UErrorCode &status);
952 static MeasureUnit getPermyriad();
961 static MeasureUnit *createLiterPer100Kilometers(UErrorCode &status);
968 static MeasureUnit getLiterPer100Kilometers();
977 static MeasureUnit *createLiterPerKilometer(UErrorCode &status);
984 static MeasureUnit getLiterPerKilometer();
993 static MeasureUnit *createMilePerGallon(UErrorCode &status);
1000 static MeasureUnit getMilePerGallon();
1009 static MeasureUnit *createMilePerGallonImperial(UErrorCode &status);
1016 static MeasureUnit getMilePerGallonImperial();
1025 static MeasureUnit *createBit(UErrorCode &status);
1032 static MeasureUnit getBit();
1041 static MeasureUnit *createByte(UErrorCode &status);
1048 static MeasureUnit getByte();
1057 static MeasureUnit *createGigabit(UErrorCode &status);
1064 static MeasureUnit getGigabit();
1073 static MeasureUnit *createGigabyte(UErrorCode &status);
1080 static MeasureUnit getGigabyte();
1089 static MeasureUnit *createKilobit(UErrorCode &status);
1096 static MeasureUnit getKilobit();
1105 static MeasureUnit *createKilobyte(UErrorCode &status);
1112 static MeasureUnit getKilobyte();
1121 static MeasureUnit *createMegabit(UErrorCode &status);
1128 static MeasureUnit getMegabit();
1137 static MeasureUnit *createMegabyte(UErrorCode &status);
1144 static MeasureUnit getMegabyte();
1153 static MeasureUnit *createPetabyte(UErrorCode &status);
1160 static MeasureUnit getPetabyte();
1169 static MeasureUnit *createTerabit(UErrorCode &status);
1176 static MeasureUnit getTerabit();
1185 static MeasureUnit *createTerabyte(UErrorCode &status);
1192 static MeasureUnit getTerabyte();
1201 static MeasureUnit *createCentury(UErrorCode &status);
1208 static MeasureUnit getCentury();
1217 static MeasureUnit *createDay(UErrorCode &status);
1224 static MeasureUnit getDay();
1233 static MeasureUnit *createDayPerson(UErrorCode &status);
1240 static MeasureUnit getDayPerson();
1249 static MeasureUnit *createDecade(UErrorCode &status);
1256 static MeasureUnit getDecade();
1265 static MeasureUnit *createHour(UErrorCode &status);
1272 static MeasureUnit getHour();
1281 static MeasureUnit *createMicrosecond(UErrorCode &status);
1288 static MeasureUnit getMicrosecond();
1297 static MeasureUnit *createMillisecond(UErrorCode &status);
1304 static MeasureUnit getMillisecond();
1313 static MeasureUnit *createMinute(UErrorCode &status);
1320 static MeasureUnit getMinute();
1329 static MeasureUnit *createMonth(UErrorCode &status);
1336 static MeasureUnit getMonth();
1345 static MeasureUnit *createMonthPerson(UErrorCode &status);
1352 static MeasureUnit getMonthPerson();
1361 static MeasureUnit *createNanosecond(UErrorCode &status);
1368 static MeasureUnit getNanosecond();
1377 static MeasureUnit *createSecond(UErrorCode &status);
1384 static MeasureUnit getSecond();
1393 static MeasureUnit *createWeek(UErrorCode &status);
1400 static MeasureUnit getWeek();
1409 static MeasureUnit *createWeekPerson(UErrorCode &status);
1416 static MeasureUnit getWeekPerson();
1425 static MeasureUnit *createYear(UErrorCode &status);
1432 static MeasureUnit getYear();
1441 static MeasureUnit *createYearPerson(UErrorCode &status);
1448 static MeasureUnit getYearPerson();
1457 static MeasureUnit *createAmpere(UErrorCode &status);
1464 static MeasureUnit getAmpere();
1473 static MeasureUnit *createMilliampere(UErrorCode &status);
1480 static MeasureUnit getMilliampere();
1489 static MeasureUnit *createOhm(UErrorCode &status);
1496 static MeasureUnit getOhm();
1505 static MeasureUnit *createVolt(UErrorCode &status);
1512 static MeasureUnit getVolt();
1521 static MeasureUnit *createBritishThermalUnit(UErrorCode &status);
1528 static MeasureUnit getBritishThermalUnit();
1537 static MeasureUnit *createCalorie(UErrorCode &status);
1544 static MeasureUnit getCalorie();
1553 static MeasureUnit *createElectronvolt(UErrorCode &status);
1560 static MeasureUnit getElectronvolt();
1569 static MeasureUnit *createFoodcalorie(UErrorCode &status);
1576 static MeasureUnit getFoodcalorie();
1585 static MeasureUnit *createJoule(UErrorCode &status);
1592 static MeasureUnit getJoule();
1601 static MeasureUnit *createKilocalorie(UErrorCode &status);
1608 static MeasureUnit getKilocalorie();
1617 static MeasureUnit *createKilojoule(UErrorCode &status);
1624 static MeasureUnit getKilojoule();
1633 static MeasureUnit *createKilowattHour(UErrorCode &status);
1640 static MeasureUnit getKilowattHour();
1649 static MeasureUnit *createThermUs(UErrorCode &status);
1656 static MeasureUnit getThermUs();
1665 static MeasureUnit *createNewton(UErrorCode &status);
1672 static MeasureUnit getNewton();
1681 static MeasureUnit *createPoundForce(UErrorCode &status);
1688 static MeasureUnit getPoundForce();
1697 static MeasureUnit *createGigahertz(UErrorCode &status);
1704 static MeasureUnit getGigahertz();
1713 static MeasureUnit *createHertz(UErrorCode &status);
1720 static MeasureUnit getHertz();
1729 static MeasureUnit *createKilohertz(UErrorCode &status);
1736 static MeasureUnit getKilohertz();
1745 static MeasureUnit *createMegahertz(UErrorCode &status);
1752 static MeasureUnit getMegahertz();
1762 static MeasureUnit *createDot(UErrorCode &status);
1769 static MeasureUnit getDot();
1779 static MeasureUnit *createDotPerCentimeter(UErrorCode &status);
1786 static MeasureUnit getDotPerCentimeter();
1795 static MeasureUnit *createDotPerInch(UErrorCode &status);
1802 static MeasureUnit getDotPerInch();
1811 static MeasureUnit *createEm(UErrorCode &status);
1818 static MeasureUnit getEm();
1827 static MeasureUnit *createMegapixel(UErrorCode &status);
1834 static MeasureUnit getMegapixel();
1843 static MeasureUnit *createPixel(UErrorCode &status);
1850 static MeasureUnit getPixel();
1859 static MeasureUnit *createPixelPerCentimeter(UErrorCode &status);
1866 static MeasureUnit getPixelPerCentimeter();
1875 static MeasureUnit *createPixelPerInch(UErrorCode &status);
1882 static MeasureUnit getPixelPerInch();
1891 static MeasureUnit *createAstronomicalUnit(UErrorCode &status);
1898 static MeasureUnit getAstronomicalUnit();
1907 static MeasureUnit *createCentimeter(UErrorCode &status);
1914 static MeasureUnit getCentimeter();
1923 static MeasureUnit *createDecimeter(UErrorCode &status);
1930 static MeasureUnit getDecimeter();
1940 static MeasureUnit *createEarthRadius(UErrorCode &status);
1947 static MeasureUnit getEarthRadius();
1957 static MeasureUnit *createFathom(UErrorCode &status);
1964 static MeasureUnit getFathom();
1973 static MeasureUnit *createFoot(UErrorCode &status);
1980 static MeasureUnit getFoot();
1989 static MeasureUnit *createFurlong(UErrorCode &status);
1996 static MeasureUnit getFurlong();
2005 static MeasureUnit *createInch(UErrorCode &status);
2012 static MeasureUnit getInch();
2021 static MeasureUnit *createKilometer(UErrorCode &status);
2028 static MeasureUnit getKilometer();
2037 static MeasureUnit *createLightYear(UErrorCode &status);
2044 static MeasureUnit getLightYear();
2053 static MeasureUnit *createMeter(UErrorCode &status);
2060 static MeasureUnit getMeter();
2069 static MeasureUnit *createMicrometer(UErrorCode &status);
2076 static MeasureUnit getMicrometer();
2085 static MeasureUnit *createMile(UErrorCode &status);
2092 static MeasureUnit getMile();
2101 static MeasureUnit *createMileScandinavian(UErrorCode &status);
2108 static MeasureUnit getMileScandinavian();
2117 static MeasureUnit *createMillimeter(UErrorCode &status);
2124 static MeasureUnit getMillimeter();
2133 static MeasureUnit *createNanometer(UErrorCode &status);
2140 static MeasureUnit getNanometer();
2149 static MeasureUnit *createNauticalMile(UErrorCode &status);
2156 static MeasureUnit getNauticalMile();
2165 static MeasureUnit *createParsec(UErrorCode &status);
2172 static MeasureUnit getParsec();
2181 static MeasureUnit *createPicometer(UErrorCode &status);
2188 static MeasureUnit getPicometer();
2197 static MeasureUnit *createPoint(UErrorCode &status);
2204 static MeasureUnit getPoint();
2213 static MeasureUnit *createSolarRadius(UErrorCode &status);
2220 static MeasureUnit getSolarRadius();
2229 static MeasureUnit *createYard(UErrorCode &status);
2236 static MeasureUnit getYard();
2246 static MeasureUnit *createCandela(UErrorCode &status);
2253 static MeasureUnit getCandela();
2264 static MeasureUnit *createLumen(UErrorCode &status);
2271 static MeasureUnit getLumen();
2281 static MeasureUnit *createLux(UErrorCode &status);
2288 static MeasureUnit getLux();
2297 static MeasureUnit *createSolarLuminosity(UErrorCode &status);
2304 static MeasureUnit getSolarLuminosity();
2313 static MeasureUnit *createCarat(UErrorCode &status);
2320 static MeasureUnit getCarat();
2329 static MeasureUnit *createDalton(UErrorCode &status);
2336 static MeasureUnit getDalton();
2345 static MeasureUnit *createEarthMass(UErrorCode &status);
2352 static MeasureUnit getEarthMass();
2362 static MeasureUnit *createGrain(UErrorCode &status);
2369 static MeasureUnit getGrain();
2379 static MeasureUnit *createGram(UErrorCode &status);
2386 static MeasureUnit getGram();
2395 static MeasureUnit *createKilogram(UErrorCode &status);
2402 static MeasureUnit getKilogram();
2411 static MeasureUnit *createMetricTon(UErrorCode &status);
2418 static MeasureUnit getMetricTon();
2427 static MeasureUnit *createMicrogram(UErrorCode &status);
2434 static MeasureUnit getMicrogram();
2443 static MeasureUnit *createMilligram(UErrorCode &status);
2450 static MeasureUnit getMilligram();
2459 static MeasureUnit *createOunce(UErrorCode &status);
2466 static MeasureUnit getOunce();
2475 static MeasureUnit *createOunceTroy(UErrorCode &status);
2482 static MeasureUnit getOunceTroy();
2491 static MeasureUnit *createPound(UErrorCode &status);
2498 static MeasureUnit getPound();
2507 static MeasureUnit *createSolarMass(UErrorCode &status);
2514 static MeasureUnit getSolarMass();
2523 static MeasureUnit *createStone(UErrorCode &status);
2530 static MeasureUnit getStone();
2539 static MeasureUnit *createTon(UErrorCode &status);
2546 static MeasureUnit getTon();
2555 static MeasureUnit *createGigawatt(UErrorCode &status);
2562 static MeasureUnit getGigawatt();
2571 static MeasureUnit *createHorsepower(UErrorCode &status);
2578 static MeasureUnit getHorsepower();
2587 static MeasureUnit *createKilowatt(UErrorCode &status);
2594 static MeasureUnit getKilowatt();
2603 static MeasureUnit *createMegawatt(UErrorCode &status);
2610 static MeasureUnit getMegawatt();
2619 static MeasureUnit *createMilliwatt(UErrorCode &status);
2626 static MeasureUnit getMilliwatt();
2635 static MeasureUnit *createWatt(UErrorCode &status);
2642 static MeasureUnit getWatt();
2651 static MeasureUnit *createAtmosphere(UErrorCode &status);
2658 static MeasureUnit getAtmosphere();
2667 static MeasureUnit *createBar(UErrorCode &status);
2674 static MeasureUnit getBar();
2683 static MeasureUnit *createHectopascal(UErrorCode &status);
2690 static MeasureUnit getHectopascal();
2699 static MeasureUnit *createInchHg(UErrorCode &status);
2706 static MeasureUnit getInchHg();
2715 static MeasureUnit *createKilopascal(UErrorCode &status);
2722 static MeasureUnit getKilopascal();
2731 static MeasureUnit *createMegapascal(UErrorCode &status);
2738 static MeasureUnit getMegapascal();
2747 static MeasureUnit *createMillibar(UErrorCode &status);
2754 static MeasureUnit getMillibar();
2763 static MeasureUnit *createMillimeterOfMercury(UErrorCode &status);
2770 static MeasureUnit getMillimeterOfMercury();
2779 static MeasureUnit *createPascal(UErrorCode &status);
2786 static MeasureUnit getPascal();
2795 static MeasureUnit *createPoundPerSquareInch(UErrorCode &status);
2802 static MeasureUnit getPoundPerSquareInch();
2811 static MeasureUnit *createKilometerPerHour(UErrorCode &status);
2818 static MeasureUnit getKilometerPerHour();
2827 static MeasureUnit *createKnot(UErrorCode &status);
2834 static MeasureUnit getKnot();
2843 static MeasureUnit *createMeterPerSecond(UErrorCode &status);
2850 static MeasureUnit getMeterPerSecond();
2859 static MeasureUnit *createMilePerHour(UErrorCode &status);
2866 static MeasureUnit getMilePerHour();
2875 static MeasureUnit *createCelsius(UErrorCode &status);
2882 static MeasureUnit getCelsius();
2891 static MeasureUnit *createFahrenheit(UErrorCode &status);
2898 static MeasureUnit getFahrenheit();
2907 static MeasureUnit *createGenericTemperature(UErrorCode &status);
2914 static MeasureUnit getGenericTemperature();
2923 static MeasureUnit *createKelvin(UErrorCode &status);
2930 static MeasureUnit getKelvin();
2939 static MeasureUnit *createNewtonMeter(UErrorCode &status);
2946 static MeasureUnit getNewtonMeter();
2955 static MeasureUnit *createPoundFoot(UErrorCode &status);
2962 static MeasureUnit getPoundFoot();
2971 static MeasureUnit *createAcreFoot(UErrorCode &status);
2978 static MeasureUnit getAcreFoot();
2987 static MeasureUnit *createBarrel(UErrorCode &status);
2994 static MeasureUnit getBarrel();
3003 static MeasureUnit *createBushel(UErrorCode &status);
3010 static MeasureUnit getBushel();
3019 static MeasureUnit *createCentiliter(UErrorCode &status);
3026 static MeasureUnit getCentiliter();
3035 static MeasureUnit *createCubicCentimeter(UErrorCode &status);
3042 static MeasureUnit getCubicCentimeter();
3051 static MeasureUnit *createCubicFoot(UErrorCode &status);
3058 static MeasureUnit getCubicFoot();
3067 static MeasureUnit *createCubicInch(UErrorCode &status);
3074 static MeasureUnit getCubicInch();
3083 static MeasureUnit *createCubicKilometer(UErrorCode &status);
3090 static MeasureUnit getCubicKilometer();
3099 static MeasureUnit *createCubicMeter(UErrorCode &status);
3106 static MeasureUnit getCubicMeter();
3115 static MeasureUnit *createCubicMile(UErrorCode &status);
3122 static MeasureUnit getCubicMile();
3131 static MeasureUnit *createCubicYard(UErrorCode &status);
3138 static MeasureUnit getCubicYard();
3147 static MeasureUnit *createCup(UErrorCode &status);
3154 static MeasureUnit getCup();
3163 static MeasureUnit *createCupMetric(UErrorCode &status);
3170 static MeasureUnit getCupMetric();
3179 static MeasureUnit *createDeciliter(UErrorCode &status);
3186 static MeasureUnit getDeciliter();
3196 static MeasureUnit *createDessertSpoon(UErrorCode &status);
3203 static MeasureUnit getDessertSpoon();
3214 static MeasureUnit *createDessertSpoonImperial(UErrorCode &status);
3221 static MeasureUnit getDessertSpoonImperial();
3232 static MeasureUnit *createDram(UErrorCode &status);
3239 static MeasureUnit getDram();
3250 static MeasureUnit *createDrop(UErrorCode &status);
3257 static MeasureUnit getDrop();
3267 static MeasureUnit *createFluidOunce(UErrorCode &status);
3274 static MeasureUnit getFluidOunce();
3283 static MeasureUnit *createFluidOunceImperial(UErrorCode &status);
3290 static MeasureUnit getFluidOunceImperial();
3299 static MeasureUnit *createGallon(UErrorCode &status);
3306 static MeasureUnit getGallon();
3315 static MeasureUnit *createGallonImperial(UErrorCode &status);
3322 static MeasureUnit getGallonImperial();
3331 static MeasureUnit *createHectoliter(UErrorCode &status);
3338 static MeasureUnit getHectoliter();
3348 static MeasureUnit *createJigger(UErrorCode &status);
3355 static MeasureUnit getJigger();
3365 static MeasureUnit *createLiter(UErrorCode &status);
3372 static MeasureUnit getLiter();
3381 static MeasureUnit *createMegaliter(UErrorCode &status);
3388 static MeasureUnit getMegaliter();
3397 static MeasureUnit *createMilliliter(UErrorCode &status);
3404 static MeasureUnit getMilliliter();
3414 static MeasureUnit *createPinch(UErrorCode &status);
3421 static MeasureUnit getPinch();
3431 static MeasureUnit *createPint(UErrorCode &status);
3438 static MeasureUnit getPint();
3447 static MeasureUnit *createPintMetric(UErrorCode &status);
3454 static MeasureUnit getPintMetric();
3463 static MeasureUnit *createQuart(UErrorCode &status);
3470 static MeasureUnit getQuart();
3480 static MeasureUnit *createQuartImperial(UErrorCode &status);
3487 static MeasureUnit getQuartImperial();
3497 static MeasureUnit *createTablespoon(UErrorCode &status);
3504 static MeasureUnit getTablespoon();
3513 static MeasureUnit *createTeaspoon(UErrorCode &status);
3520 static MeasureUnit getTeaspoon();
3555 MeasureUnit(int32_t typeId, int32_t subTypeId);
3556 MeasureUnit(MeasureUnitImpl&& impl);
3558 static MeasureUnit *create(int typeId, int subTypeId, UErrorCode &status);
3567 static bool findBySubType(StringPiece subType, MeasureUnit* output);
3570 LocalArray<MeasureUnit> splitToSingleUnitsImpl(int32_t& outCount, UErrorCode& status) const;
3576 inline std::pair<LocalArray<MeasureUnit>, int32_t>
3577 MeasureUnit::splitToSingleUnits(UErrorCode& status) const { in splitToSingleUnits()