cbp2make
Makefile generation tool for Code::Blocks IDE
Functions
stlconvert.h File Reference
#include <cstdio>
#include <sstream>
#include "stlstrings.h"

Go to the source code of this file.

Functions

double IntToFloat (const int Value)
 
bool IntToBool (const int Value)
 
std::string IntToStr (const int Value)
 
char IntToChar (const int Value)
 
int FloatToInt (const double Value)
 
bool FloatToBool (const double Value)
 
std::string FloatToStr (const double Value)
 
char FloatToChar (const double Value)
 
double BoolToFloat (const bool Value)
 
int BoolToInt (const bool Value)
 
std::string BoolToStr (const bool Value)
 
char BoolToChar (const bool Value)
 
double StrToFloat (const std::string &Value)
 
int StrToInt (const std::string &Value)
 
bool StrToBool (const std::string &Value)
 
char StrToChar (const std::string &Value)
 
double CharToFloat (const char Value)
 
int CharToInt (const char Value)
 
bool CharToBool (const char Value)
 
std::string CharToStr (const char Value)
 
CString IntegerToString (const int Value)
 
CString Int64ToString (const long long int Value)
 
CString FloatToString (const double Value)
 
CString FloatToString (const double Value, const CString &Format)
 
CString BooleanToString (const bool Value)
 
CString BooleanToYesNoString (const bool Value)
 
double StringToFloat (const CString &Value)
 
int StringToInteger (const CString &Value)
 
bool StringToBoolean (const CString &Value)
 
char StringToChar (const CString &Value)
 
CString CharToString (const char Value)
 

Function Documentation

◆ BooleanToString()

CString BooleanToString ( const bool  Value)
inline

◆ BooleanToYesNoString()

CString BooleanToYesNoString ( const bool  Value)
inline

◆ BoolToChar()

char BoolToChar ( const bool  Value)
inline

◆ BoolToFloat()

double BoolToFloat ( const bool  Value)
inline

◆ BoolToInt()

int BoolToInt ( const bool  Value)
inline

◆ BoolToStr()

std::string BoolToStr ( const bool  Value)
inline

◆ CharToBool()

bool CharToBool ( const char  Value)
inline

◆ CharToFloat()

double CharToFloat ( const char  Value)
inline

◆ CharToInt()

int CharToInt ( const char  Value)
inline

◆ CharToStr()

std::string CharToStr ( const char  Value)
inline

◆ CharToString()

CString CharToString ( const char  Value)
inline

◆ FloatToBool()

bool FloatToBool ( const double  Value)
inline

◆ FloatToChar()

char FloatToChar ( const double  Value)
inline

◆ FloatToInt()

int FloatToInt ( const double  Value)
inline

◆ FloatToStr()

std::string FloatToStr ( const double  Value)
inline

◆ FloatToString() [1/2]

CString FloatToString ( const double  Value)
inline

◆ FloatToString() [2/2]

CString FloatToString ( const double  Value,
const CString Format 
)
inline

◆ Int64ToString()

CString Int64ToString ( const long long int  Value)
inline

◆ IntegerToString()

CString IntegerToString ( const int  Value)
inline

◆ IntToBool()

bool IntToBool ( const int  Value)
inline

◆ IntToChar()

char IntToChar ( const int  Value)
inline

◆ IntToFloat()

double IntToFloat ( const int  Value)
inline

◆ IntToStr()

std::string IntToStr ( const int  Value)
inline

◆ StringToBoolean()

bool StringToBoolean ( const CString Value)
inline

◆ StringToChar()

char StringToChar ( const CString Value)
inline

◆ StringToFloat()

double StringToFloat ( const CString Value)
inline

◆ StringToInteger()

int StringToInteger ( const CString Value)
inline

◆ StrToBool()

bool StrToBool ( const std::string &  Value)
inline

◆ StrToChar()

char StrToChar ( const std::string &  Value)
inline

◆ StrToFloat()

double StrToFloat ( const std::string &  Value)
inline

◆ StrToInt()

int StrToInt ( const std::string &  Value)
inline