7#ifndef LOGICALACCESS_WIEGAND35FORMAT_HPP
8#define LOGICALACCESS_WIEGAND35FORMAT_HPP
37 unsigned int getDataLength()
const override;
43 std::string getName()
const override;
48 unsigned short int getCompanyCode()
const;
54 void setCompanyCode(
unsigned short int companyCode);
62 static unsigned char getLeftParity1(
const BitsetStream &data);
70 static unsigned char getLeftParity2(
const BitsetStream &data);
78 static unsigned char getRightParity(
const BitsetStream &data);
92 void setLinearData(
const ByteVector &data)
override;
100 size_t getFormatLinearData(
ByteVector &data)
const override;
107 void setFormatLinearData(
const ByteVector &data,
size_t *indexByte)
override;
119 void serialize(boost::property_tree::ptree &parentNode)
override;
125 void unSerialize(boost::property_tree::ptree &node)
override;
131 std::string getDefaultXmlNodeName()
const override;
138 bool checkSkeleton(std::shared_ptr<Format> format)
const override;
144 bool needUserConfigurationToBeUse()
const override;
Definition: BitsetStream.hpp:15
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
FormatType
Format type.
Definition: format.hpp:27