libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
D868UVFileReader::ZoneElement Class Reference

Represents a zone within the manufacturer CPS file. More...

#include <d868uv_filereader.hh>

Inheritance diagram for D868UVFileReader::ZoneElement:
Collaboration diagram for D868UVFileReader::ZoneElement:

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.

Detailed Description

Represents a zone within the manufacturer CPS file.

Member Function Documentation

◆ size()

size_t D868UVFileReader::ZoneElement::size ( ) const
virtual

Returns the storage size of the element.

Implements AnytoneFileReader::Element.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/d868uv_filereader.hh
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/d868uv_filereader.cc