nndeploy C++ API  0.2.0
nndeploy C++ API
Namespaces | Functions
string.h File Reference
#include <functional>
#include "nndeploy/base/common.h"
#include "nndeploy/base/glic_stl_include.h"
#include "nndeploy/base/macro.h"
Include dependency graph for string.h:

Go to the source code of this file.

Namespaces

 nndeploy
 
 nndeploy::base
 

Functions

std::string nndeploy::base::getUniqueString ()
 
bool nndeploy::base::isAlpha (char c)
 Inline implementation of isAlpha(). Tests whether the given character is an alphabet letter. More...
 
bool nndeploy::base::isBlank (char c)
 Inline implementation of isBlank(). Tests whether the given character is a space or tab character. More...
 
bool nndeploy::base::isDigit (char c)
 Inline implementation of isDigit(). Tests whether the given character is a decimal digit. More...
 
bool nndeploy::base::isDigitchars (char c)
 Tests whether the given character is a valid letter in the string representation of a floating-point value, i.e. decimal digits, signs (+/-), decimal point (.), or exponent marker (e/E). More...
 
bool nndeploy::base::isNumeric (const std::string &str)
 
bool nndeploy::base::isSpace (char c)
 Inline implementation of isSpace(). Tests whether the given character is a whitespace letter. More...
 
template<typename T >
void nndeploy::base::printData (T *data, base::IntVector &shape, std::ostream &stream=std::cout)
 
template<typename T >
void nndeploy::base::printData (T *data, size_t size, std::ostream &stream=std::cout)
 
std::vector< std::string > nndeploy::base::splitString (const std::string &str, const std::string &spstr)
 
std::wstring nndeploy::base::stringToWstring (const std::string &str)
 
template<typename T >
std::string nndeploy::base::toString (T value)
 
std::string nndeploy::base::ucharToString (const unsigned char *buffer, int length)
 
template<typename T >
std::string nndeploy::base::vectorToString (std::vector< T > val)
 
std::string nndeploy::base::wstringToString (const std::wstring &wstr)