OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
string.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_UTILITIES_STRING_HPP
2 #define OPENPOSE_UTILITIES_STRING_HPP
3 
5 
6 namespace op
7 {
8  OP_API unsigned long long getLastNumber(const std::string& string);
9 
17  template<typename T>
18  std::string toFixedLengthString(const T number, const unsigned long long stringLength = 0);
19 
20  OP_API std::vector<std::string> splitString(const std::string& stringToSplit, const std::string& delimiter);
21 
22  OP_API std::string toLower(const std::string& string);
23 
24  OP_API std::string toUpper(const std::string& string);
25 
26  OP_API std::string remove0sFromString(const std::string& string);
27 
28  OP_API std::string getFirstNumberOnString(const std::string& string);
29 }
30 
31 #endif // OPENPOSE_UTILITIES_STRING_HPP
#define OP_API
Definition: macros.hpp:18
OP_API std::string remove0sFromString(const std::string &string)
OP_API std::string toLower(const std::string &string)
std::string toFixedLengthString(const T number, const unsigned long long stringLength=0)
OP_API std::string toUpper(const std::string &string)
OP_API std::string getFirstNumberOnString(const std::string &string)
OP_API unsigned long long getLastNumber(const std::string &string)
OP_API std::vector< std::string > splitString(const std::string &stringToSplit, const std::string &delimiter)