Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PERIPHERALS::PeripheralTypeTranslator Class Reference

#include <PeripheralTypes.h>

Static Public Member Functions

static const char * TypeToString (const PeripheralType type)
 
static PeripheralType GetTypeFromString (const std::string &strType)
 
static const char * BusTypeToString (const PeripheralBusType type)
 
static PeripheralBusType GetBusTypeFromString (const std::string &strType)
 
static const char * FeatureToString (const PeripheralFeature type)
 
static PeripheralFeature GetFeatureTypeFromString (const std::string &strType)
 
static int HexStringToInt (const char *strHex)
 
static void FormatHexString (int iVal, std::string &strHexString)
 

Member Function Documentation

◆ BusTypeToString()

static const char * PERIPHERALS::PeripheralTypeTranslator::BusTypeToString ( const PeripheralBusType type)
inlinestatic

◆ FeatureToString()

static const char * PERIPHERALS::PeripheralTypeTranslator::FeatureToString ( const PeripheralFeature type)
inlinestatic

◆ FormatHexString()

static void PERIPHERALS::PeripheralTypeTranslator::FormatHexString ( int iVal,
std::string & strHexString )
inlinestatic

◆ GetBusTypeFromString()

static PeripheralBusType PERIPHERALS::PeripheralTypeTranslator::GetBusTypeFromString ( const std::string & strType)
inlinestatic

◆ GetFeatureTypeFromString()

static PeripheralFeature PERIPHERALS::PeripheralTypeTranslator::GetFeatureTypeFromString ( const std::string & strType)
inlinestatic

◆ GetTypeFromString()

static PeripheralType PERIPHERALS::PeripheralTypeTranslator::GetTypeFromString ( const std::string & strType)
inlinestatic

◆ HexStringToInt()

static int PERIPHERALS::PeripheralTypeTranslator::HexStringToInt ( const char * strHex)
inlinestatic

◆ TypeToString()

static const char * PERIPHERALS::PeripheralTypeTranslator::TypeToString ( const PeripheralType type)
inlinestatic

The documentation for this class was generated from the following file: