summaryrefslogtreecommitdiff
path: root/src/mongo/shell/linenoise_utf8.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-05-19 12:46:52 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-05-19 14:43:05 -0400
commitf2bfd36a6f3eb7e7e2587268be3cc12636703d42 (patch)
tree6436772fbceb28f07bbfaee528d700159beb0cec /src/mongo/shell/linenoise_utf8.h
parentc10e8282a7af38f8512e911a14889e14df8a2c6a (diff)
downloadmongo-f2bfd36a6f3eb7e7e2587268be3cc12636703d42.tar.gz
SERVER-13256: Remove pch - qualify std in headers
Diffstat (limited to 'src/mongo/shell/linenoise_utf8.h')
-rw-r--r--src/mongo/shell/linenoise_utf8.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mongo/shell/linenoise_utf8.h b/src/mongo/shell/linenoise_utf8.h
index 703de88894e..c9387ccc643 100644
--- a/src/mongo/shell/linenoise_utf8.h
+++ b/src/mongo/shell/linenoise_utf8.h
@@ -44,8 +44,8 @@ enum BadUTF8 {
};
/**
- * Convert a null terminated UTF-8 string from UTF-8 and store it in a UChar32 destination buffer
- * Always null terminates the destination string if at least one character position is available
+ * Convert a null terminated UTF-8 std::string from UTF-8 and store it in a UChar32 destination buffer
+ * Always null terminates the destination std::string if at least one character position is available
* Errors in the UTF-8 encoding will be handled in two ways: the erroneous characters will be
* converted to the Unicode error character U+FFFD and flag bits will be set in the conversionErrorCode
* int.
@@ -64,8 +64,8 @@ void copyString8to32(
int & conversionErrorCode );
/**
- * Copy a null terminated UChar32 string to a UChar32 destination buffer
- * Always null terminates the destination string if at least one character position is available
+ * Copy a null terminated UChar32 std::string to a UChar32 destination buffer
+ * Always null terminates the destination std::string if at least one character position is available
*
* @param dest32 Destination UChar32 buffer
* @param source32 Source UChar32 string
@@ -74,9 +74,9 @@ void copyString8to32(
void copyString32( UChar32* dest32, const UChar32* source32, size_t destLengthInCharacters );
/**
- * Convert a specified number of UChar32 characters from a possibly null terminated UChar32 string to UTF-8
+ * Convert a specified number of UChar32 characters from a possibly null terminated UChar32 std::string to UTF-8
* and store it in a UChar8 destination buffer
- * Always null terminates the destination string if at least one character position is available
+ * Always null terminates the destination std::string if at least one character position is available
*
* @param dest8 Destination UChar8 buffer
* @param source32 Source UChar32 string
@@ -87,8 +87,8 @@ void copyString32( UChar32* dest32, const UChar32* source32, size_t destLengthIn
size_t copyString32to8counted( UChar8* dest8, const UChar32* source32, size_t outputBufferSizeInBytes, size_t charCount );
/**
- * Convert a null terminated UChar32 string to UTF-8 and store it in a UChar8 destination buffer
- * Always null terminates the destination string if at least one character position is available
+ * Convert a null terminated UChar32 std::string to UTF-8 and store it in a UChar8 destination buffer
+ * Always null terminates the destination std::string if at least one character position is available
*
* @param dest8 Destination UChar8 buffer
* @param source32 Source UChar32 string
@@ -101,15 +101,15 @@ size_t copyString32to8( UChar8* dest8, const UChar32* source32, size_t outputBuf
* Count characters (i.e. Unicode code points, array elements) in a null terminated UChar32 string
*
* @param str32 Source UChar32 string
- * @return String length in characters
+ * @return std::string length in characters
*/
size_t strlen32( const UChar32* str32 );
/**
* Compare two UChar32 null-terminated strings with length parameter
*
- * @param first32 First string to compare
- * @param second32 Second string to compare
+ * @param first32 First std::string to compare
+ * @param second32 Second std::string to compare
* @param length Maximum number of characters to compare
* @return Negative if first < second, positive if first > second, zero if equal
*/