• Home
  • Raw
  • Download

Lines Matching refs:MeasureUnit

371 class U_I18N_API MeasureUnit: public UObject {
379 MeasureUnit();
385 MeasureUnit(const MeasureUnit &other);
391 MeasureUnit(MeasureUnit &&other) noexcept;
406 static MeasureUnit forIdentifier(StringPiece identifier, UErrorCode& status);
412 MeasureUnit &operator=(const MeasureUnit &other);
418 MeasureUnit &operator=(MeasureUnit &&other) noexcept;
425 virtual MeasureUnit* clone() const;
431 virtual ~MeasureUnit();
499 MeasureUnit withPrefix(UMeasurePrefix prefix, UErrorCode& status) const;
532 MeasureUnit withDimensionality(int32_t dimensionality, UErrorCode& status) const;
561 MeasureUnit reciprocal(UErrorCode& status) const;
580 MeasureUnit product(const MeasureUnit& other, UErrorCode& status) const;
597 inline std::pair<LocalArray<MeasureUnit>, int32_t> splitToSingleUnits(UErrorCode& status) const;
611 MeasureUnit *destArray,
629 MeasureUnit *destArray,
693 static MeasureUnit *createGForce(UErrorCode &status);
700 static MeasureUnit getGForce();
709 static MeasureUnit *createMeterPerSecondSquared(UErrorCode &status);
716 static MeasureUnit getMeterPerSecondSquared();
725 static MeasureUnit *createArcMinute(UErrorCode &status);
732 static MeasureUnit getArcMinute();
741 static MeasureUnit *createArcSecond(UErrorCode &status);
748 static MeasureUnit getArcSecond();
757 static MeasureUnit *createDegree(UErrorCode &status);
764 static MeasureUnit getDegree();
773 static MeasureUnit *createRadian(UErrorCode &status);
780 static MeasureUnit getRadian();
789 static MeasureUnit *createRevolutionAngle(UErrorCode &status);
796 static MeasureUnit getRevolutionAngle();
805 static MeasureUnit *createAcre(UErrorCode &status);
812 static MeasureUnit getAcre();
821 static MeasureUnit *createDunam(UErrorCode &status);
828 static MeasureUnit getDunam();
837 static MeasureUnit *createHectare(UErrorCode &status);
844 static MeasureUnit getHectare();
853 static MeasureUnit *createSquareCentimeter(UErrorCode &status);
860 static MeasureUnit getSquareCentimeter();
869 static MeasureUnit *createSquareFoot(UErrorCode &status);
876 static MeasureUnit getSquareFoot();
885 static MeasureUnit *createSquareInch(UErrorCode &status);
892 static MeasureUnit getSquareInch();
901 static MeasureUnit *createSquareKilometer(UErrorCode &status);
908 static MeasureUnit getSquareKilometer();
917 static MeasureUnit *createSquareMeter(UErrorCode &status);
924 static MeasureUnit getSquareMeter();
933 static MeasureUnit *createSquareMile(UErrorCode &status);
940 static MeasureUnit getSquareMile();
949 static MeasureUnit *createSquareYard(UErrorCode &status);
956 static MeasureUnit getSquareYard();
966 static MeasureUnit *createItem(UErrorCode &status);
973 static MeasureUnit getItem();
983 static MeasureUnit *createKarat(UErrorCode &status);
990 static MeasureUnit getKarat();
1000 static MeasureUnit *createMilligramOfglucosePerDeciliter(UErrorCode &status);
1007 static MeasureUnit getMilligramOfglucosePerDeciliter();
1017 static MeasureUnit *createMilligramPerDeciliter(UErrorCode &status);
1024 static MeasureUnit getMilligramPerDeciliter();
1033 static MeasureUnit *createMillimolePerLiter(UErrorCode &status);
1040 static MeasureUnit getMillimolePerLiter();
1049 static MeasureUnit *createMole(UErrorCode &status);
1056 static MeasureUnit getMole();
1065 static MeasureUnit *createPercent(UErrorCode &status);
1072 static MeasureUnit getPercent();
1081 static MeasureUnit *createPermille(UErrorCode &status);
1088 static MeasureUnit getPermille();
1097 static MeasureUnit *createPartPerMillion(UErrorCode &status);
1104 static MeasureUnit getPartPerMillion();
1113 static MeasureUnit *createPermyriad(UErrorCode &status);
1120 static MeasureUnit getPermyriad();
1129 static MeasureUnit *createLiterPer100Kilometers(UErrorCode &status);
1136 static MeasureUnit getLiterPer100Kilometers();
1145 static MeasureUnit *createLiterPerKilometer(UErrorCode &status);
1152 static MeasureUnit getLiterPerKilometer();
1161 static MeasureUnit *createMilePerGallon(UErrorCode &status);
1168 static MeasureUnit getMilePerGallon();
1177 static MeasureUnit *createMilePerGallonImperial(UErrorCode &status);
1184 static MeasureUnit getMilePerGallonImperial();
1193 static MeasureUnit *createBit(UErrorCode &status);
1200 static MeasureUnit getBit();
1209 static MeasureUnit *createByte(UErrorCode &status);
1216 static MeasureUnit getByte();
1225 static MeasureUnit *createGigabit(UErrorCode &status);
1232 static MeasureUnit getGigabit();
1241 static MeasureUnit *createGigabyte(UErrorCode &status);
1248 static MeasureUnit getGigabyte();
1257 static MeasureUnit *createKilobit(UErrorCode &status);
1264 static MeasureUnit getKilobit();
1273 static MeasureUnit *createKilobyte(UErrorCode &status);
1280 static MeasureUnit getKilobyte();
1289 static MeasureUnit *createMegabit(UErrorCode &status);
1296 static MeasureUnit getMegabit();
1305 static MeasureUnit *createMegabyte(UErrorCode &status);
1312 static MeasureUnit getMegabyte();
1321 static MeasureUnit *createPetabyte(UErrorCode &status);
1328 static MeasureUnit getPetabyte();
1337 static MeasureUnit *createTerabit(UErrorCode &status);
1344 static MeasureUnit getTerabit();
1353 static MeasureUnit *createTerabyte(UErrorCode &status);
1360 static MeasureUnit getTerabyte();
1369 static MeasureUnit *createCentury(UErrorCode &status);
1376 static MeasureUnit getCentury();
1385 static MeasureUnit *createDay(UErrorCode &status);
1392 static MeasureUnit getDay();
1401 static MeasureUnit *createDayPerson(UErrorCode &status);
1408 static MeasureUnit getDayPerson();
1417 static MeasureUnit *createDecade(UErrorCode &status);
1424 static MeasureUnit getDecade();
1433 static MeasureUnit *createHour(UErrorCode &status);
1440 static MeasureUnit getHour();
1449 static MeasureUnit *createMicrosecond(UErrorCode &status);
1456 static MeasureUnit getMicrosecond();
1465 static MeasureUnit *createMillisecond(UErrorCode &status);
1472 static MeasureUnit getMillisecond();
1481 static MeasureUnit *createMinute(UErrorCode &status);
1488 static MeasureUnit getMinute();
1497 static MeasureUnit *createMonth(UErrorCode &status);
1504 static MeasureUnit getMonth();
1513 static MeasureUnit *createMonthPerson(UErrorCode &status);
1520 static MeasureUnit getMonthPerson();
1529 static MeasureUnit *createNanosecond(UErrorCode &status);
1536 static MeasureUnit getNanosecond();
1545 static MeasureUnit *createSecond(UErrorCode &status);
1552 static MeasureUnit getSecond();
1561 static MeasureUnit *createWeek(UErrorCode &status);
1568 static MeasureUnit getWeek();
1577 static MeasureUnit *createWeekPerson(UErrorCode &status);
1584 static MeasureUnit getWeekPerson();
1593 static MeasureUnit *createYear(UErrorCode &status);
1600 static MeasureUnit getYear();
1609 static MeasureUnit *createYearPerson(UErrorCode &status);
1616 static MeasureUnit getYearPerson();
1625 static MeasureUnit *createAmpere(UErrorCode &status);
1632 static MeasureUnit getAmpere();
1641 static MeasureUnit *createMilliampere(UErrorCode &status);
1648 static MeasureUnit getMilliampere();
1657 static MeasureUnit *createOhm(UErrorCode &status);
1664 static MeasureUnit getOhm();
1673 static MeasureUnit *createVolt(UErrorCode &status);
1680 static MeasureUnit getVolt();
1689 static MeasureUnit *createBritishThermalUnit(UErrorCode &status);
1696 static MeasureUnit getBritishThermalUnit();
1705 static MeasureUnit *createCalorie(UErrorCode &status);
1712 static MeasureUnit getCalorie();
1721 static MeasureUnit *createElectronvolt(UErrorCode &status);
1728 static MeasureUnit getElectronvolt();
1737 static MeasureUnit *createFoodcalorie(UErrorCode &status);
1744 static MeasureUnit getFoodcalorie();
1753 static MeasureUnit *createJoule(UErrorCode &status);
1760 static MeasureUnit getJoule();
1769 static MeasureUnit *createKilocalorie(UErrorCode &status);
1776 static MeasureUnit getKilocalorie();
1785 static MeasureUnit *createKilojoule(UErrorCode &status);
1792 static MeasureUnit getKilojoule();
1801 static MeasureUnit *createKilowattHour(UErrorCode &status);
1808 static MeasureUnit getKilowattHour();
1817 static MeasureUnit *createThermUs(UErrorCode &status);
1824 static MeasureUnit getThermUs();
1834 static MeasureUnit *createKilowattHourPer100Kilometer(UErrorCode &status);
1841 static MeasureUnit getKilowattHourPer100Kilometer();
1851 static MeasureUnit *createNewton(UErrorCode &status);
1858 static MeasureUnit getNewton();
1867 static MeasureUnit *createPoundForce(UErrorCode &status);
1874 static MeasureUnit getPoundForce();
1883 static MeasureUnit *createGigahertz(UErrorCode &status);
1890 static MeasureUnit getGigahertz();
1899 static MeasureUnit *createHertz(UErrorCode &status);
1906 static MeasureUnit getHertz();
1915 static MeasureUnit *createKilohertz(UErrorCode &status);
1922 static MeasureUnit getKilohertz();
1931 static MeasureUnit *createMegahertz(UErrorCode &status);
1938 static MeasureUnit getMegahertz();
1947 static MeasureUnit *createDot(UErrorCode &status);
1954 static MeasureUnit getDot();
1963 static MeasureUnit *createDotPerCentimeter(UErrorCode &status);
1970 static MeasureUnit getDotPerCentimeter();
1979 static MeasureUnit *createDotPerInch(UErrorCode &status);
1986 static MeasureUnit getDotPerInch();
1995 static MeasureUnit *createEm(UErrorCode &status);
2002 static MeasureUnit getEm();
2011 static MeasureUnit *createMegapixel(UErrorCode &status);
2018 static MeasureUnit getMegapixel();
2027 static MeasureUnit *createPixel(UErrorCode &status);
2034 static MeasureUnit getPixel();
2043 static MeasureUnit *createPixelPerCentimeter(UErrorCode &status);
2050 static MeasureUnit getPixelPerCentimeter();
2059 static MeasureUnit *createPixelPerInch(UErrorCode &status);
2066 static MeasureUnit getPixelPerInch();
2075 static MeasureUnit *createAstronomicalUnit(UErrorCode &status);
2082 static MeasureUnit getAstronomicalUnit();
2091 static MeasureUnit *createCentimeter(UErrorCode &status);
2098 static MeasureUnit getCentimeter();
2107 static MeasureUnit *createDecimeter(UErrorCode &status);
2114 static MeasureUnit getDecimeter();
2123 static MeasureUnit *createEarthRadius(UErrorCode &status);
2130 static MeasureUnit getEarthRadius();
2139 static MeasureUnit *createFathom(UErrorCode &status);
2146 static MeasureUnit getFathom();
2155 static MeasureUnit *createFoot(UErrorCode &status);
2162 static MeasureUnit getFoot();
2171 static MeasureUnit *createFurlong(UErrorCode &status);
2178 static MeasureUnit getFurlong();
2187 static MeasureUnit *createInch(UErrorCode &status);
2194 static MeasureUnit getInch();
2203 static MeasureUnit *createKilometer(UErrorCode &status);
2210 static MeasureUnit getKilometer();
2219 static MeasureUnit *createLightYear(UErrorCode &status);
2226 static MeasureUnit getLightYear();
2235 static MeasureUnit *createMeter(UErrorCode &status);
2242 static MeasureUnit getMeter();
2251 static MeasureUnit *createMicrometer(UErrorCode &status);
2258 static MeasureUnit getMicrometer();
2267 static MeasureUnit *createMile(UErrorCode &status);
2274 static MeasureUnit getMile();
2283 static MeasureUnit *createMileScandinavian(UErrorCode &status);
2290 static MeasureUnit getMileScandinavian();
2299 static MeasureUnit *createMillimeter(UErrorCode &status);
2306 static MeasureUnit getMillimeter();
2315 static MeasureUnit *createNanometer(UErrorCode &status);
2322 static MeasureUnit getNanometer();
2331 static MeasureUnit *createNauticalMile(UErrorCode &status);
2338 static MeasureUnit getNauticalMile();
2347 static MeasureUnit *createParsec(UErrorCode &status);
2354 static MeasureUnit getParsec();
2363 static MeasureUnit *createPicometer(UErrorCode &status);
2370 static MeasureUnit getPicometer();
2379 static MeasureUnit *createPoint(UErrorCode &status);
2386 static MeasureUnit getPoint();
2395 static MeasureUnit *createSolarRadius(UErrorCode &status);
2402 static MeasureUnit getSolarRadius();
2411 static MeasureUnit *createYard(UErrorCode &status);
2418 static MeasureUnit getYard();
2427 static MeasureUnit *createCandela(UErrorCode &status);
2434 static MeasureUnit getCandela();
2443 static MeasureUnit *createLumen(UErrorCode &status);
2450 static MeasureUnit getLumen();
2459 static MeasureUnit *createLux(UErrorCode &status);
2466 static MeasureUnit getLux();
2475 static MeasureUnit *createSolarLuminosity(UErrorCode &status);
2482 static MeasureUnit getSolarLuminosity();
2491 static MeasureUnit *createCarat(UErrorCode &status);
2498 static MeasureUnit getCarat();
2507 static MeasureUnit *createDalton(UErrorCode &status);
2514 static MeasureUnit getDalton();
2523 static MeasureUnit *createEarthMass(UErrorCode &status);
2530 static MeasureUnit getEarthMass();
2539 static MeasureUnit *createGrain(UErrorCode &status);
2546 static MeasureUnit getGrain();
2555 static MeasureUnit *createGram(UErrorCode &status);
2562 static MeasureUnit getGram();
2571 static MeasureUnit *createKilogram(UErrorCode &status);
2578 static MeasureUnit getKilogram();
2587 static MeasureUnit *createMetricTon(UErrorCode &status);
2594 static MeasureUnit getMetricTon();
2603 static MeasureUnit *createMicrogram(UErrorCode &status);
2610 static MeasureUnit getMicrogram();
2619 static MeasureUnit *createMilligram(UErrorCode &status);
2626 static MeasureUnit getMilligram();
2635 static MeasureUnit *createOunce(UErrorCode &status);
2642 static MeasureUnit getOunce();
2651 static MeasureUnit *createOunceTroy(UErrorCode &status);
2658 static MeasureUnit getOunceTroy();
2667 static MeasureUnit *createPound(UErrorCode &status);
2674 static MeasureUnit getPound();
2683 static MeasureUnit *createSolarMass(UErrorCode &status);
2690 static MeasureUnit getSolarMass();
2699 static MeasureUnit *createStone(UErrorCode &status);
2706 static MeasureUnit getStone();
2715 static MeasureUnit *createTon(UErrorCode &status);
2722 static MeasureUnit getTon();
2731 static MeasureUnit *createGigawatt(UErrorCode &status);
2738 static MeasureUnit getGigawatt();
2747 static MeasureUnit *createHorsepower(UErrorCode &status);
2754 static MeasureUnit getHorsepower();
2763 static MeasureUnit *createKilowatt(UErrorCode &status);
2770 static MeasureUnit getKilowatt();
2779 static MeasureUnit *createMegawatt(UErrorCode &status);
2786 static MeasureUnit getMegawatt();
2795 static MeasureUnit *createMilliwatt(UErrorCode &status);
2802 static MeasureUnit getMilliwatt();
2811 static MeasureUnit *createWatt(UErrorCode &status);
2818 static MeasureUnit getWatt();
2827 static MeasureUnit *createAtmosphere(UErrorCode &status);
2834 static MeasureUnit getAtmosphere();
2843 static MeasureUnit *createBar(UErrorCode &status);
2850 static MeasureUnit getBar();
2859 static MeasureUnit *createHectopascal(UErrorCode &status);
2866 static MeasureUnit getHectopascal();
2875 static MeasureUnit *createInchHg(UErrorCode &status);
2882 static MeasureUnit getInchHg();
2891 static MeasureUnit *createKilopascal(UErrorCode &status);
2898 static MeasureUnit getKilopascal();
2907 static MeasureUnit *createMegapascal(UErrorCode &status);
2914 static MeasureUnit getMegapascal();
2923 static MeasureUnit *createMillibar(UErrorCode &status);
2930 static MeasureUnit getMillibar();
2939 static MeasureUnit *createMillimeterOfMercury(UErrorCode &status);
2946 static MeasureUnit getMillimeterOfMercury();
2955 static MeasureUnit *createPascal(UErrorCode &status);
2962 static MeasureUnit getPascal();
2971 static MeasureUnit *createPoundPerSquareInch(UErrorCode &status);
2978 static MeasureUnit getPoundPerSquareInch();
2987 static MeasureUnit *createKilometerPerHour(UErrorCode &status);
2994 static MeasureUnit getKilometerPerHour();
3003 static MeasureUnit *createKnot(UErrorCode &status);
3010 static MeasureUnit getKnot();
3019 static MeasureUnit *createMeterPerSecond(UErrorCode &status);
3026 static MeasureUnit getMeterPerSecond();
3035 static MeasureUnit *createMilePerHour(UErrorCode &status);
3042 static MeasureUnit getMilePerHour();
3051 static MeasureUnit *createCelsius(UErrorCode &status);
3058 static MeasureUnit getCelsius();
3067 static MeasureUnit *createFahrenheit(UErrorCode &status);
3074 static MeasureUnit getFahrenheit();
3083 static MeasureUnit *createGenericTemperature(UErrorCode &status);
3090 static MeasureUnit getGenericTemperature();
3099 static MeasureUnit *createKelvin(UErrorCode &status);
3106 static MeasureUnit getKelvin();
3115 static MeasureUnit *createNewtonMeter(UErrorCode &status);
3122 static MeasureUnit getNewtonMeter();
3131 static MeasureUnit *createPoundFoot(UErrorCode &status);
3138 static MeasureUnit getPoundFoot();
3147 static MeasureUnit *createAcreFoot(UErrorCode &status);
3154 static MeasureUnit getAcreFoot();
3163 static MeasureUnit *createBarrel(UErrorCode &status);
3170 static MeasureUnit getBarrel();
3179 static MeasureUnit *createBushel(UErrorCode &status);
3186 static MeasureUnit getBushel();
3195 static MeasureUnit *createCentiliter(UErrorCode &status);
3202 static MeasureUnit getCentiliter();
3211 static MeasureUnit *createCubicCentimeter(UErrorCode &status);
3218 static MeasureUnit getCubicCentimeter();
3227 static MeasureUnit *createCubicFoot(UErrorCode &status);
3234 static MeasureUnit getCubicFoot();
3243 static MeasureUnit *createCubicInch(UErrorCode &status);
3250 static MeasureUnit getCubicInch();
3259 static MeasureUnit *createCubicKilometer(UErrorCode &status);
3266 static MeasureUnit getCubicKilometer();
3275 static MeasureUnit *createCubicMeter(UErrorCode &status);
3282 static MeasureUnit getCubicMeter();
3291 static MeasureUnit *createCubicMile(UErrorCode &status);
3298 static MeasureUnit getCubicMile();
3307 static MeasureUnit *createCubicYard(UErrorCode &status);
3314 static MeasureUnit getCubicYard();
3323 static MeasureUnit *createCup(UErrorCode &status);
3330 static MeasureUnit getCup();
3339 static MeasureUnit *createCupMetric(UErrorCode &status);
3346 static MeasureUnit getCupMetric();
3355 static MeasureUnit *createDeciliter(UErrorCode &status);
3362 static MeasureUnit getDeciliter();
3371 static MeasureUnit *createDessertSpoon(UErrorCode &status);
3378 static MeasureUnit getDessertSpoon();
3387 static MeasureUnit *createDessertSpoonImperial(UErrorCode &status);
3394 static MeasureUnit getDessertSpoonImperial();
3403 static MeasureUnit *createDram(UErrorCode &status);
3410 static MeasureUnit getDram();
3419 static MeasureUnit *createDrop(UErrorCode &status);
3426 static MeasureUnit getDrop();
3435 static MeasureUnit *createFluidOunce(UErrorCode &status);
3442 static MeasureUnit getFluidOunce();
3451 static MeasureUnit *createFluidOunceImperial(UErrorCode &status);
3458 static MeasureUnit getFluidOunceImperial();
3467 static MeasureUnit *createGallon(UErrorCode &status);
3474 static MeasureUnit getGallon();
3483 static MeasureUnit *createGallonImperial(UErrorCode &status);
3490 static MeasureUnit getGallonImperial();
3499 static MeasureUnit *createHectoliter(UErrorCode &status);
3506 static MeasureUnit getHectoliter();
3515 static MeasureUnit *createJigger(UErrorCode &status);
3522 static MeasureUnit getJigger();
3531 static MeasureUnit *createLiter(UErrorCode &status);
3538 static MeasureUnit getLiter();
3547 static MeasureUnit *createMegaliter(UErrorCode &status);
3554 static MeasureUnit getMegaliter();
3563 static MeasureUnit *createMilliliter(UErrorCode &status);
3570 static MeasureUnit getMilliliter();
3579 static MeasureUnit *createPinch(UErrorCode &status);
3586 static MeasureUnit getPinch();
3595 static MeasureUnit *createPint(UErrorCode &status);
3602 static MeasureUnit getPint();
3611 static MeasureUnit *createPintMetric(UErrorCode &status);
3618 static MeasureUnit getPintMetric();
3627 static MeasureUnit *createQuart(UErrorCode &status);
3634 static MeasureUnit getQuart();
3643 static MeasureUnit *createQuartImperial(UErrorCode &status);
3650 static MeasureUnit getQuartImperial();
3659 static MeasureUnit *createTablespoon(UErrorCode &status);
3666 static MeasureUnit getTablespoon();
3675 static MeasureUnit *createTeaspoon(UErrorCode &status);
3682 static MeasureUnit getTeaspoon();
3716 MeasureUnit(int32_t typeId, int32_t subTypeId);
3717 MeasureUnit(MeasureUnitImpl&& impl);
3719 static MeasureUnit *create(int typeId, int subTypeId, UErrorCode &status);
3728 static bool findBySubType(StringPiece subType, MeasureUnit* output);
3731 LocalArray<MeasureUnit> splitToSingleUnitsImpl(int32_t& outCount, UErrorCode& status) const;
3740 inline std::pair<LocalArray<MeasureUnit>, int32_t>
3741 MeasureUnit::splitToSingleUnits(UErrorCode& status) const { in splitToSingleUnits()