#include "myTools.h"#include <sstream>Include dependency graph for myTools.cpp:

Go to the source code of this file.
Functions | |
| int | splitLine (std::vector< std::string > &pieces, std::string toSplit, std::string delimiter, bool ignDoubleDelim) |
| Splits the given strings into seperate strings by the given seperator. | |
| int | string2int (std::string stringValue) |
| Translates a given string to an integer value. | |
| std::string | int2string (int iValue) |
| Translates a given integer to string. | |
| std::string | upcase (std::string val) |
| Translates a given string to upcase letters. | |
| std::string int2string | ( | int | num | ) |
Translates a given integer to string.
| num | The integer to translate. |
Definition at line 53 of file myTools.cpp.
| int splitLine | ( | std::vector< std::string > & | pieces, | |
| std::string | toSplit, | |||
| std::string | delimiter, | |||
| bool | ignDoubleDelim = false | |||
| ) |
Splits the given strings into seperate strings by the given seperator.
| pieces | Array to store the substrings. | |
| toSplit | String to split. | |
| delimiter | String containing the deliming character. | |
| ignDoubleDelim | Flag that states wether to ignore doble delimiters or not. (default=no) |
Definition at line 25 of file myTools.cpp.
Referenced by Unit::load(), Level::load(), Interface::load(), and WinMain().
| int string2int | ( | std::string | stringValue | ) |
Translates a given string to an integer value.
| stringValue | The string to translate. |
Definition at line 44 of file myTools.cpp.
| std::string upcase | ( | std::string | val | ) |
Translates a given string to upcase letters.
| val | The string to translate. |
Definition at line 60 of file myTools.cpp.
1.5.2