Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

#include <General.h>

Inheritance diagram for kodi::addon::PVRSettingKeyValuePair:
kodi::addon::DynamicCStructHdl< PVRSettingKeyValuePair, PVR_SETTING_KEY_VALUE_PAIR >

Public Member Functions

 PVRSettingKeyValuePair ()=default
 Default class constructor.
 
 PVRSettingKeyValuePair (unsigned int key, int value)
 Class constructor with integrated value set.
 
 PVRSettingKeyValuePair (unsigned int key, const std::string &value)
 Class constructor with integrated value set.
 
 PVRSettingKeyValuePair (unsigned int key, PVR_SETTING_TYPE eType, int intValue, const std::string &stringValue)
 Class constructor with integrated value set.
 
void SetKey (unsigned int key)
 To set with the key.
 
unsigned GetKey () const
 To get with the key.
 
void SetType (PVR_SETTING_TYPE eType)
 required
This key value pair's type.
 
PVR_SETTING_TYPE GetType () const
 To get with SetType changed values.
 
void SetIntValue (int value)
 To set with the value.
 
int GetIntValue () const
 To get with the value.
 
void SetStringValue (const std::string &value)
 To set with the value.
 
std::string GetStringValue () const
 To get with the value.
 
- Public Member Functions inherited from kodi::addon::DynamicCStructHdl< PVRSettingKeyValuePair, PVR_SETTING_KEY_VALUE_PAIR >
 DynamicCStructHdl ()
 
 DynamicCStructHdl (const DynamicCStructHdl &cppClass)
 
 DynamicCStructHdl (const PVR_SETTING_KEY_VALUE_PAIR *cStructure)
 
 DynamicCStructHdl (PVR_SETTING_KEY_VALUE_PAIR *cStructure)
 
const DynamicCStructHdloperator= (const DynamicCStructHdl &right)
 
const DynamicCStructHdloperator= (const PVR_SETTING_KEY_VALUE_PAIR &right)
 
virtual ~DynamicCStructHdl ()
 
 operator PVR_SETTING_KEY_VALUE_PAIR * ()
 
 operator const PVR_SETTING_KEY_VALUE_PAIR * () const
 
const PVR_SETTING_KEY_VALUE_PAIRGetCStructure () const
 
PVR_SETTING_KEY_VALUE_PAIRrelease ()
 

Static Public Member Functions

static PVR_SETTING_KEY_VALUE_PAIRAllocAndCopyData (const std::vector< PVRSettingKeyValuePair > &values)
 
static PVR_SETTING_KEY_VALUE_PAIRAllocAndCopyData (const PVR_SETTING_KEY_VALUE_PAIR *source, unsigned int size)
 
static void AllocResources (const PVR_SETTING_KEY_VALUE_PAIR *source, PVR_SETTING_KEY_VALUE_PAIR *target)
 
static void FreeResources (PVR_SETTING_KEY_VALUE_PAIR *target)
 
static void FreeResources (PVR_SETTING_KEY_VALUE_PAIR *pairs, unsigned int size)
 
static void ReallocAndCopyData (PVR_SETTING_KEY_VALUE_PAIR **source, unsigned int *size, const std::vector< PVRSettingKeyValuePair > &values)
 

Friends

class CInstancePVRClient
 

Additional Inherited Members

- Protected Attributes inherited from kodi::addon::DynamicCStructHdl< PVRSettingKeyValuePair, PVR_SETTING_KEY_VALUE_PAIR >
PVR_SETTING_KEY_VALUE_PAIRm_cStructure
 

Member Function Documentation

◆ AllocAndCopyData() [1/2]

static PVR_SETTING_KEY_VALUE_PAIR * kodi::addon::PVRSettingKeyValuePair::AllocAndCopyData ( const PVR_SETTING_KEY_VALUE_PAIR * source,
unsigned int size )
inlinestatic

◆ AllocAndCopyData() [2/2]

static PVR_SETTING_KEY_VALUE_PAIR * kodi::addon::PVRSettingKeyValuePair::AllocAndCopyData ( const std::vector< PVRSettingKeyValuePair > & values)
inlinestatic

◆ AllocResources()

static void kodi::addon::PVRSettingKeyValuePair::AllocResources ( const PVR_SETTING_KEY_VALUE_PAIR * source,
PVR_SETTING_KEY_VALUE_PAIR * target )
inlinestatic

◆ FreeResources() [1/2]

static void kodi::addon::PVRSettingKeyValuePair::FreeResources ( PVR_SETTING_KEY_VALUE_PAIR * pairs,
unsigned int size )
inlinestatic

◆ FreeResources() [2/2]

static void kodi::addon::PVRSettingKeyValuePair::FreeResources ( PVR_SETTING_KEY_VALUE_PAIR * target)
inlinestatic

◆ ReallocAndCopyData()

static void kodi::addon::PVRSettingKeyValuePair::ReallocAndCopyData ( PVR_SETTING_KEY_VALUE_PAIR ** source,
unsigned int * size,
const std::vector< PVRSettingKeyValuePair > & values )
inlinestatic

Friends And Related Symbol Documentation

◆ CInstancePVRClient

friend class CInstancePVRClient
friend

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