Cytopia  0.3
A city building simulation game
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
utils.hxx File Reference
#include <iterator>
#include <string>
+ Include dependency graph for utils.hxx:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  utils::Lib::Reverse< T >
 Reverse the given iterator - to be used with for range loops. More...
 

Namespaces

 utils
 
 utils::Lib
 
 utils::strings
 

Functions

template<class T >
auto utils::ReverseIterator (T const &elem)
 Helper function for Reverse template because c++11 does not support template deduction. More...
 
void utils::strings::removeSubString (std::string &string, const std::string &stringToRemove)
 Erase first occurrence of given substring from main string. More...
 
bool utils::strings::endsWith (const std::string &mainStr, const std::string &toMatch)
 checks if a string ends with a certain substring More...
 
bool utils::strings::startsWith (const std::string &mainStr, const std::string &toMatch)
 checks if a string starts with a certain substring More...