#include <PVRChannelNumber.h>
|
static const char | SEPARATOR = '.' |
| The character used to separate channel and subchannel number. More...
|
|
§ CPVRChannelNumber() [1/2]
PVR::CPVRChannelNumber::CPVRChannelNumber |
( |
| ) |
|
|
default |
§ CPVRChannelNumber() [2/2]
constexpr PVR::CPVRChannelNumber::CPVRChannelNumber |
( |
unsigned int |
iChannelNumber, |
|
|
unsigned int |
iSubChannelNumber |
|
) |
| |
|
inline |
§ FormattedChannelNumber()
std::string CPVRChannelNumber::FormattedChannelNumber |
( |
| ) |
const |
Get a string representation for the channel number.
- Returns
- The formatted string in the form <channel>SEPARATOR<subchannel>.
§ GetChannelNumber()
constexpr unsigned int PVR::CPVRChannelNumber::GetChannelNumber |
( |
| ) |
const |
|
inline |
Set the primary channel number.
- Returns
- The channel number.
§ GetSubChannelNumber()
constexpr unsigned int PVR::CPVRChannelNumber::GetSubChannelNumber |
( |
| ) |
const |
|
inline |
Set the sub channel number.
- Returns
- The sub channel number (ATSC).
§ IsValid()
constexpr bool PVR::CPVRChannelNumber::IsValid |
( |
void |
| ) |
const |
|
inline |
Check whether this channel number is valid (main channel number > 0).
- Returns
- True if valid, false otherwise..
§ operator!=()
constexpr bool PVR::CPVRChannelNumber::operator!= |
( |
const CPVRChannelNumber & |
right | ) |
const |
|
inline |
§ operator<()
constexpr bool PVR::CPVRChannelNumber::operator< |
( |
const CPVRChannelNumber & |
right | ) |
const |
|
inline |
§ operator==()
constexpr bool PVR::CPVRChannelNumber::operator== |
( |
const CPVRChannelNumber & |
right | ) |
const |
|
inline |
§ SEPARATOR
const char CPVRChannelNumber::SEPARATOR = '.' |
|
static |
The character used to separate channel and subchannel number.
The documentation for this class was generated from the following files: