Duke's Big Numbers 1.0
C++ and Blueprint libraries for performing math, analysis, and formatting with really large numbers (>10e308).
Loading...
Searching...
No Matches
BigIntegerFormatter.h
1// Copyright (C)2023 Smiling Cat Entertainment, LTD. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UObject/NoExportTypes.h"
7#include "Inline.h"
8#include "BigInteger.h"
9#include "BigIntegerFormatter.generated.h"
10
17UCLASS(Blueprintable, Abstract)
18class DUKESBIGNUMBERS_API UBigIntegerFormatter : public UObject
19{
20 GENERATED_BODY()
21public:
28 UFUNCTION(BlueprintPure, Category = "Utilities|String")
29 FString ToString(const FBigInteger& Number) const;
30
38 UFUNCTION(BlueprintPure=false, Category = "Utilities|String")
39 FString& AppendToString(const FBigInteger& Number, UPARAM(ref) FString& String) const;
40
46 UFUNCTION(BlueprintCallable, Category = "Utilities|String")
47 virtual int32 GetRadix() const;
48
55 virtual void OnAppendToString(const FBigInteger& number, FString& string) const;
56};
57
58// If conditional inlining is ON, include inlinable functions here.
59#if DBN_INLINE_ENABLED
60#include "BigIntegerFormatter.inl"
61#endif
Definition: BigIntegerFormatter.h:19
Definition: BigInteger.h:50