Enrollment
28.2.0
Theme:
Default
Robot
Toggle main menu visibility
Loading...
Searching...
No Matches
FaceCaptureDeviceTypeID.h
Go to the documentation of this file.
1
9
10
#pragma once
11
#include "enrollment/Export.h"
12
#include <ostream>
13
14
namespace
inno
15
{
23
*/
24
class
FaceCaptureDeviceTypeID
25
{
26
public
:
31
*/
32
explicit
FaceCaptureDeviceTypeID
(
unsigned
int
i)
33
{
34
if
(i > MaxID)
35
{
36
id
= UnknownID;
37
}
38
else
39
{
40
id
= i;
41
}
42
}
45
*/
46
explicit
operator
unsigned
int()
const
47
{
48
return
id;
49
}
50
51
bool
operator==(
const
FaceCaptureDeviceTypeID
& other)
const
52
{
53
return
id
== other.id;
54
}
55
56
FaceCaptureDeviceTypeID() =
default
;
57
~FaceCaptureDeviceTypeID() =
default
;
58
FaceCaptureDeviceTypeID(
const
FaceCaptureDeviceTypeID&) =
default
;
59
FaceCaptureDeviceTypeID(FaceCaptureDeviceTypeID&&) =
default
;
60
FaceCaptureDeviceTypeID& operator=(
const
FaceCaptureDeviceTypeID&) =
default
;
61
FaceCaptureDeviceTypeID& operator=(FaceCaptureDeviceTypeID&&) =
default
;
62
63
private
:
64
static
constexpr
unsigned
int
MaxID = (1U << 16U) - 1;
65
static
constexpr
unsigned
int
UnknownID = 0;
66
unsigned
int
id
= UnknownID;
67
};
68
}
// namespace inno
FaceCaptureDeviceTypeID
Capture device type identifier The capture device type identifier shall identify the biometric organi...
Definition
FaceCaptureDeviceTypeID.h:24
FaceCaptureDeviceTypeID::FaceCaptureDeviceTypeID
FaceCaptureDeviceTypeID(unsigned int i)
Construct a new Face Capture Equipment ID.
Definition
FaceCaptureDeviceTypeID.h:31
Face
FaceAttributes
FaceCaptureDeviceTypeID.h
Generated by
1.17.0