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

#include <eidlib.h>

Public Member Functions

virtual PTEIDSDK_API ~PTEID_Pins ()
 
PTEIDSDK_API unsigned long count ()
 
PTEIDSDK_API PTEID_PingetPinByNumber (unsigned long ulIndex)
 
PTEIDSDK_API PTEID_PingetPinByPinRef (unsigned long pinRef)
 
- 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 ()
 

Friends

PTEID_PinsPTEID_SmartCard::getPins ()
 

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

Container class for all pins on the card.

Constructor & Destructor Documentation

◆ ~PTEID_Pins()

virtual PTEIDSDK_API eIDMW::PTEID_Pins::~PTEID_Pins ( )
virtual

Destructor

Member Function Documentation

◆ count()

PTEIDSDK_API unsigned long eIDMW::PTEID_Pins::count ( )

The number of pins on the card

◆ getPinByNumber()

PTEIDSDK_API PTEID_Pin& eIDMW::PTEID_Pins::getPinByNumber ( unsigned long  ulIndex)

Get the pin by its Index. Throw PTEID_ExParamRange exception if the index is out of range.

◆ getPinByPinRef()

PTEIDSDK_API PTEID_Pin& eIDMW::PTEID_Pins::getPinByPinRef ( unsigned long  pinRef)

Get the pin by its pin reference. Throw PTEID_ExParamRange exception if the index is out of range.

Friends And Related Function Documentation

◆ PTEID_SmartCard::getPins

For internal use : This method must access protected constructor