Logo Search packages:      
Sourcecode: beid version File versions  Download package

BEID_ForeignerCard & eIDMW::BEID_ReaderContext::getForeignerCard (  ) 

Get the ForeignerCard in the reader.

If no card is present in the reader, exception BEID_ExNoCardPresent is thrown If the card is not a ForeignerCard, exception BEID_ExCardBadType is thrown.

Definition at line 777 of file eidlibReader.cpp.

References getCard(), and eIDMW::BEID_Object::m_impl.


      APL_ReaderContext *pimpl=static_cast<APL_ReaderContext *>(m_impl);
            throw BEID_ExCardBadType();


      BEID_Card &card = getCard();
      return *dynamic_cast<BEID_ForeignerCard *>(&card);

Generated by  Doxygen 1.6.0   Back to index