MRPT  1.9.9
string_utils.cpp File Reference
#include "system-precomp.h"
#include <mrpt/core/format.h>
#include <mrpt/system/os.h>
#include <mrpt/system/string_utils.h>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <deque>
#include <vector>
Include dependency graph for string_utils.cpp:

Go to the source code of this file.

Macros

#define MASKBITS   0x3F
 
#define MASKBYTE   0x80
 
#define MASK2BYTES   0xC0
 
#define MASK3BYTES   0xE0
 
#define MASK4BYTES   0xF0
 
#define MASK5BYTES   0xF8
 
#define MASK6BYTES   0xFC
 

Functions

template void mrpt::system::tokenize< std::deque< std::string > > (const std::string &inString, const std::string &inDelimiters, std::deque< std::string > &outTokens, bool skipBlankTokens) noexcept
 
template void mrpt::system::tokenize< std::vector< std::string > > (const std::string &inString, const std::string &inDelimiters, std::vector< std::string > &outTokens, bool skipBlankTokens) noexcept
 
template<typename STRING_LIST >
static void impl_stringListAsString (const STRING_LIST &lst, std::string &outText, const std::string &newline)
 

Macro Definition Documentation

◆ MASK2BYTES

#define MASK2BYTES   0xC0

Definition at line 58 of file string_utils.cpp.

Referenced by mrpt::system::decodeUTF8(), and mrpt::system::encodeUTF8().

◆ MASK3BYTES

#define MASK3BYTES   0xE0

Definition at line 59 of file string_utils.cpp.

Referenced by mrpt::system::decodeUTF8().

◆ MASK4BYTES

#define MASK4BYTES   0xF0

Definition at line 60 of file string_utils.cpp.

◆ MASK5BYTES

#define MASK5BYTES   0xF8

Definition at line 61 of file string_utils.cpp.

◆ MASK6BYTES

#define MASK6BYTES   0xFC

Definition at line 62 of file string_utils.cpp.

◆ MASKBITS

#define MASKBITS   0x3F

Definition at line 56 of file string_utils.cpp.

Referenced by mrpt::system::decodeUTF8(), and mrpt::system::encodeUTF8().

◆ MASKBYTE

#define MASKBYTE   0x80

Definition at line 57 of file string_utils.cpp.

Referenced by mrpt::system::decodeUTF8(), and mrpt::system::encodeUTF8().

Function Documentation

◆ impl_stringListAsString()

template<typename STRING_LIST >
static void impl_stringListAsString ( const STRING_LIST &  lst,
std::string outText,
const std::string newline 
)
static

Definition at line 329 of file string_utils.cpp.

References mrpt::system::os::memcpy().

Referenced by mrpt::system::stringListAsString().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mrpt::system::tokenize< std::deque< std::string > >()

template void mrpt::system::tokenize< std::deque< std::string > > ( const std::string inString,
const std::string inDelimiters,
std::deque< std::string > &  outTokens,
bool  skipBlankTokens 
)
noexcept

◆ mrpt::system::tokenize< std::vector< std::string > >()

template void mrpt::system::tokenize< std::vector< std::string > > ( const std::string inString,
const std::string inDelimiters,
std::vector< std::string > &  outTokens,
bool  skipBlankTokens 
)
noexcept



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019