LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
linearizable.hpp
Go to the documentation of this file.
1
7#ifndef LINEARIZABLE_HPP
8#define LINEARIZABLE_HPP
9
11
12namespace logicalaccess
13{
17class LLA_CORE_API Linearizable
18{
19 public:
23 virtual ~Linearizable();
24
29 virtual ByteVector getLinearData() const = 0;
30
36 virtual void setLinearData(const ByteVector &data, size_t offset) = 0;
37};
38}
39
40#endif /* LINEARIZABLE_HPP */
Buffer Helper class.
A linearizable base class. Add binary serialization to a class.
Definition: linearizable.hpp:18
virtual void setLinearData(const ByteVector &data, size_t offset)=0
Import location informations from a buffer.
virtual ByteVector getLinearData() const =0
Export location informations to a buffer.
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
Definition: asn1.hpp:9