7#ifndef LOGICALACCESS_MIFARESTORAGECARDSERVICE_HPP
8#define LOGICALACCESS_MIFARESTORAGECARDSERVICE_HPP
21#define STORAGECARDSERVICE_MIFARE "MifareStorage"
50 void erase(std::shared_ptr<Location> location,
51 std::shared_ptr<AccessInfo> aiToUse)
override;
61 void writeData(std::shared_ptr<Location> location,
62 std::shared_ptr<AccessInfo> aiToUse,
63 std::shared_ptr<AccessInfo> aiToWrite,
const ByteVector &data,
75 ByteVector readData(std::shared_ptr<Location> location,
76 std::shared_ptr<AccessInfo> aiToUse,
size_t length,
87 ByteVector readDataHeader(std::shared_ptr<Location> location,
88 std::shared_ptr<AccessInfo> aiToUse)
override;
97 return std::dynamic_pointer_cast<MifareChip>(getChip());
The Mifare storage card service base class.
Definition: mifarestoragecardservice.hpp:27
std::string getCSType() override
Definition: mifarestoragecardservice.hpp:40
std::shared_ptr< MifareChip > getMifareChip() const
Definition: mifarestoragecardservice.hpp:95
The base storage card service class for all storage services.
Definition: storagecardservice.hpp:30
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
#define STORAGECARDSERVICE_MIFARE
Definition: mifarestoragecardservice.hpp:21
CardBehavior
The card behaviors.
Definition: storagecardservice.hpp:20