std::string compare @param case_sensitive true If we compare the std::string with case sensitively
| 798 | // std::string compare |
| 799 | // @param case_sensitive true If we compare the std::string with case sensitively |
| 800 | static bool Equals(const std::string& str1, const std::string& str2, bool case_sensitive = true) |
| 801 | { |
| 802 | if (case_sensitive) |
| 803 | { |
| 804 | return (str1 == str2) ? true : false; |
| 805 | } |
| 806 | else |
| 807 | { |
| 808 | return EqualsIgnoreCase(str1, str2); |
| 809 | } |
| 810 | } |
| 811 | |
| 812 | // @brief std::string compare ignoring case sensitively |
| 813 | static bool EqualsIgnoreCase(const std::string& str1, const std::string& str2) |
nothing calls this directly
no outgoing calls
no test coverage detected