Game Develop Core: Common programming tools

| Game Develop Core Core library for developing platforms and tools compatible with Game Develop.

- Main Page
- Modules
- Classes

All Classes Files Functions Variables Typedefs Enumerations Macros Groups Pages
Functions
Common programming tools

## Functions

template<typename T >
double | gd::ToDouble (const T &value)
template<typename T >
std::string | gd::ToString (const T &value)
template<typename T >
int | gd::ToInt (const T &value)
template<typename T >
float | gd::ToFloat (const T &value)
template<>
std::string GD_CORE_API | gd::ToString (const wxString &value)

## Detailed Description

Common functions and tools for programming.

## Function Documentation

template<typename T >

double gd::ToDouble | ( | const T & | value) |  |

Convert anything to a double

template<typename T >

float gd::ToFloat | ( | const T & | value) |  |

Convert anything to a float

template<typename T >

int gd::ToInt | ( | const T & | value) |  |

Convert anything to an integer. Example:

std::string five = "5";
int number = ToInt(five);
template<typename T >

std::string gd::ToString | ( | const T & | value) |  |

Convert anything to a std::string Example:

std::string five = gd::ToString(5);
template<>

std::string GD_CORE_API gd::ToString | ( | const wxString & | value) |  |

Specialization for converting wxString to a std::string