ICU 78.1 78.1

Public Member Functions | Static Public Member Functions | Friends
icu::number::impl::Grouper Class Reference

`#include <numberformatter.h>`

Inheritance diagram for icu::number::impl::Grouper:

## Public Member Functions
| Grouper (int16_t grouping1, int16_t grouping2, int16_t minGrouping, UNumberGroupingStrategy strategy)
int16_t | getPrimary () const
int16_t | getSecondary () const

## Static Public Member Functions
static Grouper | forStrategy (UNumberGroupingStrategy grouping)
static Grouper | forProperties (const DecimalFormatProperties &properties)
| Resolve the values in Properties to a Grouper object. More...

## Friends
struct | MacroProps
struct | MicroProps
struct | SimpleMicroProps
class | NumberFormatterImpl
class | ::icu::number::SimpleNumberFormatter
class | ::icu::numparse::impl::NumberParserImpl
class | impl::GeneratorHelpers

## Detailed Description

Internal:
  Do not use.

This API is for internal use only.

Definition at line 1371 of file numberformatter.h.

## Constructor & Destructor Documentation

## ◆ Grouper()

icu::number::impl::Grouper::Grouper | ( | int16_t | grouping1,
|  | int16_t | grouping2,
|  | int16_t | minGrouping,
|  | UNumberGroupingStrategy | strategy
| ) |  |
| inline

Internal:
  Do not use.

This API is for internal use only.

Definition at line 1386 of file numberformatter.h.

## Member Function Documentation

## ◆ forProperties()

static Grouper icu::number::impl::Grouper::forProperties | ( | const DecimalFormatProperties & | properties | ) |
| static

Resolve the values in Properties to a Grouper object.

Internal:
  Do not use. This API is for internal use only.

## ◆ forStrategy()

static Grouper icu::number::impl::Grouper::forStrategy | ( | UNumberGroupingStrategy | grouping | ) |
| static

Internal:
  Do not use.

This API is for internal use only.

## ◆ getPrimary()

int16_t icu::number::impl::Grouper::getPrimary | ( |  | ) | const

Internal:
  Do not use.

This API is for internal use only.

## ◆ getSecondary()

int16_t icu::number::impl::Grouper::getSecondary | ( |  | ) | const

Internal:
  Do not use.

This API is for internal use only.

The documentation for this class was generated from the following file:

- i18n/unicode/numberformatter.h