MythTV  master
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Service Class Reference

#include <libmythservicecontracts/service.h>

Inheritance diagram for Service:
[legend]
Collaboration diagram for Service:
[legend]

Public Member Functions

 Service (QObject *parent=nullptr)
 
virtual QVariant ConvertToVariant (int nType, void *pValue)
 
virtual void * ConvertToParameterPtr (int nTypeId, const QString &sParamType, void *pParam, const QString &sValue)
 
bool HAS_PARAM (const QString &p) const
 

Static Public Member Functions

static bool ToBool (const QString &sVal)
 

Public Attributes

QList< QString > m_parsedParams
 

Detailed Description

Definition at line 42 of file service.h.

Constructor & Destructor Documentation

◆ Service()

Service::Service ( QObject *  parent = nullptr)
inlineexplicit

Definition at line 75 of file service.h.

Member Function Documentation

◆ ConvertToVariant()

QVariant Service::ConvertToVariant ( int  nType,
void *  pValue 
)
virtual

Definition at line 22 of file service.cpp.

Referenced by MethodInfo::Invoke().

◆ ConvertToParameterPtr()

void * Service::ConvertToParameterPtr ( int  nTypeId,
const QString &  sParamType,
void *  pParam,
const QString &  sValue 
)
virtual

Definition at line 49 of file service.cpp.

Referenced by MethodInfo::Invoke().

◆ ToBool()

bool Service::ToBool ( const QString &  sVal)
static

Definition at line 165 of file service.cpp.

Referenced by ConvertToParameterPtr().

◆ HAS_PARAM()

bool Service::HAS_PARAM ( const QString &  p) const
inline

Definition at line 67 of file service.h.

Member Data Documentation

◆ m_parsedParams

QList<QString> Service::m_parsedParams

Definition at line 68 of file service.h.

Referenced by MethodInfo::Invoke().


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