|
BmnRoot
|
The Microslice class provides read access to the data of a microslice. More...
#include <Microslice.h>
Public Member Functions | |
| virtual | ~Microslice ()=0 |
| const MicrosliceDescriptor & | desc () const |
| Retrieve microslice descriptor reference. | |
| const uint8_t * | content () const |
| Retrieve a pointer to the microslice data. | |
| uint32_t | compute_crc () const |
| Compute CRC-32 checksum of microslice data content. | |
| bool | check_crc () const |
| Compare computed CRC-32 checksum to value in header. | |
| virtual | ~Microslice ()=0 |
| const MicrosliceDescriptor & | desc () const |
| Retrieve microslice descriptor reference. | |
| const uint8_t * | content () const |
| Retrieve a pointer to the microslice data. | |
| uint32_t | compute_crc () const |
| Compute CRC-32 checksum of microslice data content. | |
| bool | check_crc () const |
| Compare computed CRC-32 checksum to value in header. | |
Protected Member Functions | |
| Microslice ()=default | |
| Microslice (MicrosliceDescriptor *desc_ptr, uint8_t *content_ptr) | |
| Construct microslice with given content. | |
| Microslice ()=default | |
| Microslice (MicrosliceDescriptor *desc_ptr, uint8_t *content_ptr) | |
| Construct microslice with given content. | |
Protected Attributes | |
| MicrosliceDescriptor * | desc_ptr_ |
| Pointer to the microslice descriptor. | |
| uint8_t * | content_ptr_ |
| Pointer to the microslice data content. | |
Friends | |
| class | StorableMicroslice |
The Microslice class provides read access to the data of a microslice.
This class is an abstract base class for all classes providing access to the descriptor and data contents of a single microslice.
Definition at line 23 of file Microslice.h.
|
pure virtual |
|
protecteddefault |
|
inlineprotected |
Construct microslice with given content.
Definition at line 44 of file Microslice.h.
|
pure virtual |
|
protecteddefault |
|
inlineprotected |
Construct microslice with given content.
Definition at line 44 of file Microslice.h.
| bool fles::Microslice::check_crc | ( | ) | const |
Compare computed CRC-32 checksum to value in header.
| bool fles::Microslice::check_crc | ( | ) | const |
Compare computed CRC-32 checksum to value in header.
| uint32_t fles::Microslice::compute_crc | ( | ) | const |
Compute CRC-32 checksum of microslice data content.
| uint32_t fles::Microslice::compute_crc | ( | ) | const |
Compute CRC-32 checksum of microslice data content.
|
inline |
Retrieve a pointer to the microslice data.
Definition at line 32 of file Microslice.h.
References content_ptr_.
|
inline |
Retrieve a pointer to the microslice data.
Definition at line 32 of file Microslice.h.
References content_ptr_.
|
inline |
Retrieve microslice descriptor reference.
Definition at line 29 of file Microslice.h.
References desc_ptr_.
|
inline |
Retrieve microslice descriptor reference.
Definition at line 29 of file Microslice.h.
References desc_ptr_.
|
friend |
Definition at line 48 of file Microslice.h.
|
protected |
Pointer to the microslice data content.
Definition at line 54 of file Microslice.h.
Referenced by fles::StorableMicroslice::content(), and content().
|
protected |
Pointer to the microslice descriptor.
Definition at line 51 of file Microslice.h.
Referenced by fles::StorableMicroslice::desc(), and desc().