aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Aws::Crt::BigDecimal Class Referencefinal

#include <BigDecimal.h>

Public Member Functions

 BigDecimal () noexcept
 
 BigDecimal (Allocator *allocator) noexcept
 
String ToString () const noexcept
 
bool operator== (const BigDecimal &other) const noexcept
 
bool operator!= (const BigDecimal &other) const noexcept
 

Static Public Member Functions

static Optional< BigDecimal > FromString (ByteCursor str, Allocator *allocator=ApiAllocator()) noexcept
 

Detailed Description

Arbitrary-precision decimal, with value = mantissa * 10^exponent. Values are immutable.

Math operations are not supported by BigDecimal, use ToString() to export to a library that does.

Constructor & Destructor Documentation

◆ BigDecimal() [1/2]

Aws::Crt::BigDecimal::BigDecimal ( )
noexcept

◆ BigDecimal() [2/2]

Aws::Crt::BigDecimal::BigDecimal ( Allocator *  allocator)
explicitnoexcept

Member Function Documentation

◆ FromString()

Optional< BigDecimal > Aws::Crt::BigDecimal::FromString ( ByteCursor  str,
Allocator *  allocator = ApiAllocator() 
)
staticnoexcept

◆ operator!=()

bool Aws::Crt::BigDecimal::operator!= ( const BigDecimal &  other) const
noexcept

◆ operator==()

bool Aws::Crt::BigDecimal::operator== ( const BigDecimal &  other) const
noexcept

◆ ToString()

String Aws::Crt::BigDecimal::ToString ( ) const
noexcept

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