IDLive Face C++ API 1.46.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
facesdk::StatusInfo Struct Reference

Result status info. Contains the same info as FaceException. More...

#include <facesdk/Common.h>

Public Member Functions

 StatusInfo (const facesdk::FaceException &e)
 
 StatusInfo (std::string message, facesdk::FaceException::STATUS code)
 
bool ok () const
 Checks if status is OK.
 

Public Attributes

std::string message
 Status message.
 
facesdk::FaceException::STATUS code = facesdk::FaceException::STATUS::OK
 Status code.
 

Friends

std::ostream & operator<< (std::ostream &os, const StatusInfo &status)
 

Detailed Description

Result status info. Contains the same info as FaceException.

Member Function Documentation

◆ ok()

bool facesdk::StatusInfo::ok ( ) const
inline

Checks if status is OK.

Returns
True if status is OK, false otherwise