LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
felicalocation.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_FELICALOCATION_HPP
8#define LOGICALACCESS_FELICALOCATION_HPP
9
11#include <logicalaccess/plugins/cards/felica/lla_cards_felica_api.hpp>
12
13namespace logicalaccess
14{
18class LLA_CARDS_FELICA_API FeliCaLocation : public Location
19{
20 public:
25
29 virtual ~FeliCaLocation();
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 "FeliCa";
56 }
57
63 bool operator==(const Location &location) const override;
64
68 unsigned short code;
69
73 unsigned short block;
74};
75}
76
77#endif /* LOGICALACCESS_FELICALOCATION_H */
A FeliCa location informations.
Definition: felicalocation.hpp:19
std::string getCardType() override
Get the card type for this location.
Definition: felicalocation.hpp:53
unsigned short code
The service code or area code.
Definition: felicalocation.hpp:68
unsigned short block
The block.
Definition: felicalocation.hpp:73
A location informations.
Definition: location.hpp:19
Location.
Definition: asn1.hpp:9