LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
twiclocation.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_TWICLOCATION_HPP
8#define LOGICALACCESS_TWICLOCATION_HPP
9
11#include <logicalaccess/plugins/cards/twic/lla_cards_twic_api.hpp>
12
13namespace logicalaccess
14{
18class LLA_CARDS_TWIC_API TwicLocation : public Location
19{
20 public:
25
29 virtual ~TwicLocation();
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 "Twic";
56 }
57
63 bool operator==(const Location &location) const override;
64
68 uint64_t dataObject;
69
73 unsigned char tag;
74};
75}
76
77#endif /* LOGICALACCESS_TWICLOCATION_HPP */
A location informations.
Definition: location.hpp:19
A Twic location informations.
Definition: twiclocation.hpp:19
uint64_t dataObject
The data object.
Definition: twiclocation.hpp:68
unsigned char tag
The tag. 0x00 means the full data object.
Definition: twiclocation.hpp:73
std::string getCardType() override
Get the card type for this location.
Definition: twiclocation.hpp:53
Location.
Definition: asn1.hpp:9