#include <BitsetStream.hpp>
|
| BitsetStream () |
|
| BitsetStream (unsigned char data, unsigned int byteSize) |
|
| BitsetStream (unsigned long long bitsSize) |
|
| ~BitsetStream () |
|
void | append (unsigned char data) |
|
void | append (unsigned char data, unsigned int readPosStart) |
|
void | append (unsigned char data, unsigned int readPosStart, unsigned int readLength) |
|
void | concat (const BitsetStream &data) |
|
void | concat (const ByteVector &data) |
|
void | concat (const ByteVector &data, unsigned int readPosStart) |
|
void | concat (const ByteVector &data, unsigned int readPosStart, unsigned int readLength) |
|
void | writeAt (unsigned int pos, unsigned char data, unsigned int readPosStart=0, unsigned int readLength=8) |
|
void | writeAt (unsigned int pos, ByteVector const &data, unsigned int readPosStart, unsigned int readLength) |
|
void | insert (unsigned int pos, unsigned char data, unsigned int readPosStart=0, unsigned int readLength=8) |
|
void | insert (unsigned int pos, ByteVector const &data, unsigned int readPosStart, unsigned int readLength) |
|
ByteVector | getData () const |
|
unsigned int | getByteSize () const |
|
unsigned int | getBitSize () const |
|
std::string | toString (size_t begin, size_t end) const |
|
std::string | toString () const |
|
unsigned long | toULong () const |
|
unsigned long long | toULLong () const |
|
bool | test (size_t index) const |
|
bool | none () const |
|
bool | any () const |
|
bool | all () const |
|
void | clear () |
|
◆ BitsetStream() [1/3]
logicalaccess::BitsetStream::BitsetStream |
( |
| ) |
|
◆ BitsetStream() [2/3]
logicalaccess::BitsetStream::BitsetStream |
( |
unsigned char |
data, |
|
|
unsigned int |
byteSize |
|
) |
| |
◆ BitsetStream() [3/3]
logicalaccess::BitsetStream::BitsetStream |
( |
unsigned long long |
bitsSize | ) |
|
◆ ~BitsetStream()
logicalaccess::BitsetStream::~BitsetStream |
( |
| ) |
|
◆ all()
bool logicalaccess::BitsetStream::all |
( |
| ) |
const |
◆ any()
bool logicalaccess::BitsetStream::any |
( |
| ) |
const |
◆ append() [1/3]
void logicalaccess::BitsetStream::append |
( |
unsigned char |
data | ) |
|
◆ append() [2/3]
void logicalaccess::BitsetStream::append |
( |
unsigned char |
data, |
|
|
unsigned int |
readPosStart |
|
) |
| |
◆ append() [3/3]
void logicalaccess::BitsetStream::append |
( |
unsigned char |
data, |
|
|
unsigned int |
readPosStart, |
|
|
unsigned int |
readLength |
|
) |
| |
Append between 0 and 8 bit of data.
- Parameters
-
data | Byte from where bits are read |
readPosStart | Offset (starting from left, high weight bits) |
readLength | Number of bits to read. |
◆ clear()
void logicalaccess::BitsetStream::clear |
( |
| ) |
|
◆ concat() [1/4]
void logicalaccess::BitsetStream::concat |
( |
const BitsetStream & |
data | ) |
|
◆ concat() [2/4]
void logicalaccess::BitsetStream::concat |
( |
const ByteVector & |
data | ) |
|
◆ concat() [3/4]
void logicalaccess::BitsetStream::concat |
( |
const ByteVector & |
data, |
|
|
unsigned int |
readPosStart |
|
) |
| |
◆ concat() [4/4]
void logicalaccess::BitsetStream::concat |
( |
const ByteVector & |
data, |
|
|
unsigned int |
readPosStart, |
|
|
unsigned int |
readLength |
|
) |
| |
◆ getBitSize()
unsigned int logicalaccess::BitsetStream::getBitSize |
( |
| ) |
const |
◆ getByteSize()
unsigned int logicalaccess::BitsetStream::getByteSize |
( |
| ) |
const |
◆ getData()
ByteVector logicalaccess::BitsetStream::getData |
( |
| ) |
const |
◆ insert() [1/2]
void logicalaccess::BitsetStream::insert |
( |
unsigned int |
pos, |
|
|
ByteVector const & |
data, |
|
|
unsigned int |
readPosStart, |
|
|
unsigned int |
readLength |
|
) |
| |
◆ insert() [2/2]
void logicalaccess::BitsetStream::insert |
( |
unsigned int |
pos, |
|
|
unsigned char |
data, |
|
|
unsigned int |
readPosStart = 0 , |
|
|
unsigned int |
readLength = 8 |
|
) |
| |
◆ none()
bool logicalaccess::BitsetStream::none |
( |
| ) |
const |
◆ test()
bool logicalaccess::BitsetStream::test |
( |
size_t |
index | ) |
const |
◆ toString() [1/2]
std::string logicalaccess::BitsetStream::toString |
( |
| ) |
const |
◆ toString() [2/2]
std::string logicalaccess::BitsetStream::toString |
( |
size_t |
begin, |
|
|
size_t |
end |
|
) |
| const |
◆ toULLong()
unsigned long long logicalaccess::BitsetStream::toULLong |
( |
| ) |
const |
◆ toULong()
unsigned long logicalaccess::BitsetStream::toULong |
( |
| ) |
const |
◆ writeAt() [1/2]
void logicalaccess::BitsetStream::writeAt |
( |
unsigned int |
pos, |
|
|
ByteVector const & |
data, |
|
|
unsigned int |
readPosStart, |
|
|
unsigned int |
readLength |
|
) |
| |
◆ writeAt() [2/2]
void logicalaccess::BitsetStream::writeAt |
( |
unsigned int |
pos, |
|
|
unsigned char |
data, |
|
|
unsigned int |
readPosStart = 0 , |
|
|
unsigned int |
readLength = 8 |
|
) |
| |
◆ _pos
unsigned int logicalaccess::BitsetStream::_pos |
|
private |
◆ stream
The documentation for this class was generated from the following files:
- C:/dev/lla/liblogicalaccess/include/logicalaccess/services/accesscontrol/formats/BitsetStream.hpp
- C:/dev/lla/liblogicalaccess/src/services/accesscontrol/formats/BitsetStream.cpp