Enrollment
28.2.0
Theme:
Default
Robot
Toggle main menu visibility
Loading...
Searching...
No Matches
PrintCaptureDeviceTypeID.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
PrintCaptureDeviceTypeID
25
{
26
public
:
31
*/
32
explicit
PrintCaptureDeviceTypeID
(
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
PrintCaptureDeviceTypeID
& other)
const
52
{
53
return
id
== other.id;
54
}
55
56
PrintCaptureDeviceTypeID() =
default
;
57
~PrintCaptureDeviceTypeID() =
default
;
58
PrintCaptureDeviceTypeID(
const
PrintCaptureDeviceTypeID&) =
default
;
59
PrintCaptureDeviceTypeID(PrintCaptureDeviceTypeID&&) =
default
;
60
PrintCaptureDeviceTypeID& operator=(
const
PrintCaptureDeviceTypeID&) =
default
;
61
PrintCaptureDeviceTypeID& operator=(PrintCaptureDeviceTypeID&&) =
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
PrintCaptureDeviceTypeID
Capture device type identifier The capture device type identifier shall identify the biometric organi...
Definition
PrintCaptureDeviceTypeID.h:24
PrintCaptureDeviceTypeID::PrintCaptureDeviceTypeID
PrintCaptureDeviceTypeID(unsigned int i)
Construct a new Print Capture Equipment ID.
Definition
PrintCaptureDeviceTypeID.h:31
Print
PrintAttributes
PrintCaptureDeviceTypeID.h
Generated by
1.17.0