All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
utils.cpp File Reference

(2013-03-18 10:33:00 +0900, commit:334d202)

#include "libopenrave.h"
#include <openrave/utils.h>
#include "md5.h"
Include dependency graph for utils.cpp:

Go to the source code of this file.


namespace  OpenRAVE
 The entire OpenRAVE library.
namespace  OpenRAVE::utils


OPENRAVE_API std::string OpenRAVE::utils::GetMD5HashString (const std::string &s)
 compute the md5 hash of a string
OPENRAVE_API std::string OpenRAVE::utils::GetMD5HashString (const std::vector< uint8_t > &v)
 compute the md5 hash of an array
bool OpenRAVE::utils::PairStringLengthCompare (const std::pair< std::string, std::string > &p0, const std::pair< std::string, std::string > &p1)
OPENRAVE_API std::string & OpenRAVE::utils::SearchAndReplace (std::string &out, const std::string &in, const std::vector< std::pair< std::string, std::string > > &pairs)
 search and replace strings for all pairs. Internally first checks the longest strings before the shortest
OPENRAVE_API std::string OpenRAVE::utils::GetFilenameUntilSeparator (std::istream &sinput, char separator)
 gets the string up the next separator and strips it of leading whitespace.