LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
nfcdata.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_NFCDATA_HPP
8#define LOGICALACCESS_NFCDATA_HPP
9
12
13namespace logicalaccess
14{
15 class LLA_CORE_API NfcData : public XmlSerializable
16 {
17 public:
18 NfcData();
19 NfcData(char type);
20 ~NfcData();
21 static ByteVector dataToTLV(std::shared_ptr<NfcData> data);
22 static std::vector<std::shared_ptr<NfcData> > tlvToData(ByteVector tlv);
23 void serialize(boost::property_tree::ptree &parentNode) override;
24 void unSerialize(boost::property_tree::ptree &node) override;
25 std::string getDefaultXmlNodeName() const override;
26 char getType() const;
27 void setType(char type);
28 protected:
29 char m_type;
30 };
31}
32
33#endif
Buffer Helper class.
Definition: nfcdata.hpp:16
char m_type
Definition: nfcdata.hpp:29
A Xml Serializable base class. Add Xml serialization to a class.
Definition: xmlserializable.hpp:54
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
Definition: asn1.hpp:9