LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
logicalaccess::MifareAccessInfo::BlockAccessBits Struct Reference

Block access bits structure. More...

#include <mifareaccessinfo.hpp>

Inheritance diagram for logicalaccess::MifareAccessInfo::BlockAccessBits:
logicalaccess::MifareAccessInfo::DataBlockAccessBits logicalaccess::MifareAccessInfo::SectorTrailerAccessBits

Public Member Functions

 BlockAccessBits (bool v1, bool v2, bool v3)
 Constructor.
 
bool operator== (const BlockAccessBits &bab) const
 Check if two BlockAccessBits are equal.
 

Public Attributes

bool c1
 The C1 access bit.
 
bool c2
 The C2 access bit.
 
bool c3
 The C3 access bit.
 

Detailed Description

Block access bits structure.

Constructor & Destructor Documentation

◆ BlockAccessBits()

logicalaccess::MifareAccessInfo::BlockAccessBits::BlockAccessBits ( bool  v1,
bool  v2,
bool  v3 
)
inline

Constructor.

Parameters
v1The first bit value.
v2The second bit value.
v3The third bit value.

Set access bits to (v1, v2, v3).

Member Function Documentation

◆ operator==()

bool logicalaccess::MifareAccessInfo::BlockAccessBits::operator== ( const BlockAccessBits bab) const
inline

Check if two BlockAccessBits are equal.

Parameters
babA BlockAccessBits to compare with.
Returns
true if the two BlockAccessBits are equal, false otherwise.

Member Data Documentation

◆ c1

bool logicalaccess::MifareAccessInfo::BlockAccessBits::c1

The C1 access bit.

◆ c2

bool logicalaccess::MifareAccessInfo::BlockAccessBits::c2

The C2 access bit.

◆ c3

bool logicalaccess::MifareAccessInfo::BlockAccessBits::c3

The C3 access bit.


The documentation for this struct was generated from the following file: