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

International Labour Organisation Seafarers Identity Document template. More...

#include <ILOSIDTemplate.h>

Collaboration diagram for ILOSIDTemplate:

Public Member Functions

std::vector< uint8_t > GetData () const
 Provides template data.
 ILOSIDTemplate (std::vector< uint8_t > &&d)
 Create ILOSIDTemplate object move data to template.
 ILOSIDTemplate (const std::vector< uint8_t > &d)
 Create ILOSIDTemplate object, copy data to template.
void WriteTo (Writer &writer) const final
 Write itself into writer.

Detailed Description

International Labour Organisation Seafarers Identity Document template.

The template contains data compliant with the format specified in Seafarers Identity Documents convention (Revised), 2003 (No. 185) in Annex B [3].

Constructor & Destructor Documentation

◆ ILOSIDTemplate() [1/2]

ILOSIDTemplate ( std::vector< uint8_t > && d)
inlineexplicit

Create ILOSIDTemplate object move data to template.

Parameters
dtemplate data
Exceptions
InvalidTemplateExceptionwhen template data are empty

◆ ILOSIDTemplate() [2/2]

ILOSIDTemplate ( const std::vector< uint8_t > & d)
inlineexplicit

Create ILOSIDTemplate object, copy data to template.

Parameters
dtemplate data
Exceptions
InvalidTemplateExceptionwhen template data are empty

Member Function Documentation

◆ GetData()

std::vector< uint8_t > GetData ( ) const
inlinenodiscard

Provides template data.

Returns
template data

Referenced by ANSITemplateAdapter::Adapt(), ISOCCTemplateAdapter::Adapt(), ISONCTemplateAdapter::Adapt(), and ISOTemplateAdapter::Adapt().

Here is the caller graph for this function:

◆ WriteTo()

void WriteTo ( Writer & writer) const
inlinefinalvirtual

Write itself into writer.

Parameters
writerWriter to use to serialize this Serializable

Implements Serializable.


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