Changeset 1889 for code/trunk/src/util/String.h
- Timestamp:
- Oct 6, 2008, 1:05:07 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/util/String.h
r1791 r1889 42 42 extern _UtilExport std::string blankString; 43 43 44 _UtilExport void 45 _UtilExport std::string 44 _UtilExport void strip(std::string* str); 45 _UtilExport std::string getStripped(const std::string& str); 46 46 47 _UtilExport std::string 47 _UtilExport std::string removeTrailingWhitespaces(const std::string& str); 48 48 49 _UtilExport unsigned int getNextQuote(const std::string& str, unsigned int start);50 _UtilExport bool isBetweenQuotes(const std::string& str, unsigned int pos);49 _UtilExport size_t getNextQuote(const std::string& str, size_t start); 50 _UtilExport bool isBetweenQuotes(const std::string& str, size_t pos); 51 51 52 _UtilExport bool 53 _UtilExport std::string 52 _UtilExport bool hasStringBetweenQuotes(const std::string& str); 53 _UtilExport std::string getStringBetweenQuotes(const std::string& str); 54 54 55 _UtilExport std::string 56 _UtilExport std::string 55 _UtilExport std::string stripEnclosingQuotes(const std::string& str); 56 _UtilExport std::string stripEnclosingBraces(const std::string& str); 57 57 58 _UtilExport bool 59 _UtilExport bool 60 _UtilExport bool 58 _UtilExport bool isEmpty(const std::string& str); 59 _UtilExport bool isComment(const std::string& str); 60 _UtilExport bool isNumeric(const std::string& str); 61 61 62 _UtilExport std::string 63 _UtilExport std::string 62 _UtilExport std::string addSlashes(const std::string& str); 63 _UtilExport std::string removeSlashes(const std::string& str); 64 64 65 _UtilExport void 66 _UtilExport std::string 65 _UtilExport void lowercase(std::string* str); 66 _UtilExport std::string getLowercase(const std::string& str); 67 67 68 _UtilExport void 69 _UtilExport std::string 68 _UtilExport void uppercase(std::string* str); 69 _UtilExport std::string getUppercase(const std::string& str); 70 70 71 _UtilExport int 72 _UtilExport int nocaseCmp(const std::string& s1, const std::string& s2, unsigned int len);71 _UtilExport int nocaseCmp(const std::string& s1, const std::string& s2); 72 _UtilExport int nocaseCmp(const std::string& s1, const std::string& s2, size_t len); 73 73 74 _UtilExport bool 75 _UtilExport std::string 76 _UtilExport unsigned intgetCommentPosition(const std::string& str);77 _UtilExport unsigned int getNextCommentPosition(const std::string& str, unsigned int start = 0);74 _UtilExport bool hasComment(const std::string& str); 75 _UtilExport std::string getComment(const std::string& str); 76 _UtilExport size_t getCommentPosition(const std::string& str); 77 _UtilExport size_t getNextCommentPosition(const std::string& str, size_t start = 0); 78 78 79 79 #endif /* _Util_String_H__ */
Note: See TracChangeset
for help on using the changeset viewer.