OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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  OP_API 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 
27 #endif // OPENPOSE_UTILITIES_STRING_HPP
OP_API std::string toFixedLengthString(const T number, const unsigned long long stringLength=0)
OP_API std::string toLower(const std::string &string)
OP_API unsigned long long getLastNumber(const std::string &string)
OP_API std::string toUpper(const std::string &string)
#define OP_API
Definition: macros.hpp:15
std::string string
Definition: cl2.hpp:574
OP_API std::vector< std::string > splitString(const std::string &stringToSplit, const std::string &delimiter)