cbp2make
Makefile generation tool for Code::Blocks IDE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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