Enrollment 28.2.0
Loading...
Searching...
No Matches
ISOTemplateAdapter Class Reference

Adapts Template to ISOTemplate. More...

#include <ISOTemplateAdapter.h>

Collaboration diagram for ISOTemplateAdapter:

Public Types

enum class  Version : uint8_t { VERSION_2 = 0 , VERSION_3 = 1 }
 ISO template version. More...

Public Member Functions

ISOTemplate Adapt (const ANSITemplate &tmpl) const
 Adapts ANSITemplate to ISOTemplate.
ISOTemplate Adapt (const ILOSIDTemplate &tmpl) const
 Adapts ILOSIDTemplate to ISOTemplate.
ISOTemplate Adapt (const ISONCTemplate &tmpl) const
 Adapts ISONCTemplate to ISOTemplate.
ISOTemplate Adapt (const ISOCCTemplate &tmpl) const
 Adapts ISOCCTemplate to ISOTemplate.
ISOTemplate Adapt (const ISOTemplate &tmpl) const
 Adapts ISOTemplate to ISOTemplate.
ISOTemplate Adapt (const ICSTemplate &tmpl) const
 Adapts ICSTemplate to ISOTemplate.
ISOTemplate Adapt (const ExtractedPrint &tmpl) const
 Adapts ExtractedPrint to ISOTemplate.
ISOTemplate Adapt (const PrintTemplate &tmpl) const
 Adapts PrintTemplate to ISOTemplate.
 ISOTemplateAdapter (Version version)
 Creates ISOTemplateAdapter object with GlobalPrintExecutor used to execute template functionality.
 ISOTemplateAdapter (Version version, std::shared_ptr< PrintExecutor > executor)
 Creates ISOTemplateAdapter object.

Detailed Description

Adapts Template to ISOTemplate.

Member Enumeration Documentation

◆ Version

enum class Version : uint8_t
strong

ISO template version.

Enumerator
VERSION_2 

ISO/IEC 19794-2:2005 template, template version 2.0, 6-byte format for minutiae.

VERSION_3 

ISO/IEC 19794-2:2011 template, template version 3.0, 6-byte format for minutiae.

Constructor & Destructor Documentation

◆ ISOTemplateAdapter() [1/2]

ISOTemplateAdapter ( Version version)
inlineexplicit

Creates ISOTemplateAdapter object with GlobalPrintExecutor used to execute template functionality.

Parameters
versionrequested ISO template version

◆ ISOTemplateAdapter() [2/2]

ISOTemplateAdapter ( Version version,
std::shared_ptr< PrintExecutor > executor )
inlineexplicit

Creates ISOTemplateAdapter object.

Parameters
executorPrintExecutor used to execute template functionality.
versionrequested ISO template version
Exceptions
NullArgumentExceptionwhen executor is null

Member Function Documentation

◆ Adapt() [1/8]

ISOTemplate Adapt ( const ANSITemplate & tmpl) const
inlinenodiscard

Adapts ANSITemplate to ISOTemplate.

Parameters
tmpltemplate to adapt
Returns
adapted ISOTemplate
Exceptions
EnrollmentExceptionwhen it is not possible to adapt template

References ANSITemplate::data.

◆ Adapt() [2/8]

ISOTemplate Adapt ( const ExtractedPrint & tmpl) const
inlinenodiscard

Adapts ExtractedPrint to ISOTemplate.

Parameters
tmpltemplate to adapt
Returns
adapted ISOTemplate
Exceptions
EnrollmentExceptionwhen it is not possible to adapt template

References ICSTemplate::icsTemplateData.

◆ Adapt() [3/8]

ISOTemplate Adapt ( const ICSTemplate & tmpl) const
inlinenodiscard

Adapts ICSTemplate to ISOTemplate.

Parameters
tmpltemplate to adapt
Returns
adapted ISOTemplate
Exceptions
EnrollmentExceptionwhen it is not possible to adapt template

References ICSTemplate::icsTemplateData.

◆ Adapt() [4/8]

ISOTemplate Adapt ( const ILOSIDTemplate & tmpl) const
inlinenodiscard

Adapts ILOSIDTemplate to ISOTemplate.

Parameters
tmpltemplate to adapt
Returns
adapted ISOTemplate
Exceptions
EnrollmentExceptionwhen it is not possible to adapt template

References ILOSIDTemplate::GetData().

Here is the call graph for this function:

◆ Adapt() [5/8]

ISOTemplate Adapt ( const ISOCCTemplate & tmpl) const
inlinenodiscard

Adapts ISOCCTemplate to ISOTemplate.

Parameters
tmpltemplate to adapt
Returns
adapted ISOTemplate
Exceptions
EnrollmentExceptionwhen it is not possible to adapt template

References ISOCCTemplate::GetData().

Here is the call graph for this function:

◆ Adapt() [6/8]

ISOTemplate Adapt ( const ISONCTemplate & tmpl) const
inlinenodiscard

Adapts ISONCTemplate to ISOTemplate.

Parameters
tmpltemplate to adapt
Returns
adapted ISOTemplate
Exceptions
EnrollmentExceptionwhen it is not possible to adapt template

References ISONCTemplate::GetData().

Here is the call graph for this function:

◆ Adapt() [7/8]

ISOTemplate Adapt ( const ISOTemplate & tmpl) const
inlinenodiscard

Adapts ISOTemplate to ISOTemplate.

it converts ISO template to template version given in constructor.

Parameters
tmpltemplate to adapt
Returns
adapted ISOTemplate
Exceptions
EnrollmentExceptionwhen it is not possible to adapt template

References ISOTemplate::data.

◆ Adapt() [8/8]

ISOTemplate Adapt ( const PrintTemplate & tmpl) const
inlinenodiscard

Adapts PrintTemplate to ISOTemplate.

Parameters
tmpltemplate to adapt
Returns
adapted ISOTemplate
Exceptions
EnrollmentExceptionwhen it is not possible to adapt template

References PrintTemplate::GetICSRepresentation().

Here is the call graph for this function:

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