Main MRPT website > C++ reference for MRPT 1.9.9
Macros | Functions
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.

◆ MASK3BYTES

#define MASK3BYTES   0xE0

Definition at line 59 of file string_utils.cpp.

◆ 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.

◆ MASKBYTE

#define MASKBYTE   0x80

Definition at line 57 of file string_utils.cpp.

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.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST