libdrmconf
0.10.4
A library to program DMR radios.
|
Represents a zone within the manufacturer CPS file. More...
#include <d868uv_filereader.hh>
Public Member Functions | |
ZoneElement (const uint8_t *ptr) | |
Constructor. | |
uint8_t | index () const |
Returns the index of the zone. | |
uint16_t | channelA () const |
Returns the number of channels in A. | |
uint16_t | channelB () const |
Returns the number of channels in B. | |
uint8_t | numChannels () const |
Returns the total number of channels in zone. | |
uint16_t | channel (uint8_t index) const |
Returns the channel index for the i-th entry. | |
QString | name () const |
Returns the name of the zone. | |
size_t | size () const |
Returns the storage size of the element. | |
Public Member Functions inherited from AnytoneFileReader::Element | |
virtual | ~Element () |
Destructor. | |
Protected Attributes | |
uint8_t | _numChannels |
Holds the number of channels. | |
size_t | _nameLength |
Holds the name length. | |
Protected Attributes inherited from AnytoneFileReader::Element | |
const uint8_t * | _data |
Pointer to the actual element. | |
Additional Inherited Members | |
Protected Member Functions inherited from AnytoneFileReader::Element | |
Element (const uint8_t *ptr) | |
Hidden constructor. | |
Represents a zone within the manufacturer CPS file.