aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/parserHelpers.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/parserHelpers.hpp')
-rw-r--r--vmime/parserHelpers.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/vmime/parserHelpers.hpp b/vmime/parserHelpers.hpp
index 7d44f05a..97e8a668 100644
--- a/vmime/parserHelpers.hpp
+++ b/vmime/parserHelpers.hpp
@@ -36,25 +36,25 @@ class parserHelpers
{
public:
- static const bool isspace(const char_t c)
+ static const bool isSpace(const char_t c)
{
return (c == ' ' || c == '\t' || c == '\n' || c == '\r');
}
- static const bool isdigit(const char_t c)
+ static const bool isDigit(const char_t c)
{
return (c >= '0' && c <= '9');
}
- static const bool isalpha(const char_t c)
+ static const bool isAlpha(const char_t c)
{
return ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'));
}
- static const char_t tolower(const char_t c)
+ static const char_t toLower(const char_t c)
{
if (c >= 'A' && c <= 'Z')
return ('a' + (c - 'A'));
@@ -65,7 +65,7 @@ public:
// Checks whether a character is in the 7-bit US-ASCII charset
- static const bool isascii(const char_t c)
+ static const bool isAscii(const char_t c)
{
const unsigned int x = static_cast <unsigned int>(c);
return (x <= 127);
@@ -74,7 +74,7 @@ public:
// Checks whether a character has a visual representation
- static const bool isprint(const char_t c)
+ static const bool isPrint(const char_t c)
{
const unsigned int x = static_cast <unsigned int>(c);
return (x >= 0x20 && x <= 0x7E);