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
BigIntegerParserLibrary.h
1// Copyright (C)2023 Smiling Cat Entertainment, LTD. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Kismet/BlueprintFunctionLibrary.h"
7#include "Inline.h"
8#include "BigInteger.h"
9#include "BigIntegerParser.h"
10#include "BlueprintHelper.h"
11
12#include "BigIntegerParserLibrary.generated.h"
13
17UCLASS()
18class DUKESBIGNUMBERS_API UBigIntegerParserLibrary : public UBlueprintFunctionLibrary
19{
20 GENERATED_BODY()
21
22public:
30 UFUNCTION(BlueprintPure, meta = (DisplayName = "Parse BigInteger From Invariant Decimal"), Category = "Math|BigInteger")
31 static FBigInteger ParseBigIntegerFromInvariantDecimal_String(const FString& In);
32
40 UFUNCTION(BlueprintPure, meta = (DisplayName = "Parse BigInteger From Invariant Hexadecimal"), Category = "Math|BigInteger")
41 static FBigInteger ParseBigIntegerFromInvariantHexadecimal_String(const FString& In);
42
51 UFUNCTION(BlueprintCallable, meta = (DisplayName = "Try Parse BigInteger From Invariant Decimal", ExpandEnumAsExecs = "ReturnValue", ReturnDisplayName = "Succeeded"), Category = "Math|BigInteger")
52 static ESuccessFail TryParseBigIntegerFromInvariantDecimal_String(const FString& In, FBigInteger& Number);
53
62 UFUNCTION(BlueprintCallable, meta = (DisplayName = "Try Parse BigInteger From Invariant Hexadecimal", ExpandEnumAsExecs = "ReturnValue", ReturnDisplayName = "Succeeded"), Category = "Math|BigInteger")
63 static ESuccessFail TryParseBigIntegerFromInvariantHexadecimal_String(const FString& In, FBigInteger& Number);
64};
65
66// If conditional inlining is ON, include inlinable functions here.
67#if DBN_INLINE_ENABLED
68#include "BigIntegerParserLibrary.inl"
69#endif
Definition: BigIntegerParserLibrary.h:19
Definition: BigInteger.h:50