6 #ifndef UTILS_EXT_CEGUI_H 7 #define UTILS_EXT_CEGUI_H 8 #include <CEGUI/CEGUI.h> 9 #include <Utils/ExtSTD.h> 15 inline bool IsASCII(
const CEGUI::String &str)
17 return str.length() == str.utf8_stream_len();
21 inline bool AreAllASCII(
const std::vector<CEGUI::String> &strings)
auto AllOf(const C &container, const P &Predicate) -> bool
Simplified wrapper for std::all_of.
Definition: ExtSTD.h:841
bool AreAllASCII(const std::vector< CEGUI::String > &strings)
Check Multiple CEGUI Strings for non-ASCII characters.
Definition: ExtCEGUI.h:21
bool IsASCII(const CEGUI::String &str)
Check CEGUI String for non-ASCII characters.
Definition: ExtCEGUI.h:15
Extensions to the CEGUI library.
Definition: ExtCEGUI.h:12