ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
ICU4XPluralOperands Class Reference

#include <ICU4XPluralOperands.hpp>

Public Member Functions

 ICU4XPluralOperands (capi::ICU4XPluralOperands *i)
 
 ICU4XPluralOperands ()=default
 
 ICU4XPluralOperands (ICU4XPluralOperands &&) noexcept=default
 
ICU4XPluralOperandsoperator= (ICU4XPluralOperands &&other) noexcept=default
 

Static Public Member Functions

static diplomat::result< ICU4XPluralOperands, ICU4XErrorcreate_from_string (const std::string_view s)
 
static ICU4XPluralOperands create_from_fixed_decimal (const ICU4XFixedDecimal &x)
 

Detailed Description

See the Rust documentation for PluralOperands for more information.

Constructor & Destructor Documentation

◆ ICU4XPluralOperands() [1/3]

ICU4XPluralOperands::ICU4XPluralOperands ( capi::ICU4XPluralOperands * i)
inlineexplicit

◆ ICU4XPluralOperands() [2/3]

ICU4XPluralOperands::ICU4XPluralOperands ( )
default

◆ ICU4XPluralOperands() [3/3]

ICU4XPluralOperands::ICU4XPluralOperands ( ICU4XPluralOperands && )
defaultnoexcept

Member Function Documentation

◆ create_from_fixed_decimal()

ICU4XPluralOperands ICU4XPluralOperands::create_from_fixed_decimal ( const ICU4XFixedDecimal & x)
inlinestatic

Construct from a FixedDecimal

Retains at most 18 digits each from the integer and fraction parts.

◆ create_from_string()

diplomat::result< ICU4XPluralOperands, ICU4XError > ICU4XPluralOperands::create_from_string ( const std::string_view s)
inlinestatic

Construct for a given string representing a number

See the Rust documentation for from_str for more information.

◆ operator=()

ICU4XPluralOperands & ICU4XPluralOperands::operator= ( ICU4XPluralOperands && other)
defaultnoexcept

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