Portuguese eID Middleware SDK  Version: 3.12.0
eIDMW::PTEID_Photo Class Reference

#include <eidlib.h>

Public Member Functions

virtual PTEIDSDK_API ~PTEID_Photo ()
 
PTEIDSDK_API PTEID_ByteArraygetphotoRAW ()
 
PTEIDSDK_API PTEID_ByteArraygetphoto ()
 
- Public Member Functions inherited from eIDMW::PTEID_Object
virtual PTEIDSDK_API ~PTEID_Object ()=0
 
NOEXPORT_PTEIDSDK void Init (const SDK_Context *context, void *impl)
 
NOEXPORT_PTEIDSDK void Release ()
 

Additional Inherited Members

- Protected Member Functions inherited from eIDMW::PTEID_Object
 PTEID_Object (const SDK_Context *context, void *impl)
 
void addObject (PTEID_Object *impl)
 
void backupObject (unsigned long idx)
 
PTEID_ObjectgetObject (unsigned long idx)
 
PTEID_ObjectgetObject (void *impl)
 
void delObject (unsigned long idx)
 
void delObject (void *impl)
 
void checkContextStillOk () const
 
 PTEID_Object (const PTEID_Object &obj)
 
PTEID_Objectoperator= (const PTEID_Object &obj)
 
- Protected Attributes inherited from eIDMW::PTEID_Object
bool m_delimpl
 
void * m_impl
 
unsigned long m_ulIndexExtAdd
 
std::map< unsigned long, PTEID_Object * > m_objects
 
SDK_Context * m_context
 

Detailed Description

Class that represents the Citizen photograph stored in a pteid card

Constructor & Destructor Documentation

◆ ~PTEID_Photo()

virtual PTEIDSDK_API eIDMW::PTEID_Photo::~PTEID_Photo ( )
virtual

Destructor

Member Function Documentation

◆ getphoto()

PTEIDSDK_API PTEID_ByteArray& eIDMW::PTEID_Photo::getphoto ( )

Retrieve the byte contents of the photo converted to PNG format for maximum compatibility

◆ getphotoRAW()

PTEIDSDK_API PTEID_ByteArray& eIDMW::PTEID_Photo::getphotoRAW ( )

Retrieve the byte contents of the photo as stored in the card in JPEG-2000 format