25#ifndef QMDNSENGINE_BITMAP_H
26#define QMDNSENGINE_BITMAP_H
28#include "qmdnsengine_export.h"
33class QMDNSENGINE_EXPORT BitmapPrivate;
83 const quint8 *
data()
const;
95 BitmapPrivate *
const d;
void setData(quint8 length, const quint8 *data)
Set the data to be stored in the bitmap.
virtual ~Bitmap()
Destroy the bitmap.
quint8 length() const
Retrieve the length of the block in bytes.
Bitmap(const Bitmap &other)
Create a copy of an existing bitmap.
const quint8 * data() const
Retrieve a pointer to the underlying data in the bitmap.
bool operator==(const Bitmap &other)
Equality operator.
Bitmap & operator=(const Bitmap &other)
Assignment operator.
Bitmap()
Create an empty bitmap.