MRPT  1.9.9
string_utils.cpp File Reference
#include "system-precomp.h"
#include <mrpt/system/string_utils.h>
#include <mrpt/system/os.h>
#include <mrpt/core/format.h>
#include <cstring>
#include <vector>
#include <deque>
#include <algorithm>
#include <cmath>
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().

◆ 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: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020