LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
mifareultralightlocation.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_MIFAREULTRALIGHTLOCATION_HPP
8#define LOGICALACCESS_MIFAREULTRALIGHTLOCATION_HPP
9
11#include <logicalaccess/plugins/cards/mifareultralight/lla_cards_mifareultralight_api.hpp>
12
13namespace logicalaccess
14{
18class LLA_CARDS_MIFAREULTRALIGHT_API MifareUltralightLocation : public Location
19{
20 public:
25
30
35 void serialize(boost::property_tree::ptree &parentNode) override;
36
41 void unSerialize(boost::property_tree::ptree &node) override;
42
47 std::string getDefaultXmlNodeName() const override;
48
53 std::string getCardType() override
54 {
55 return "MifareUltralight";
56 }
57
63 bool operator==(const Location &location) const override;
64
68 int page;
69
73 int byte_;
74};
75}
76
77#endif /* LOGICALACCESS_MIFAREULTRALIGHTLOCATION_HPP */
A location informations.
Definition: location.hpp:19
A Mifare Ultralight location informations.
Definition: mifareultralightlocation.hpp:19
int byte_
The byte.
Definition: mifareultralightlocation.hpp:73
std::string getCardType() override
Get the card type for this location.
Definition: mifareultralightlocation.hpp:53
int page
The sector.
Definition: mifareultralightlocation.hpp:68
Location.
Definition: asn1.hpp:9