23 #include "rtabmap/utilite/utilite_export.h"
51 std::string UTILITE_EXPORT
uReplaceChar(
const std::string &
str,
char before,
char after);
67 std::string UTILITE_EXPORT
uReplaceChar(
const std::string &
str,
char before,
const std::string & after);
100 std::string UTILITE_EXPORT
uNumber2Str(
unsigned int number);
106 std::string UTILITE_EXPORT
uNumber2Str(
int number);
125 int UTILITE_EXPORT
uStr2Int(
const std::string &
str);
148 std::string UTILITE_EXPORT
uBool2Str(
bool boolean);
164 std::vector<unsigned char> UTILITE_EXPORT
uStr2Bytes(
const std::string &
str);
171 std::string UTILITE_EXPORT
uBytes2Str(
const std::vector<unsigned char> &
bytes);
188 std::string UTILITE_EXPORT
uBytes2Hex(
const char *
bytes,
unsigned int bytesLen);
203 std::vector<char> UTILITE_EXPORT
uHex2Bytes(
const std::string & hex);
218 std::vector<char> UTILITE_EXPORT
uHex2Bytes(
const char * hex,
int hexLen);
236 std::string UTILITE_EXPORT
uHex2Str(
const std::string & hex);
250 unsigned char UTILITE_EXPORT
uHex2Ascii(
const unsigned char & c,
bool rightPart);
264 unsigned char UTILITE_EXPORT
uAscii2Hex(
const unsigned char & c);
269 std::string UTILITE_EXPORT
uFormatv (
const char *fmt, va_list ap);
274 std::string UTILITE_EXPORT
uFormat (
const char *fmt, ...);
281 UTILITE_EXPORT
wchar_t * createWCharFromChar(
const char * text);
287 UTILITE_EXPORT
char * createCharFromWChar(
const wchar_t * wText);