summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-01-06 20:43:18 -0500
committerChuck Miller <shadowmil@gmail.com>2010-01-06 20:43:18 -0500
commit4f76de82c55e55cdaba1ddec85eb0d016b544633 (patch)
tree1f15f5b59487dd7bb345ba1437c6ed9d435313d9 /src/utils/stringutils.h
parentfa87aa5ae0ca08fc0a2d404e4a12120ddb337931 (diff)
downloadmana-client-4f76de82c55e55cdaba1ddec85eb0d016b544633.tar.gz
mana-client-4f76de82c55e55cdaba1ddec85eb0d016b544633.tar.bz2
mana-client-4f76de82c55e55cdaba1ddec85eb0d016b544633.tar.xz
mana-client-4f76de82c55e55cdaba1ddec85eb0d016b544633.zip
Fixes so mapreader ignores the case of object types
This will decrease warnings in the log file by a good bit
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r--src/utils/stringutils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index c5757d0f..51144a8a 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -42,6 +42,15 @@ std::string &trim(std::string &str);
std::string &toLower(std::string &str);
/**
+ * Converts the given strong to upper case.
+ *
+ * @param str the string to convert to upper case
+ * @return a reference to the given string converted to upper case
+ */
+std::string &toUpper(std::string &str);
+
+
+/**
* Converts an ascii hexidecimal string to an integer
*
* @param str the hex string to convert to an int