7#ifndef LOGICALACCESS_BINARYDATAFIELD_HPP
8#define LOGICALACCESS_BINARYDATAFIELD_HPP
50 const unsigned char *
getData()
const override
52 if (d_buf.size() != 0)
63 if (d_buf.size() != 0)
72 void serialize(boost::property_tree::ptree &parentNode)
override;
78 void unSerialize(boost::property_tree::ptree &node)
override;
84 std::string getDefaultXmlNodeName()
const override;
134 void setPaddingChar(
unsigned char padding);
140 unsigned char getPaddingChar()
const;
156 void setLinearData(
const ByteVector &data)
override;
163 bool checkSkeleton(std::shared_ptr<DataField> field)
const override;
169 void serialize(boost::property_tree::ptree &parentNode)
override;
175 void unSerialize(boost::property_tree::ptree &node)
override;
181 std::string getDefaultXmlNodeName()
const override;
A binary data field.
Definition: binarydatafield.hpp:97
DataFieldType getDFType() const override
Get the field type.
Definition: binarydatafield.hpp:113
BinaryFieldValue d_value
Definition: binarydatafield.hpp:184
unsigned char d_padding
Definition: binarydatafield.hpp:186
Definition: binarydatafield.hpp:16
unsigned char * getData() override
Get the key data.
Definition: binarydatafield.hpp:61
size_t getLength() const override
Get the field length.
Definition: binarydatafield.hpp:41
ByteVector d_buf
The key bytes;.
Definition: binarydatafield.hpp:90
const unsigned char * getData() const override
Get the key data.
Definition: binarydatafield.hpp:50
virtual ~BinaryFieldValue()=default
Definition: BitsetStream.hpp:15
A Key base class. The key object is used to describe key chip information used for authentication on ...
Definition: key.hpp:22
A value data field base class.
Definition: valuedatafield.hpp:20
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
DataFieldType
Definition: datafield.hpp:22
@ DFT_BINARY
Definition: datafield.hpp:26