summaryrefslogtreecommitdiff
path: root/server/src/tostring.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/tostring.h')
-rw-r--r--server/src/tostring.h140
1 files changed, 69 insertions, 71 deletions
diff --git a/server/src/tostring.h b/server/src/tostring.h
index 0b63fb3..137969f 100644
--- a/server/src/tostring.h
+++ b/server/src/tostring.h
@@ -29,86 +29,84 @@
#include <string>
-namespace Pentominos {
- /**
- * toString converts a nonstring variable into an STL string.
- * @param s A string, converted into a... string...
- * @return The STL string containing the converted value.
- */
- std::string toString(std::string s);
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param s A string, converted into a... string...
+ * @return The STL string containing the converted value.
+ */
+std::string toString(std::string s);
- /**
- * toString converts a nonstring variable into an STL string.
- * @param c A char, converted into a string.
- * @return The STL string containing the converted value.
- */
- std::string toString(char c);
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param c A char, converted into a string.
+ * @return The STL string containing the converted value.
+ */
+std::string toString(char c);
- /**
- * toString converts a nonstring variable into an STL string.
- * @param c A unsigned char, converted into a string.
- * @return The STL string containing the converted value.
- */
- std::string toString(unsigned char c);
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param c A unsigned char, converted into a string.
+ * @return The STL string containing the converted value.
+ */
+std::string toString(unsigned char c);
- /**
- * toString converts a nonstring variable into an STL string.
- * @param si A short integer, converted into a string.
- * @return The STL string containing the converted value.
- */
- std::string toString(short int si);
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param si A short integer, converted into a string.
+ * @return The STL string containing the converted value.
+ */
+std::string toString(short int si);
- /**
- * toString converts a nonstring variable into an STL string.
- * @param su An unsigned short integer, converted into a string.
- * @return The STL string containing the converted value.
- */
- std::string toString(short unsigned int su);
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param su An unsigned short integer, converted into a string.
+ * @return The STL string containing the converted value.
+ */
+std::string toString(short unsigned int su);
- /**
- * toString converts a nonstring variable into an STL string.
- * @param li A long integer, converted into a string.
- * @return The STL string containing the converted value.
- */
- std::string toString(int li);
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param li A long integer, converted into a string.
+ * @return The STL string containing the converted value.
+ */
+std::string toString(int li);
- /**
- * toString converts a nonstring variable into an STL string.
- * @param lu An unsigned long integer, converted into a string.
- * @return The STL string containing the converted value.
- */
- std::string toString(unsigned int lu);
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param lu An unsigned long integer, converted into a string.
+ * @return The STL string containing the converted value.
+ */
+std::string toString(unsigned int lu);
- /**
- * toString converts a nonstring variable into an STL string.
- * @param b A boolean value, converted into a string (true/false).
- * @return The STL string containing the converted value.
- */
- std::string toString(bool b);
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param b A boolean value, converted into a string (true/false).
+ * @return The STL string containing the converted value.
+ */
+std::string toString(bool b);
- /**
- * toString converts a nonstring variable into an STL string.
- * @param f A floating point value, converted into a string.
- * @param precision The precision to use when converting.
- * @return The STL string containing the converted value.
- */
- std::string toString(float f, unsigned int precision = 8);
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param f A floating point value, converted into a string.
+ * @param precision The precision to use when converting.
+ * @return The STL string containing the converted value.
+ */
+std::string toString(float f, unsigned int precision = 8);
- /**
- * toString converts a nonstring variable into an STL string.
- * @param d A double precision floating point value, converted into a string.
- * @param precision The precision to use when converting.
- * @return The STL string containing the converted value.
- */
- std::string toString(double d, unsigned int precision = 16);
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param d A double precision floating point value, converted into a string.
+ * @param precision The precision to use when converting.
+ * @return The STL string containing the converted value.
+ */
+std::string toString(double d, unsigned int precision = 16);
- /**
- * toString converts a nonstring variable into an STL string.
- * @param ld A long double precision floating point value, converted into a string.
- * @param precision The precision to use when converting.
- * @return The STL string containing the converted value.
- */
- std::string toString(long double ld, unsigned int precision = 32);
-};
+/**
+ * toString converts a nonstring variable into an STL string.
+ * @param ld A long double precision floating point value, converted into a string.
+ * @param precision The precision to use when converting.
+ * @return The STL string containing the converted value.
+ */
+std::string toString(long double ld, unsigned int precision = 32);
#endif/*__ARTEFACT_TOSTRING_H__*/