YobeSDK  0.2.0
Yobe::BiometricTemplate Struct Referenceabstract

This struct is used to store biometric data of a user. More...

#include <yobe_biometric_template.hpp>

Public Member Functions

 BiometricTemplate (const BiometricTemplate &)=default
 
 BiometricTemplate (BiometricTemplate &&) noexcept=default
 
BiometricTemplateoperator= (const BiometricTemplate &)=default
 
BiometricTemplateoperator= (BiometricTemplate &&) noexcept=default
 
virtual bool IsValid () const =0
 Determines if the BiometricTemplate object is valid. More...
 
virtual void Serialize (std::ostream &out_stream) const =0
 Serializes the BiometricTemplate object. This can be used to save the object for later. More...
 

Static Public Member Functions

static std::shared_ptr< BiometricTemplateDeserialize (std::istream &in_stream)
 Deserializes the BiometricTemplate object. This can be used to read a saved object from a stream. More...
 

Detailed Description

This struct is used to store biometric data of a user.

Member Function Documentation

◆ IsValid()

virtual bool Yobe::BiometricTemplate::IsValid ( ) const
pure virtual

Determines if the BiometricTemplate object is valid.

Returns
True if the object is valid, false otherwise.

◆ Serialize()

virtual void Yobe::BiometricTemplate::Serialize ( std::ostream &  out_stream) const
pure virtual

Serializes the BiometricTemplate object. This can be used to save the object for later.

Parameters
out_streamThe stream to which the object will be written.

◆ Deserialize()

static std::shared_ptr<BiometricTemplate> Yobe::BiometricTemplate::Deserialize ( std::istream &  in_stream)
static

Deserializes the BiometricTemplate object. This can be used to read a saved object from a stream.

Parameters
in_streamThe stream from which to read the object.
Returns
A shared pointer to the newly created BiometricTemplate object.

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