Blamite Game Engine - Strings  00291.01.11.21.2204.blamite
A library containing general purpose utilities and classes for use in multiple projects.
converters.cpp File Reference
#include "components/utils/converters/converters.h"
#include <regex>
#include <Windows.h>
#include <codecvt>
#include "components/utils/string/string.h"
#include "components/hooks/hooks.h"
#include "components/logger/logger.h"

Functions

bool IsStringInt (std::string string)
 Checks whether or not a string is a valid representation of an integer. More...
 
bool IsStringFloat (std::string string)
 Checks whether or not a string is a valid representation of a float. More...
 

Function Documentation

◆ IsStringFloat()

bool IsStringFloat ( std::string  string)

Checks whether or not a string is a valid representation of a float.

Parameters
string- The string to check.
Returns
true if the string represents a valid float, otherwise returns `false.

◆ IsStringInt()

bool IsStringInt ( std::string  string)

Checks whether or not a string is a valid representation of an integer.

Parameters
string- The string to check.
Returns
true if the string represents a valid integer, otherwise returns `false.