Face Engine SDK  5.8.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fsdk::ResultValue< R, V, Enable > Struct Template Reference

Addon for Result to output some value aside the result. Specialization for copiable types. More...

#include <ResultValue.h>

Inheritance diagram for fsdk::ResultValue< R, V, Enable >:
fsdk::Result< R >

Additional Inherited Members

- Public Types inherited from fsdk::Result< R >
using ErrorType = R
 Result value enumeration type.
 
using Traits = ErrorTraits< R >
 
- Public Member Functions inherited from fsdk::Result< R >
 Result (Rerror) noexcept
 Initializes result. More...
 
 Result () noexcept
 Initializes result by default.
 
getError () const noexcept
 Gets actual result value. More...
 
bool isError () const noexcept
 Checks for an error. More...
 
bool isOk () const noexcept
 Checks for a success. More...
 
 operator bool () const noexcept
 Checks for a success. More...
 
const char * what () const noexcept
 Gets a textual description of the result. More...
 

Detailed Description

template<typename R, typename V, class Enable = void>
struct fsdk::ResultValue< R, V, Enable >

Addon for Result to output some value aside the result. Specialization for copiable types.

Template Parameters
Rresult enumeration type.
Vresult value type.
Note
All rules for Result template parameter aplly to R.
V instance is always held by value despite -> operators.

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