OpenPose
1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
|
#include <string.hpp>
Public Member Functions | |
String () | |
String (const char *charPtr) | |
String (const std::string &string) | |
const std::string & | getStdString () const |
bool | empty () const |
String: Basic container for std::string to avoid std::string in the WrapperStructXXX classes. Otherwise, cryptic runtime DLL errors could occur when exporting OpenPose to other projects using different STL DLLs.
Definition at line 14 of file string.hpp.
op::String::String | ( | ) |
op::String::String | ( | const char * | charPtr | ) |
It will force a copy of the char* of std::string to avoid DLL runtime errors. Example usages: std::string stdString = "This is a std::string"; String string(stdString.c_str());
|
explicit |
It will force a copy of string
bool op::String::empty | ( | ) | const |
const std::string& op::String::getStdString | ( | ) | const |