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
InputHelper.h
1// Copyright (C)2023 Smiling Cat Entertainment, LTD. All Rights Reserved.
2
3#pragma once
4#include "CoreMinimal.h"
5#include "InputCoreTypes.h"
6
7#include "Inline.h"
8
9namespace Duke
10{
15 {
23 static bool TryKeyToChar(const FKey& key, TCHAR& output);
24
36 static bool TryCharToDigit(TCHAR character, int32 radix, int32& output);
37
49 static bool TryKeyToDigit(const FKey& key, int32 radix, int32& output);
50
51 private:
52 static const TMap<FKey, TCHAR> keyCharMap;
53 };
54
55 // If conditional inlining is ON, include inlinable functions here.
56#if DBN_INLINE_ENABLED
57#include "InputHelper.inl"
58#endif
59
60}
Definition: InputHelper.h:15
static bool TryKeyToChar(const FKey &key, TCHAR &output)
Definition: InputHelper.inl:6
static bool TryCharToDigit(TCHAR character, int32 radix, int32 &output)
static bool TryKeyToDigit(const FKey &key, int32 radix, int32 &output)
Definition: InputHelper.inl:13