libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
stox.h File Reference
#include <string>
#include <cstdint>
Include dependency graph for stox.h:

Go to the source code of this file.

Namespaces

namespace  Ship
 Core namespace for the libultraship engine framework.
 

Functions

bool Ship::stob (const std::string &s, bool defaultVal=false)
 Converts a string to a boolean value.
 
int32_t Ship::stoi (const std::string &s, int32_t defaultVal=0)
 Converts a string to a 32-bit signed integer.
 
float Ship::stof (const std::string &s, float defaultVal=1.0f)
 Converts a string to a float.
 
int64_t Ship::stoll (const std::string &s, int64_t defaultVal=0)
 Converts a string to a 64-bit signed integer.