Kage Studio 0.7.230612
A Simple Free and Open Source 2D Animation Software
Loading...
Searching...
No Matches
StringHelper Class Reference

#include <stringhelper.h>

Static Public Member Functions

static string toUpper (string p_str)
 
static string toLower (string p_str)
 
static string integerToString (int p_src)
 
static string unsignedIntegerToString (unsigned int p_src)
 
static string doubleToString (double p_src)
 
static int toInteger (string p_str)
 
static unsigned int toUnsignedInteger (string p_str)
 
static long toLong (string p_str)
 
static double toDouble (string p_str)
 
static bool toBoolean (string p_str)
 
static vector< string > split (const string &p_source, const string &p_delimiter)
 
static string trim (string p_source)
 
static string kHash (string par, int p_len=8)
 

Member Function Documentation

◆ doubleToString()

string StringHelper::doubleToString ( double  p_src)
static
Here is the caller graph for this function:

◆ integerToString()

string StringHelper::integerToString ( int  p_src)
static
Here is the caller graph for this function:

◆ kHash()

string StringHelper::kHash ( string  par,
int  p_len = 8 
)
static
Here is the caller graph for this function:

◆ split()

vector< string > StringHelper::split ( const string &  p_source,
const string &  p_delimiter 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toBoolean()

bool StringHelper::toBoolean ( string  p_str)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toDouble()

double StringHelper::toDouble ( string  p_str)
static
Here is the caller graph for this function:

◆ toInteger()

int StringHelper::toInteger ( string  p_str)
static
Here is the caller graph for this function:

◆ toLong()

long StringHelper::toLong ( string  p_str)
static

◆ toLower()

string StringHelper::toLower ( string  p_str)
static
Here is the caller graph for this function:

◆ toUnsignedInteger()

unsigned int StringHelper::toUnsignedInteger ( string  p_str)
static
Here is the caller graph for this function:

◆ toUpper()

string StringHelper::toUpper ( string  p_str)
static

◆ trim()

string StringHelper::trim ( string  p_source)
static
Here is the caller graph for this function:

◆ unsignedIntegerToString()

string StringHelper::unsignedIntegerToString ( unsigned int  p_src)
static
Here is the caller graph for this function:

The documentation for this class was generated from the following files: