Diligent Engine  v.2.4.g
Namespaces | Functions
StringTools.hpp File Reference
#include <string>
#include <sstream>
#include <locale>
#include <algorithm>
#include <cctype>
#include <string.h>
#include "../../Platforms/Basic/interface/DebugUtilities.hpp"

Go to the source code of this file.

Namespaces

 Diligent
 The library uses Direct3D-style math:
 

Functions

std::string Diligent::NarrowString (const std::wstring &WideStr)
 
std::string Diligent::NarrowString (const wchar_t *WideStr)
 
std::wstring Diligent::WidenString (const char *Str)
 
std::wstring Diligent::WidenString (const std::string &Str)
 
int Diligent::StrCmpNoCase (const char *Str1, const char *Str2, size_t NumChars)
 
int Diligent::StrCmpNoCase (const char *Str1, const char *Str2)
 
bool Diligent::StreqSuff (const char *RefStr, const char *Str, const char *Suff, bool NoSuffixAllowed=false)
 
void Diligent::StrToLowerInPlace (std::string &str)
 
std::string Diligent::StrToLower (std::string str)
 
bool Diligent::IsNum (char c)
 
size_t Diligent::CountFloatNumberChars (const char *str)
 Returns the number of chararcters at the beginning of the string that form a floating point number. More...