RigsofRods
Soft-body Physics Simulation
Data Structures | Namespaces | Functions
Utils.h File Reference
#include "Application.h"
#include "utf8/checked.h"
#include "utf8/unchecked.h"
#include <MyGUI.h>
#include <OgreUTFString.h>
+ Include dependency graph for Utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  RoR::World2ScreenConverter
 < Keeps data close for faster access. More...
 

Namespaces

 RoR
 

Functions

Ogre::String RoR::sha1sum (const char *key, int len)
 
Ogre::String RoR::HashData (const char *key, int len)
 
Ogre::UTFString RoR::tryConvertUTF (const char *buffer)
 
Ogre::UTFString RoR::formatBytes (double bytes)
 
std::time_t RoR::getTimeStamp ()
 
Ogre::String RoR::getVersionString (bool multiline=true)
 
void RoR::replaceString (std::string &str, std::string searchString, std::string replaceString)
 
Ogre::Real RoR::Round (Ogre::Real value, unsigned short ndigits=0)
 
std::string RoR::SanitizeUtf8String (std::string const &str_in)
 
std::string RoR::SanitizeUtf8CString (const char *start, const char *end=nullptr)
 
std::string & RoR::TrimStr (std::string &s)
 
std::string RoR::Sha1Hash (std::string const &data)
 
std::string RoR::JoinStrVec (Ogre::StringVector tokens, const std::string &delim)
 
template<class T , class A , class Predicate >
void RoR::EraseIf (std::vector< T, A > &c, Predicate pred)
 
bool RoR::IsDistanceWithin (Ogre::Vector3 const &a, Ogre::Vector3 const &b, float max)
 
std::string RoR::PrintMeshInfo (std::string const &title, Ogre::MeshPtr mesh)
 
void RoR::CvarAddFileToList (CVar *cvar, const std::string &filename)
 
void RoR::CvarRemoveFileFromList (CVar *cvar, const std::string &filename)
 

Detailed Description

Author
Thomas Fischer thomas{AT}thomasfischer{DOT}biz
Date
9th of August 2009

Definition in file Utils.h.