ICU 67.1 67.1

Data Structures | Namespaces | Typedefs | Enumerations
measunit.h File Reference

C++ API: A unit for measuring a quantity. More...

`#include "unicode/utypes.h"`
`#include "unicode/unistr.h"`
`#include "unicode/localpointer.h"`

Go to the source code of this file.

## Data Structures
class | icu::MeasureUnit
| A unit such as length, mass, volume, currency, etc. More...

## Namespaces
| icu
| File coll.h.

## Typedefs
typedef enum icu::UMeasureSIPrefix | icu::UMeasureSIPrefix
| Enumeration for SI prefixes, such as "kilo". More...

## Enumerations
enum | icu::UMeasureUnitComplexity { icu::UMEASURE_UNIT_SINGLE, icu::UMEASURE_UNIT_COMPOUND, icu::UMEASURE_UNIT_MIXED }
| Enumeration for unit complexity. More...
enum | icu::UMeasureSIPrefix { icu::UMEASURE_SI_PREFIX_YOTTA = 24, icu::UMEASURE_SI_PREFIX_ZETTA = 21, icu::UMEASURE_SI_PREFIX_EXA = 18, icu::UMEASURE_SI_PREFIX_PETA = 15, icu::UMEASURE_SI_PREFIX_TERA = 12, icu::UMEASURE_SI_PREFIX_GIGA = 9, icu::UMEASURE_SI_PREFIX_MEGA = 6, icu::UMEASURE_SI_PREFIX_KILO = 3, icu::UMEASURE_SI_PREFIX_HECTO = 2, icu::UMEASURE_SI_PREFIX_DEKA = 1, icu::UMEASURE_SI_PREFIX_ONE = 0, icu::UMEASURE_SI_PREFIX_DECI = -1, icu::UMEASURE_SI_PREFIX_CENTI = -2, icu::UMEASURE_SI_PREFIX_MILLI = -3, icu::UMEASURE_SI_PREFIX_MICRO = -6, icu::UMEASURE_SI_PREFIX_NANO = -9, icu::UMEASURE_SI_PREFIX_PICO = -12, icu::UMEASURE_SI_PREFIX_FEMTO = -15, icu::UMEASURE_SI_PREFIX_ATTO = -18, icu::UMEASURE_SI_PREFIX_ZEPTO = -21, icu::UMEASURE_SI_PREFIX_YOCTO = -24 }
| Enumeration for SI prefixes, such as "kilo". More...

## Detailed Description

C++ API: A unit for measuring a quantity.

Definition in file measunit.h.