35 #ifndef _DisplayStringConversions_H__ 36 #define _DisplayStringConversions_H__ 39 #include <OgrePrerequisites.h> 40 #if OGRE_VERSION >= 0x010900 41 # include <Overlay/OgreOverlayElement.h> 43 # include <OgreOverlayElement.h> 46 #if OGRE_UNICODE_SUPPORT 47 #include <OgreUTFString.h> 52 struct ConverterExplicit<
std::
string, Ogre::DisplayString>
57 Ogre::UTFString::code_point cp;
58 for (
const char& character : input)
62 output->append(1, cp);
::std::string string
Definition: gtest-port.h:756
Default template if no orxonox::ConverterExplicit is available.
Definition: Convert.h:308
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Shared library macros, enums, constants and forward declarations for the util library ...
static bool convert(Ogre::DisplayString *output, const std::string &input)
Converts an std::string into an Ogre::String.
Definition: DisplayStringConversions.h:75
static ORX_FORCEINLINE bool convert(ToType *output, const FromType &input)
Definition: Convert.h:311