aboutsummaryrefslogtreecommitdiff
path: root/src/Uri.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Uri.cpp')
-rw-r--r--src/Uri.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Uri.cpp b/src/Uri.cpp
index 44ce0b0..1d27a7a 100644
--- a/src/Uri.cpp
+++ b/src/Uri.cpp
@@ -80,6 +80,20 @@ namespace {
return !stillPassing(' ', true);
}
+ /**
+ * This function determines whether or not the given character
+ * is in the given character set.
+ *
+ * @param[in] c
+ * This is the character to check.
+ *
+ * @param[in] characterSet
+ * This is the set of characters that are allowed.
+ *
+ * @return
+ * An indication of whether or not the given character
+ * is in the given character set is returned.
+ */
bool IsCharacterInSet(
char c,
std::initializer_list< char > characterSet