LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
formatinfos.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_FORMATINFOS_HPP
8#define LOGICALACCESS_FORMATINFOS_HPP
9
11
12namespace logicalaccess
13{
17class LLA_CORE_API FormatInfos
18{
19public:
20
21 FormatInfos() = default;
22
23 std::shared_ptr<Format> getFormat() const
24 {
25 return _format;
26 }
27
28 void setFormat(std::shared_ptr<Format> format)
29 {
30 _format = format;
31 }
32
33 std::shared_ptr<Location> getLocation() const
34 {
35 return _location;
36 }
37
38 void setLocation(std::shared_ptr<Location> location)
39 {
40 _location = location;
41 }
42
43 std::shared_ptr<AccessInfo> getAiToUse() const
44 {
45 return _aiToUse;
46 }
47
48 void setAiToUse(std::shared_ptr<AccessInfo> aitouse)
49 {
50 _aiToUse = aitouse;
51 }
52
53 std::shared_ptr<AccessInfo> getAiToWrite() const
54 {
55 return _aiToWrite;
56 }
57
58 void setAiToWrite(std::shared_ptr<AccessInfo> aittowrite)
59 {
60 _aiToWrite = aittowrite;
61 }
62
63private:
64 std::shared_ptr<Format> _format;
65 std::shared_ptr<Location> _location;
66 std::shared_ptr<AccessInfo> _aiToUse;
67 std::shared_ptr<AccessInfo> _aiToWrite;
68};
69}
70
71#endif /* LOGICALACCESS_FORMATINFOS_HPP */
Chip descriptor.
Format information for a card type.
Definition: formatinfos.hpp:18
std::shared_ptr< Location > getLocation() const
Definition: formatinfos.hpp:33
void setAiToUse(std::shared_ptr< AccessInfo > aitouse)
Definition: formatinfos.hpp:48
std::shared_ptr< Location > _location
Location information.
Definition: formatinfos.hpp:65
std::shared_ptr< AccessInfo > getAiToWrite() const
Definition: formatinfos.hpp:53
std::shared_ptr< Format > _format
Format information.
Definition: formatinfos.hpp:64
std::shared_ptr< AccessInfo > _aiToWrite
Access information to write.
Definition: formatinfos.hpp:67
void setLocation(std::shared_ptr< Location > location)
Definition: formatinfos.hpp:38
void setAiToWrite(std::shared_ptr< AccessInfo > aittowrite)
Definition: formatinfos.hpp:58
std::shared_ptr< AccessInfo > getAiToUse() const
Definition: formatinfos.hpp:43
std::shared_ptr< AccessInfo > _aiToUse
Access information to use.
Definition: formatinfos.hpp:66
std::shared_ptr< Format > getFormat() const
Definition: formatinfos.hpp:23
void setFormat(std::shared_ptr< Format > format)
Definition: formatinfos.hpp:28
Definition: asn1.hpp:9