OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
op::JsonOfstream Class Reference

#include <jsonOfstream.hpp>

Public Member Functions

 JsonOfstream (const std::string &filePath, const bool humanReadable=true)
 
 JsonOfstream (JsonOfstream &&jsonOfstream)
 
JsonOfstreamoperator= (JsonOfstream &&jsonOfstream)
 
virtual ~JsonOfstream ()
 
void objectOpen ()
 
void objectClose ()
 
void arrayOpen ()
 
void arrayClose ()
 
void version (const std::string &version)
 
void key (const std::string &string)
 
template<typename T >
void plainText (const T &value)
 
void comma ()
 
void enter ()
 

Detailed Description

Definition at line 9 of file jsonOfstream.hpp.

Constructor & Destructor Documentation

◆ JsonOfstream() [1/2]

op::JsonOfstream::JsonOfstream ( const std::string &  filePath,
const bool  humanReadable = true 
)
explicit

◆ JsonOfstream() [2/2]

op::JsonOfstream::JsonOfstream ( JsonOfstream &&  jsonOfstream)

Move constructor. It destroys the original JsonOfstream to be moved.

Parameters
arrayJsonOfstream to be moved.

◆ ~JsonOfstream()

virtual op::JsonOfstream::~JsonOfstream ( )
virtual

Member Function Documentation

◆ arrayClose()

void op::JsonOfstream::arrayClose ( )

◆ arrayOpen()

void op::JsonOfstream::arrayOpen ( )

◆ comma()

void op::JsonOfstream::comma ( )
inline

Definition at line 49 of file jsonOfstream.hpp.

◆ enter()

void op::JsonOfstream::enter ( )

◆ key()

void op::JsonOfstream::key ( const std::string &  string)

◆ objectClose()

void op::JsonOfstream::objectClose ( )

◆ objectOpen()

void op::JsonOfstream::objectOpen ( )

◆ operator=()

JsonOfstream& op::JsonOfstream::operator= ( JsonOfstream &&  jsonOfstream)

Move assignment. Similar to JsonOfstream(JsonOfstream&& jsonOfstream).

Parameters
arrayJsonOfstream to be moved.
Returns
The resulting JsonOfstream.

◆ plainText()

template<typename T >
void op::JsonOfstream::plainText ( const T &  value)
inline

Definition at line 44 of file jsonOfstream.hpp.

◆ version()

void op::JsonOfstream::version ( const std::string &  version)

The documentation for this class was generated from the following file: