|
Enrollment 28.2.0
|
Holds various biometric representation types for print. More...
#include <PrintTemplate.h>
Public Member Functions | |
| std::shared_ptr< ICSTemplate > | GetICSRepresentation () const |
| Provides ICS (Innovatrics proprietary extracted template) representation of print. | |
| std::shared_ptr< EmbeddingTemplate > | GetEmbeddingRepresentation () const |
| Retrieves the embedding representation associated with the object. | |
| bool | HasIcsRepresentation () const |
| Checks if the object has an ICS representation. | |
| bool | HasEmbeddingRepresentation () const |
| Checks if the object has an embedding representation. | |
| void | WriteTo (Writer &writer) const final |
| It serializes applicant print via provided Writer. | |
| PrintTemplate (std::shared_ptr< ICSTemplate > icsTemplate) | |
| Constructs an PrintTemplate object with the provided ICSTemplate. | |
| PrintTemplate (std::shared_ptr< ICSTemplate > icsTemplate, std::shared_ptr< EmbeddingTemplate > embedding) | |
| Constructs an PrintTemplate object with the provided ICSTemplate and embedding. | |
| PrintTemplate (std::shared_ptr< EmbeddingTemplate > embedding) | |
| Constructs an PrintTemplate object with the provided embedding. | |
Static Public Member Functions | |
| static std::vector< std::shared_ptr< ICSTemplate > > | ToICSTemplates (const std::vector< std::shared_ptr< PrintTemplate > > &templates) |
| Converts a PrintTemplate objects into a ICSTemplate objects. | |
| static std::vector< std::shared_ptr< EmbeddingTemplate > > | ToEmbeddingTemplates (const std::vector< std::shared_ptr< PrintTemplate > > &templates) |
| Converts a PrintTemplate objects into an EmbeddingTemplate objects. | |
Holds various biometric representation types for print.
|
inlineexplicit |
Constructs an PrintTemplate object with the provided ICSTemplate.
This constructor initializes an PrintTemplate object with the given ICSTemplate.
| icsTemplate | A shared pointer to the ICSTemplate object to be associated with the PrintTemplate. |
| NullArgumentException | Thrown if the provided ICSTemplate pointer is null. |
|
inline |
Constructs an PrintTemplate object with the provided ICSTemplate and embedding.
This constructor initializes an PrintTemplate object with the given ICSTemplate and EmbeddingTemplate.
| icsTemplate | A shared pointer to the ICSTemplate object to be associated with the PrintTemplate. |
| embedding | A shared pointer to the EmbeddingTemplate object to be associated with the PrintTemplate. |
| NullArgumentException | if the provided ICSTemplate pointer is null. |
| NullArgumentException | if the provided EmbeddingTemplate pointer is null. |
| EnrollmentInvalidArgumentException | if ICS template and Embedding positions are different. |
|
inlineexplicit |
Constructs an PrintTemplate object with the provided embedding.
This constructor initializes an PrintTemplate object with the given EmbeddingTemplate.
| embedding | A shared pointer to the EmbeddingTemplate object to be associated with the PrintTemplate. |
| NullArgumentException | if the provided EmbeddingTemplate pointer is null. |
|
inlinenodiscard |
Retrieves the embedding representation associated with the object.
This function retrieves the embedding representation associated with the object.
|
inlinenodiscard |
Provides ICS (Innovatrics proprietary extracted template) representation of print.
Referenced by ANSITemplateAdapter::Adapt(), ILOSIDTemplateAdapter::Adapt(), ISOCCTemplateAdapter::Adapt(), ISONCTemplateAdapter::Adapt(), and ISOTemplateAdapter::Adapt().
|
inlinenodiscard |
Checks if the object has an embedding representation.
This function checks whether the object has an embedding representation associated with it.
|
inlinenodiscard |
Checks if the object has an ICS representation.
This function checks whether the object has an Innovatrics' proprietary representation associated with it.
|
inlinestatic |
Converts a PrintTemplate objects into an EmbeddingTemplate objects.
This function takes a PrintTemplate objects and converts each element into an EmbeddingTemplate object, then returns a EmbeddingTemplate objects. When PrintTemplate does not contain EmbeddingTemplate then null is provided.
| templates | A PrintTemplate objects to be converted. |
Referenced by ModalitiesEmbeddingVerifyMatcher::MatchPrints().
|
inlinestatic |
Converts a PrintTemplate objects into a ICSTemplate objects.
This function takes a PrintTemplate objects and converts each element into an ICSTemplate object, then returns a ICSTemplate objects.
| templates | A PrintTemplate objects to be converted. When PrintTemplate does not contain ICSTemplate then null is provided. |
Referenced by ModalitiesVerifyMatcher::MatchPrints(), and ModalitiesTemplate::ToModalitiesICSTemplate().
|
inlinefinalvirtual |
It serializes applicant print via provided Writer.
| writer | used to serialize PrintTemplate. |
Implements Serializable.