LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
topazlocation.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_TOPAZLOCATION_HPP
8#define LOGICALACCESS_TOPAZLOCATION_HPP
9
11#include <logicalaccess/plugins/cards/topaz/lla_cards_topaz_api.hpp>
12
13namespace logicalaccess
14{
18class LLA_CARDS_TOPAZ_API TopazLocation : public Location
19{
20 public:
25
29 virtual ~TopazLocation();
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 "Topaz";
56 }
57
63 bool operator==(const Location &location) const override;
64
68 int page;
69
73 int byte_;
74};
75}
76
77#endif /* LOGICALACCESS_TOPAZLOCATION_HPP */
A location informations.
Definition: location.hpp:19
A Topaz location informations.
Definition: topazlocation.hpp:19
std::string getCardType() override
Get the card type for this location.
Definition: topazlocation.hpp:53
int byte_
The byte.
Definition: topazlocation.hpp:73
int page
The sector.
Definition: topazlocation.hpp:68
Location.
Definition: asn1.hpp:9