32 #pragma db object polymorphic optimistic 48 virtual const std::string &
card_id()
const override;
50 virtual int nb_bits()
const override;
52 virtual uint64_t
to_int()
const override;
58 void card_id(
const std::string &
string)
override;
81 static void validate(
const IRFIDCard &card);
82 static void validate_card_id(
const std::string &
card_id);
83 static void validate_nb_bits(
int nb_bits);
virtual uint64_t to_int() const override
Returns the integer representation of the card ID.
An ODB enabled credential object.
This is the header file for a generated source file, GitSHA1.cpp.
virtual int nb_bits() const override
Interface for RFIDCard credential.
virtual uint64_t to_raw_int() const override
Convert the bits of the card to an integer.
MAKE_VISITABLE_FALLBACK(IRFIDCard)
virtual const std::string & card_id() const override
uint64_t to_wiegand_26() const
Extract the card ID, assuming the format to be Wiegand26.
uint64_t to_wiegand_34() const
Extract the card ID, assuming the format to be Wiegand34.