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_CORE_STRING_HPP
2
#define OPENPOSE_CORE_STRING_HPP
3
4
#include <memory>
// std::shared_ptr
5
#include <string>
6
#include <
openpose/core/macros.hpp
>
7
8
namespace
op
9
{
14
class
OP_API
String
15
{
16
public
:
17
String
();
18
24
String
(
const
char
* charPtr);
25
29
explicit
String
(
const
std::string&
string
);
30
31
const
std::string&
getStdString
()
const
;
32
33
bool
empty
()
const
;
34
35
private
:
36
// PIMPL idiom
37
// http://www.cppsamples.com/common-tasks/pimpl.html
38
struct
ImplString;
39
std::shared_ptr<ImplString> spImpl;
40
};
41
}
42
43
#endif
// OPENPOSE_CORE_STRING_HPP
op::String
Definition:
string.hpp:15
op::String::String
String(const std::string &string)
op::String::String
String()
op::String::getStdString
const std::string & getStdString() const
op::String::String
String(const char *charPtr)
op::String::empty
bool empty() const
macros.hpp
OP_API
#define OP_API
Definition:
macros.hpp:18
op
Definition:
cameraParameterReader.hpp:7
include
openpose
core
string.hpp
Generated by
1.9.1